Aliyun icon

Aliyun

Manage Aliyun cloud resource

Actions3

Overview

This node interacts with Aliyun cloud services, specifically managing Security Groups. The "ListRules" operation retrieves the list of rules associated with a specified security group. This is useful for users who want to audit, monitor, or automate the management of firewall rules within their Aliyun cloud environment.

Practical examples include:

  • Fetching all inbound and outbound rules of a security group to verify compliance.
  • Integrating security group rule data into monitoring dashboards.
  • Automating security audits by periodically listing and analyzing security group rules.

Properties

Name Meaning
GroupID The unique identifier of the security group whose rules you want to list (required).

Output

The output contains a JSON object with a rules field. This field holds an array of security group rules (permissions) retrieved from Aliyun. Each rule describes specific permissions configured in the security group, such as allowed protocols, ports, source/destination IP ranges, and directions (inbound/outbound).

Example structure of the output JSON:

{
  "rules": [
    {
      "permission": {
        // details of each security group rule
      }
    },
    ...
  ]
}

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for Aliyun with sufficient permissions to access security group information.
  • The node depends on the Aliyun SDK helper module bundled internally (aliyun.helper) to communicate with Aliyun APIs.
  • The user must configure the Aliyun region and provide valid access keys via the node's credentials configuration.

Troubleshooting

  • Common issues:

    • Invalid or missing GroupID: The operation requires a valid security group ID; ensure it is correctly provided.
    • Authentication errors: Verify that the API key credentials are correct and have necessary permissions.
    • Network or API endpoint issues: Confirm network connectivity and Aliyun service availability in the configured region.
  • Error messages:

    • Errors thrown during execution will include context about the item index if multiple inputs are processed.
    • If the node is set to continue on failure, errors will be included in the output JSON under an error field for the corresponding input item.
    • To resolve errors, check the error message details, validate input parameters, and confirm credential validity.

Links and References

Discussion