SentinelOne icon

SentinelOne

SentinelOne Management Console API specification.

Actions281

Policy → Create Policy

AI-generated

Overview

This node operation allows users to create or update a policy in the SentinelOne Management Console via the API. It is useful for managing security policies programmatically, including settings that may not be available in the WebUI, such as toggling Auto Immunity. Users can base the new policy on an existing one retrieved via the Get Policy operation to ensure consistency and accuracy.

Use Case Examples

  1. Create a new security policy with custom settings for endpoint protection.
  2. Update an existing policy to disable Auto Immunity across all agents for specific security requirements.

Properties

Name Meaning
Options Collection of optional settings to customize the API request, including custom JSON body, headers, query filters, batching, debug mode, pagination, and timeout.

Output

JSON

  • json
    • debug - Debug information including the actual URL, query parameters, headers, and body sent for the API request, if debug mode is enabled.

Dependencies

  • An API key credential for SentinelOne Management Console API authentication.

Troubleshooting

  • Ensure the API key credential is correctly configured and has sufficient permissions to create or update policies.
  • Check the JSON structure of the custom body for correctness to avoid request errors.
  • If the API returns rate limit errors, adjust batching settings to reduce request frequency.
  • Enable debug mode to get detailed request and response information for troubleshooting.

Links

Discussion