Lets you update the status and severity of a secret detection rule.
Parameter | Mandatory/Optional | Data Type | Description |
---|---|---|---|
ruleId | Mandatory | string | Specify the UUID of the secret rule that you want to update. |
secretRuleStatus | Mandatory | string | Specify the new status. The valid values are "active"and "inactive". |
severity |
Mandatory | string | Specify the new severity. The valid values are: low, medium, high, and critical. |
API Request
curl -X "PUT"
"<qualys_base_url>/csapi/v1.3/secretrule/ff34aaee-e4c2-11ed-b5ea- 0242ac120002"
-H "accept: application/json"
-H "Content-Type: application/json"
-d "{"secretRuleStatus": "Active", "severity": "critical"}"
Response
{
"updated secret rule: ": "ff34aaee-e4c2-11ed-b5ea-0242ac120002"
}