AWS imagebuilder: Added AWS Marketplace component filtering by product code
Summary
Documented how to filter AWS Marketplace components using product codes and clarified ARN format/access behavior.
Security assessment
Clarifies access control for AWS Marketplace components but doesn't address vulnerabilities or introduce security features.
Evidence
+Image Builder returns AWS Marketplace component ARNs under the `aws-marketplace` namespace, with an owner of `AWSMarketplace`. When you call **get-component** for an AWS Marketplace component, the response includes the owner but omits the component data. The component data is available only when the calling build instance is entitled to the product.
Diff
diff --git a/imagebuilder/latest/userguide/component-details.md b/imagebuilder/latest/userguide/component-details.md index c6b7c023a..495e3efcd 100644 --- a//imagebuilder/latest/userguide/component-details.md +++ b//imagebuilder/latest/userguide/component-details.md @@ -115,0 +116,9 @@ The following examples show the **list-components** command with the `--owner` p +When you list components with the `--owner AWSMarketplace` value, you can filter the results by product code. Specify the `productCodes` filter with a value in the format `marketplace:`productCodeId``, as shown in the following example: + + + aws imagebuilder list-components --owner AWSMarketplace --filters name=productCodes,values=marketplace:examplecode123 + +###### Note + +Image Builder returns AWS Marketplace component ARNs under the `aws-marketplace` namespace, with an owner of `AWSMarketplace`. When you call **get-component** for an AWS Marketplace component, the response includes the owner but omits the component data. The component data is available only when the calling build instance is entitled to the product. +