AppD Base Image Not Allowed (SL012)

Flags use of AppD base images in skaffold.yaml and recommends JRE base images.

Description

Parses skaffold.yaml and inspects the sandbox base image reference. If the image name contains 'appd' (case-insensitive), an ERROR is reported.

Rationale

AppD base images are deprecated. Services should migrate to supported JRE base images.

Findings

  • ERROR

    • Base image contains 'appd'

    • Could not find sandbox base image in skaffold.yaml

Noncompliant

AppD base image in skaffold.yaml
# skaffold.yaml using deprecated AppD base image
apiVersion: skaffold/v3
kind: Config
build:
  artifacts:
    - image: nexus/mapsandbox/base/appd-java21:1.2.0  # contains 'appd' -> not allowed

Compliant

Compliant JRE base image in skaffold.yaml
# skaffold.yaml using compliant JRE base image
apiVersion: skaffold/v3
kind: Config
build:
  artifacts:
    - image: nexus/mapsandbox/base/java21-jre:1.3.0

Configuration

This rule has no configuration.