Update Data Scan Config
PUT/dlp/api/config/v2/resource
deprecated
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 [
- ]
enableScanning booleanrequired
Scan status. true = enable scans. false = disable scans
resources object[]required
List of storage resources
accountId stringrequired
Account number
assetId string
Unified Asset Id
configurationStatus object
Resource Configuration Status
code int32
Configuration Status Code
isKMSEncrypted boolean
KMS Encryption Enabled
message string[]
Status message
resourceName stringrequired
Resource name
serviceName stringrequired
Service name
scanOption int32
Possible values: [0
, 2
]
Scan option. Required if enableScanning is true. 0 = Exposure only, 2 = All
scanType int32
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
detail string
Exception details
message string
API response
name string
Exception name
{
"detail": "string",
"message": "string",
"name": "string"
}
bad_request
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
detail string
Exception details
message string
API response
name string
Exception name
{
"detail": "string",
"message": "string",
"name": "string"
}
Loading...