- 21 May 2023
- 2 Minutes to read
- Print
- DarkLight
- PDF
AWS - Remove Tags from Resource
- Updated on 21 May 2023
- 2 Minutes to read
- Print
- DarkLight
- PDF
This Enforcement Action was previously named Remove Tag from Amazon EC2 Instance.
AWS - Remove Tags from Resource removes tags from these AWS resources:
- Assets that match the results of the selected saved query, and match the Enforcement Action Conditions, if defined or assets selected on the relevant asset page.
- Not all asset categories are supported for all Enforcement Actions.
- See Actions supported for Activity Logs, Adapters Fetch History, and Asset Investigation modules.
- See Actions supported for Vulnerabilities.
- See Actions supported for Software.
General Settings
- Action name - The name of this Enforcement Action. The system sets a default name. You can change the name.
- Configure Dynamic Values - Toggle on to enter a Dynamic Value statement. See Creating Enforcement Action Dynamic Value Statements to learn more about Dynamic Value statement syntax.
Required Fields
These fields must be configured to run the Enforcement Set.
- Tag keys (required) - A semicolon (;) separated list of tag keys to be removed. A tag key must not begin with "aws:".
- Target AWS assets (optional) - Select the device types from which the tags will be removed. Select all that apply.
Compute Node - The Axonius node to use when connecting to the specified host. For more details, see Connecting Additional Axonius Nodes.
Additional Fields
These fields are optional.
- Use attached IAM role (required)
- If enabled, Axonius will use the attached IAM role / instance profile.
- If disabled, Axonius will use the supplied account details in the AWS Access Key ID and AWS Access Key Secret.
- AWS Access Key ID and AWS Access Key Secret (optional) - The credentials for an account that has the Required Permissions to remove tags.
- If supplied, Axonius will use the supplied account details.
- If not supplied, Axonius will use attached IAM role / instance profile.
- Proxy (optional) - An optional https proxy.
Required Permissions
The values supplied in AWS Access Key ID and AWS Access Key Secret or the attached IAM role account must have permissions to remove tags from resources.
The required permissions are:
- tag:GetResources
- tag:TagResources
- tag:UntagResources
- tag:getTagKeys
- tag:getTagValues
Those permissions must be added to a policy attached to relevant IAM user account.
For details on creating an IAM user and attaching policies, see Connecting the Amazon Web Services (AWS) Adapter.
For more details about other Enforcement Actions available, see Action Library.