AvantGuard - SentinelOne icon

AvantGuard - SentinelOne

AvantGuard - SentinelOne

Actions682

Overview

This node updates the policy settings for a specific mobile integration site by sending a PUT request to the web API endpoint associated with the site ID. It is useful for administrators who need to programmatically modify security or operational policies of mobile integration sites, such as adjusting threat response groups or engine configurations. For example, it can be used to update alert response groups or apply filters to control which accounts or groups the policy affects.

Properties

Name Meaning
Site Id The unique identifier of the mobile integration site whose policy is to be updated.
Data The JSON object containing the policy data to update, including fields like threatResponseGroupId, engines, and alertResponseGroupId.
Additional Body Fields Optional additional JSON fields to include in the request body, such as filters specifying groupIds, accountIds, and siteIds to scope the policy update.

Output

JSON

  • response - The JSON response from the API after updating the site policy, typically containing confirmation or the updated policy details.

Dependencies

  • Requires an API key credential for authentication to the mobile integration web API.
  • Depends on the '@avantguardllc/n8n-openapi-node' package for OpenAPI integration.

Troubleshooting

  • Ensure the 'Site Id' is correct and corresponds to an existing site; otherwise, the API may return a 'not found' error.
  • Verify that the 'Data' JSON is well-formed and includes all required fields; malformed JSON will cause request failures.
  • Check that the API credentials are valid and have sufficient permissions to update site policies.
  • If additional body fields are used, confirm their JSON structure matches the expected schema to avoid validation errors.

Discussion