Remediation Path Rules
APIs for managing remediation path rules
Get the list of the remediation path rules associated with an attack surface rule. Required License: Cortex Xpanse Expander + Active Response Module Add-On
Header parameters
authorizationstringRequiredExample:
api-key
{{api_key}}x-xdr-auth-idstringRequiredExample:
api-key-id
{{api_key_id}}Body
Other propertiesanyOptional
Responses
200
OK
application/json
Other propertiesanyOptional
400
Bad Request. Got an invalid JSON.
application/json
401
Unauthorized access. An issue occurred during authentication. This can indicate an incorrect key, id, or other invalid authentication parameters.
application/json
402
Unauthorized access. User does not have the required license type to run this API.
application/json
403
Forbidden access. The provided API Key does not have the required RBAC permissions to run this API.
application/json
422
Unprocessable Entity
application/json
500
Internal server error. A unified status for API communication type errors.
application/json
post/public_api/v1/xpanse_remediation_rules/rules/
POST /public_api/v1/xpanse_remediation_rules/rules/ HTTP/1.1
Host: api-{{fqdn}}
authorization: {{api_key}}
x-xdr-auth-id: {{api_key_id}}
Content-Type: application/json
Accept: */*
Content-Length: 324
{
"request_data": {
"filters": [
{
"field": "attack_surface_rule_id",
"operator": "neq",
"value": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"sort": {
"field": "created_at",
"keyword": "desc",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"search_from": 0,
"search_to": 500,
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"ANY_ADDITIONAL_PROPERTY": "anything"
}{
"reply": {
"result_count": 1,
"remediation_rules": [
{
"rule_id": "text",
"description": "text",
"attack_surface_rule_id": "text",
"criteria": [
{
"field": "text",
"value": "text",
"operator": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"criteria_conjunction": "text",
"action": "text",
"created_by": "text",
"created_by_pretty": "text",
"created_at": 1,
"details": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"ANY_ADDITIONAL_PROPERTY": "anything"
}Last updated
Was this helpful?
