AvantGuard - SentinelOne icon

AvantGuard - SentinelOne

AvantGuard - SentinelOne

Actions682

Overview

This node updates Active Directory scope mappings in the Web API settings of a system. It allows users to specify role-based access control mappings by providing data for roles such as 'admin' and 'viewer', and applying filters based on site and account IDs. This is useful for administrators who need to programmatically manage access scopes for different user roles across multiple sites and accounts.

Properties

Name Meaning
Data JSON object defining role mappings, typically specifying which users or groups belong to roles like 'admin' and 'viewer'. This data is sent in the request body to update the scope mappings.
Filter JSON object specifying filters such as 'siteIds' and 'accountIds' to limit the scope of the update to particular sites and accounts. This filter is included in the request body.

Output

JSON

  • response - The JSON response from the API after updating the Active Directory scope mappings, typically confirming success or providing details of the updated mappings.

Dependencies

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

Troubleshooting

  • Ensure the 'Data' and 'Filter' JSON inputs are correctly formatted; invalid JSON will cause parsing errors.
  • Verify that the API credentials are valid and have sufficient permissions to update Active Directory scope mappings.
  • Check that the siteIds and accountIds specified in the filter exist and are accessible by the authenticated user.
  • Common error messages may include authentication failures, invalid input data, or insufficient permissions. Review API response messages for specific details.

Discussion