Aruba Central Next Gen icon

Aruba Central Next Gen

Consume Aruba Central Next Gen API

Actions408

Roles & Policy → Get Policy

AI-generated

Overview

This node operation retrieves a specific policy from the Roles & Policy resource within the Aruba Central Next Gen API. It is useful for scenarios where users need to fetch detailed information about a particular policy by its name, including optional parameters to customize the view type, object type, scope, persona, and detail level. For example, network administrators can use this node to get configuration policies for monitoring or security domains to audit or apply them programmatically.

Use Case Examples

  1. Fetch a policy named 'my-policy' from the configuration domain to review its settings.
  2. Retrieve a shared policy with detailed information for security auditing.

Properties

Name Meaning
Debug Mode Whether to enable detailed debug logs for troubleshooting.
Domain API domain to interact with, such as monitoring, configuration, security, etc.
Name The name of the policy to retrieve.
Additional Fields Optional parameters to customize the policy retrieval, including view type (Library or Local), object type (Local, Shared, Both), scope ID, persona, detailed flag, and effective flag.

Output

JSON

  • policy - The retrieved policy object with its details.

Dependencies

  • Aruba Central Next Gen API with OAuth2 authentication

Troubleshooting

  • Ensure the policy name is correct and exists in the specified domain; otherwise, the node may return an error or empty result.
  • If debug mode is enabled, detailed logs can help identify issues with API requests or responses.
  • Check that the OAuth2 credentials are valid and have sufficient permissions to access the Roles & Policy resource.

Links

Discussion