Update Data Scan Config
PUT/dlp/api/config/v2/resource
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Updates the data security scan settings configuration for the listed resources.
Request
- application/json; charset=UTF-8
Body
- Array [
- ]
Scan status. true = enable scans. false = disable scans
resources object[]required
List of storage resources
Account number
Unified Asset Id
configurationStatus object
Resource Configuration Status
Configuration Status Code
KMS Encryption Enabled
Status message
Resource name
Service name
storageSize object
Storage size
Total size eligible for both Data Security scan and Wildfire
Total size eligible for Data Security scan
Status of inventory configuration for current bucket. true = inventory configured
Status of size estimation. true = scan complete
Total size for publicly exposed files eligible for DSS scan
Total size
Total size eligible for Wildfire
Possible values: [0
, 2
]
Scan option. Required if enableScanning is true. 0 = Exposure only, 2 = All
Possible values: [1
, 2
]
Scan type. Required if enableScanning is true. 1 = forward and backward, 2 = forward
Responses
- 200
- 400
success
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
Exception details
API response
Exception name
{
"detail": "string",
"message": "string",
"name": "string"
}
bad_request
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
Exception details
API response
Exception name
{
"detail": "string",
"message": "string",
"name": "string"
}