Get details of all SaaSDR policies.
Parameter |
Required/ |
Data Type |
Description |
---|---|---|---|
id |
Required | Integer |
Specify ID of the policy to fetch the details. |
API Request
curl-k -X GET -H <token> -i "<qualys_base_url>/sdr/api/v1/policy/{policyId}"
Response
{
"content":[
{
"id":61,
"connectorType":"SALESFORCE",
"name":"Salesforce Best Practices",
"description":"This policy provides prescriptive guidance for configuring security options for a subset of Salesforce Services with an emphasis on foundational, testable, and architecture agnostic settings.",
"version":"v1.4.0",
"type":"System Defined",
"scope":[
"Identity management"
],
"isSystemCreated":true,
"createdDate":"2021-01-08T07:19:12Z",
"updatedDate":"2021-07-22T12:22:05Z",
"createdBy":"SYSTEM",
"updatedBy":"SYSTEM",
"controlCount":33,
"controls":[
"70133",
"70134",
"70135",
......
"70158",
"70159"
],
"customerId":null,
"connectors":[
{
"customerId":"4eaa64f9-771c-745e-810a-37d3f4c38a49",
"connectorType":"SALESFORCE",
"id":2192,
"name":"sfdc p01",
"description":null,
"state":"SUCCESS",
"config":null,
"status":"Scan Completed",
"emailId":"abc@xyz.com",
"isEnabled":1,
"isPolicyEnabled":1,
"updatedBy":"abc@test.com",
"createdBy":"abc@test.com",
"accountConfig":"{\"saasSubscriptionId\":\"12345\"}",
"firstScannedDate":"2021-09-29T09:32:24Z",
"lastScannedDate":"2021-10-04T10:47:47Z",
"deleted":false
}
]
}
],
"pageable":{
"sort":{
"unsorted":true,
"sorted":false,
"empty":true
},
"pageSize":1,
"pageNumber":0,
"offset":0,
"paged":true,
"unpaged":false
},
"last":false,
"totalPages":10,
"totalElements":10,
"first":true,
"sort":{
"unsorted":true,
"sorted":false,
"empty":true
},
"numberOfElements":1,
"size":1,
"number":0,
"empty":false
}