packaged by Chainguard
Starter and Team plans don't include this image. Enterprise does.
Compare plansChainguard Harness uses frontier models from Anthropic, OpenAI, and Google to attack a copy of your app built on crossplane-function-aws-query-fips. It finds exploitable, validated issues that SAST and DAST tools aren't built to find.
Crossplane composition function that runs read-only queries against AWS APIs and exposes the results to later pipeline steps, built with FIPS-validated cryptography.
Chainguard Containers are regularly-updated, secure-by-default container images.
For those with access, this container image is available on cgr.dev:
Be sure to replace the ORGANIZATION placeholder with the name used for your organization's private repository within the Chainguard Registry.
The Chainguard crossplane-function-aws-query-fips container image is a drop-in replacement for the upstream function-aws-query Crossplane package published at xpkg.upbound.io/upbound/function-aws-query.
The image ships the function binary together with the Crossplane package metadata and the Input CRD in /package.yaml, so you can reference it directly in a Function resource.
Like the upstream image, it uses /function as the entrypoint, runs as the nonroot user with UID 65532, and serves gRPC on port 9443.
The image is built on Chainguard OS instead of the distroless Debian base used upstream, and the function is compiled from source.
In addition, this FIPS variant is built with a Go toolchain that routes the standard library cryptography through the OpenSSL FIPS provider:
You need a Kubernetes cluster with Crossplane installed. If Crossplane is not installed yet, install it with Helm:
Crossplane's package manager pulls the package itself, so it needs credentials for your private repository in the namespace Crossplane runs in. Create a pull token, export its username and password as CGR_USERNAME and CGR_PASSWORD, then run:
Create a Function resource that points at the Chainguard image:
Wait for Crossplane to install the function and report it as healthy:
The function authenticates the same way as the official AWS provider.
The simplest source is a Secret holding an AWS shared-credentials file under the credentials key, the same format provider-upjet-aws uses:
Each composition step sets a queryType, and a target field path where the function writes the query result.
The following Composition writes the caller identity and the availability zones of the region named in the composite resource (XR) spec to its status:
Declare each status target in the XR's CompositeResourceDefinition, because Crossplane rejects status fields that are not in the schema.
Later pipeline steps, such as function-go-templating or function-patch-and-transform, can read the query results from the XR.
Other query types cover regions, AMI lookups, service quotas, AWS Cloud Control and Resource Groups Tagging API resource discovery, and EC2 route table, subnet, and security group describes. IRSA, web identity, and Pod Identity credentials, as well as STS assume-role chains, are also supported. Refer to the upstream examples for each query type.
To point the AWS SDK at a different endpoint, for example a VPC endpoint or an AWS-compatible emulator, set the AWS_ENDPOINT_URL environment variable on the function's package-runtime container with a DeploymentRuntimeConfig.
Chainguard's free tier of Starter container images are built with Wolfi, our minimal Linux undistro.
All other Chainguard Containers are built with Chainguard OS, Chainguard's minimal Linux operating system designed to produce container images that meet the requirements of a more secure software supply chain.
The main features of Chainguard Containers include:
For cases where you need container images with shells and package managers to build or debug, most Chainguard Containers come paired with a development, or -dev, variant.
In all other cases, including Chainguard Containers tagged as :latest or with a specific version number, the container images include only an open-source application and its runtime dependencies. These minimal container images typically do not contain a shell or package manager.
Although the -dev container image variants have similar security features as their more minimal versions, they include additional software that is typically not necessary in production environments. We recommend using multi-stage builds to copy artifacts from the -dev variant into a more minimal production image.
To improve security, Chainguard Containers include only essential dependencies. Need more packages? Chainguard customers can use Custom Assembly to add packages, either through the Console, chainctl, or API.
To use Custom Assembly in the Chainguard Console: navigate to the image you'd like to customize in your Organization's list of images, and click on the Customize image button at the top of the page.
Refer to our Chainguard Containers documentation on Chainguard Academy. Chainguard also offers VMs and Libraries — contact us for access.
This software listing is packaged by Chainguard. The trademarks set forth in this offering are owned by their respective companies, and use of them does not imply any affiliation, sponsorship, or endorsement by such companies.
Chainguard's container images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" tag of this image:
Apache-2.0
NIST-PD
For a complete list of licenses, please refer to this Image's SBOM.
Software license agreementChainguard Containers are SLSA Level 3 compliant with detailed metadata and documentation about how it was built. We generate build provenance and a Software Bill of Materials (SBOM) for each release, with complete visibility into the software supply chain.
SLSA compliance at ChainguardThis image helps reduce time and effort in establishing PCI DSS 4.0 compliance with low-to-no CVEs.
PCI DSS at ChainguardThis is a FIPS validated image for FedRAMP compliance.
This image is STIG hardened and scanned against the DISA General Purpose Operating System SRG with reports available.
Learn more about STIGsGet started with STIGs