Passa al contenuto principale

HostingModSecurityRule

ModSecurity rule of the hosting, found by a scan or added by hand, and whether it is disabled

rule_idintegerrequired
hosting_idintegerrequired

Id of the hosting (GET /api/v3/hostings/{hosting_id})

rule_numberstringrequired

Number of the rule in ModSecurity

descriptionstring | nullnullablerequired

Message of the rule found by the scan, or the description given when it was added

includedbooleanrequired

Whether the rule is disabled on the hosting: it is in the list of rules that ModSecurity does not apply

HostingModSecurityRule
{
"rule_id": 0,
"hosting_id": 0,
"rule_number": "string",
"description": "string",
"included": true
}