DirectorySecurity Advisories
Sign In
Directory
karma-fips logoFIPS

karma-fips

Last changed

Sign In for Updates

Get notified of upcoming product changes, critical vulnerability notifications and patches and more.

Sign In
Versions
Overview
Provenance
Specifications
SBOM
Vulnerabilities
Advisories

Chainguard Image for karma-fips

A dashboard for managing alerts from Alertmanager

Chainguard Images are regularly-updated, minimal container images with low-to-zero CVEs.

Download this Image

This image is available on cgr.dev:

docker pull cgr.dev/ORGANIZATION/karma-fips:latest

Be sure to replace the ORGANIZATION placeholder with the name used for your organization's private repository within the Chainguard registry.

Compatibility Notes

karma is comparable to the upstream karma image, with the following differences:

  • Like all other Chainguard Images, karma features a stripped down, minimal design
  • This base image comes with apk and BusyBox and reports as being a Chainguard image.
  • It has few-to-zero CVEs
  • It does not run as the root user

Most importantly, the karma image contains the OpenSSL FIPS Provider Module (CMVP #4282).

About FIPS Images

FIPS (short for Federal Information Processing Standards) are standards developed by the National Institute of Standards and Technology (NIST) in accordance with the Federal Information Security Management Act (FISMA) and approved by the Secretary of Commerce. FIPS compliance ensures that cryptographic security services within applications meet strict security and integrity standards, and are implemented and configured correctly.

Chainguard offers a variety of language-specific FIPS Images configured out of the box for FIPS development in a given language. We also offer a number base FIPS images for specific applications, such as PostgreSQL, Elasticsearch, and nginx.

Be aware that if you run apk add to install a package onto a Chainguard FIPS Image, there's no guarantee that these packages will function properly; they may throw errors if the package has certain dependencies that aren't available in the image. Additionally, even if they do function properly there's no guarantee that added packages will use FIPS-validated cryptography.

Please refer to Chainguard's FIPS Commitment for more information.

Getting Started

Karma is dashboard for managing alerts from AlertManager. Karma requires an alertmanager instance to be available. Both Karma and AlertManager requires config files. The following is an example altertmanager.yaml confguration file:

alermanager.yaml

global:
  resolve_timeout: 30s
route:
group_by: ["alertname"]
group_wait: 5s
group_interval: 10s
repeat_interval: 999h
receiver: "default"
routes:
  - receiver: "default"
    group_by: []
    match_re:
      alertname: .*
    continue: true
  - receiver: "pagination"
    group_by: ["alertname", "instance"]
    match_re:
      alertname: Pagination Test
    continue: false
  - receiver: "by-cluster-service"
    group_by: ["alertname", "cluster", "service"]
    match_re:
      alertname: .*
    continue: true
  - receiver: "by-name"
    group_by: [alertname]
    match_re:
      alertname: .*
    continue: true
  - receiver: "by-cluster"
    group_by: [cluster]
    match_re:
      alertname: .*
    continue: true

inhibit_rules:
  - source_match:
      severity: "critical"
    target_match:
      severity: "warning"
    # Apply inhibition if the alertname and cluster is the same in both
    equal: ["alertname", "cluster"]
receivers:
  - name: "default"
  - name: "pagination"
  - name: "by-cluster-service"
  - name: "by-name"
  - name: "by-cluster"

More information can be found in the Karma configuration documentation.

To test out this image, deploy a prometheus alertmanager image:

docker run -d \
    --rm \
    --network karma \
    --name prom \
    -p 9093:9093 \
    -v /alertmanager.yaml:/etc/alertmanager/alertmanager.yml \
    cgr.dev/<ORGANISATION>/prometheus-alertmanager:latest

Start a karma container by running the command below

docker run -d \
    --rm \
    --network karma \
    --name karma \
    -p 8083:8080 -e ALERTMANAGER_URI=http://prom:9093/ \
    -v /acls.yaml:/etc/acls.yaml -v /karma.yaml:/etc/karma.yaml \
    cgr.dev/<ORGANISATION>/karma:latest

Contact Support

If you have a Zendesk account (typically set up for you by your Customer Success Manager) you can reach out to Chainguard's Customer Success team through our Zendesk portal.

What are Chainguard Images?

Chainguard Images are a collection of container images designed for security and minimalism.

Many Chainguard Images are distroless; they contain only an open-source application and its runtime dependencies. These images do not even contain a shell or package manager. Chainguard Images are built with Wolfi, our Linux undistro designed to produce container images that meet the requirements of a secure software supply chain.

The main features of Chainguard Images include:

-dev Variants

As mentioned previously, Chainguard’s distroless Images have no shell or package manager by default. This is great for security, but sometimes you need these things, especially in builder images. For those cases, most (but not all) Chainguard Images come paired with a -dev variant which does include a shell and package manager.

Although the -dev image variants have similar security features as their distroless versions, such as complete SBOMs and signatures, they feature additional software that is typically not necessary in production environments. The general recommendation is to use the -dev variants only to build the application and then copy all application artifacts into a distroless image, which will result in a final container image that has a minimal attack surface and won’t allow package installations or logins.

That being said, it’s worth noting that -dev variants of Chainguard Images are completely fine to run in production environments. After all, the -dev variants are still more secure than many popular container images based on fully-featured operating systems such as Debian and Ubuntu since they carry less software, follow a more frequent patch cadence, and offer attestations for what they include.

Learn More

To better understand how to work with Chainguard Images, we encourage you to visit Chainguard Academy, our documentation and education platform.

Licenses

Chainguard Images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" version of this image:

  • Apache-2.0

  • GCC-exception-3.1

  • GPL-3.0-or-later

  • LGPL-2.1-or-later

  • MIT

  • MPL-2.0

For a complete list of licenses, please refer to this Image's SBOM.

Software license agreement

Compliance

This 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

Related images

Category
FIPS
STIG
application

Safe Source for Open Sourceâ„¢
Media KitContact Us
© 2024 Chainguard. All Rights Reserved.
Private PolicyTerms of Use

Product

Chainguard Images