Use the Get all rules operation to retrieve all recommendation rules in the tenant.
Note
For the purpose of retrieving recommendation rules, the following fields should be set as follows:
- Credentials to connect with: The
Client IDandClient Secretof any application in your tenant. Retrieve the credentials from any application in your tenant (available in the application settings). These credentials are not scoped to a specific app—they grant access to the entire tenant. Once saved, the credentials are stored as aMosaic accountand can be updated at any time. - Resource:
Detection and Response - Operation:
Get all rules
When the node is executed, it retrieves all recommendation rules associated with the tenant. Each rule is represented as an object within an array, including recommendation rule's metadata (see parameters in Create rule operation).