check_access
Test AWS IAM access permissions to verify if a specified principal can access a target resource, returning allowed status and access relationships.
Instructions
Test if a principal can access a resource.
Args:
principal: IAM role or user name (e.g., "ECforS")
resource: Target resource (e.g., "s3://prod-bucket")
Returns:
Whether access is allowed and via which relationship.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| principal | Yes | ||
| resource | Yes | ||
| snapshot_id | No |