post
/public_api/v1/assets/bulk_update_vulnerability_tests/
Enable or disable vulnerability tests.
To view vulnerability test results, use the Get All Services or Get Service Details endpoints.
CURL
curl -X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" -H "authorization: {{api_key}}" -H "x-xdr-auth-id: {{api_key_id}}" \
"https://api-}/public_api/v1/assets/bulk_update_vulnerability_tests/" \
-d '{
"request_data" : {
"test_names" : [ "test_names", "test_names" ],
"status" : "enabled"
}
}'
Request headers
authorization
required
String
api-key
Example:
{{api_key}}
x-xdr-auth-id
required
String
api-key-id
Example:
{{api_key_id}}
Request
Body
required
request_data
required
Object
test_names
optional
Array
of strings
Names of tests, for example ["test1", "test2", "test3"]
status
optional
String
(Enum)
Allowed values:
enabled
disabled
Responses