Skip Navigation

Get detection rule natural language representation

Retrieve the "natural language" representation of a rule. This process converts the detection rule logic into a series of 'AND's, 'OR's, and 'NOT's to describe what the detection rule looks for. The underlying logic extracts from the JWT specified as the bearer value in the authorization request header the tenant's unique identifier to associated the detection rule resource with.
Service endpoint
/rules/v2/{rule_id}/natlang
Optional query string parameters
Example
https://protectapi.cylance.com/rules/v2/c407f28a-3805-4014-b32c-0c2553ac1e10/natlang
Method
HTTP/1.1 GET
Request headers
  • Accept: application/json
  • Authorization: Bearer
    JWT Token returned by Auth API
    with the opticsrule:read scope encoded

Request

None

Response

Please see the Response status codes for more information.