Search recast rules

Searches for rules that match the requested criteria.

Requires the Administrator [64] user role or one of the following custom role privileges: VM.VM_RECAST.VM_RECAST.READ for Vulnerability Management or WAS.RECAST_RULE.READ for Web App Scanning. See Roles.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
resource_type
array of strings

The type of findings targeted by the recast rules to search for. Supported values are HOST, HOST_AUDIT, and WEBAPP.

resource_type
Allowed:
filter

Filter rules based on the targeted vulnerabilities. Use the and array to combine multiple conditions that all must be true. Use the or array to combine multiple conditions where at least one must be true.

integer
1 to 500
Defaults to 100

The number of records to retrieve. If this parameter is omitted, Tenable uses the default value of 100. The minimum value is 1, and the maximum value is 500.

sort
array of objects

The property you want to use to sort the results by along with the sort order.

sort
string

Specifies the token used to retrieve the next page of results for cursor-based pagination. For the initial request, omit this parameter or set it to null to return the first page. For subsequent requests, set this parameter to the exact string value returned in the next response property of the previous page. If the next response property evaluates to null, no additional pages are available.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

400

Returned if your request specified invalid parameters or if your request was improperly formatted.

403

Returned if you do not have permission to search recast rules.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/html