Cookie の設定を選択する

当社は、当社のサイトおよびサービスを提供するために必要な必須 Cookie および類似のツールを使用しています。当社は、パフォーマンス Cookie を使用して匿名の統計情報を収集することで、お客様が当社のサイトをどのように利用しているかを把握し、改善に役立てています。必須 Cookie は無効化できませんが、[カスタマイズ] または [拒否] をクリックしてパフォーマンス Cookie を拒否することはできます。

お客様が同意した場合、AWS および承認された第三者は、Cookie を使用して便利なサイト機能を提供したり、お客様の選択を記憶したり、関連する広告を含む関連コンテンツを表示したりします。すべての必須ではない Cookie を受け入れるか拒否するには、[受け入れる] または [拒否] をクリックしてください。より詳細な選択を行うには、[カスタマイズ] をクリックしてください。

Adding tags

フォーカスモード
Adding tags - Amazon Inspector
このページはお客様の言語に翻訳されていません。 翻訳のリクエスト

You can add tags to Amazon Inspector resources. These resources include suppression rules and CIS scan configurations. Tags help you categorize AWS resources based on specific criteria. This topic describes how to add tags to Amazon Inspector resources.

Adding tags to Amazon Inspector resources

You can tag suppression rules and CIS scan configurations. The following procedures describe how to add tags in the console and with the Amazon Inspector API.

Adding tags in the console

You can add tags to Amazon Inspector resources in the console.

Adding tags to suppression rules

You can add tags to suppression rules during creation. For more information, see Creating a suppression rule.

You can also edit a suppression rule to include tags. For more information, see Editing a suppression rule.

Adding tags to a CIS scan configuration

You can add tags to a CIS scan configuration during creation. For more information, see Creating a CIS scan configuration.

You can also edit a CIS scan configuration to include tags. For more information, see Editing a CIS scan configuration.

Adding tags with the Amazon Inspector API

You can add tags to Amazon Inspector resources with the Amazon Inspector API.

Adding tags to Amazon Inspector resources

Use the TagResource API to add tags to Amazon Inspector resources. You must include the ARN of the resource and the key-value pair for the tag in the command. The following example command uses an empty resource ARN for a suppression filter. The key is CostAllocation and value is dev. For information about resource types for Amazon Inspector, see Actions, resources, and condition keys for Amazon Inspector2 in the Service Authorization Reference.

aws inspector2 tag-resource \ --resource-arn "arn:${Partition}:inspector2:${Region}:${Account}:owner/${OwnerId}/filter/${FilterId}" \ --tags CostAllocation=dev \ --region us-west-2
Adding tags to suppression rules during creation

Use the CreateFilter API to add tags to a suppression rule during creation.

aws inspector2 create-filter \ --name "ExampleSuppressionRuleECR" \ --action SUPPRESS \ --filter-criteria 'resourceType=[{comparison="EQUALS", value="AWS_ECR_IMAGE"}]' \ --tags Owner=ApplicationSecurity \ --region us-west-2
Adding tags to a CIS scan configuration

Use the CreateCisScanConfiguration API to add a tag to a CIS scan configuration.

aws inspector2 create-cis-scan-configuration \ --scan-name "CreateConfigWithTagsSample" \ --security-level LEVEL_2 \ --targets accountIds=SELF,targetResourceTags={InspectorCisScan=True} \ --schedule 'daily={startTime={timeOfDay=11:10,timezone=UTC}}' \ --tags Owner=SecurityEngineering \ --region us-west-2

このページの内容

プライバシーサイト規約Cookie の設定
© 2025, Amazon Web Services, Inc. or its affiliates.All rights reserved.