This product is not supported for your selected
Datadog site. (
).
이 페이지는 아직 영어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우
언제든지 연락주시기 바랍니다.Id: 7c81d34c-8e5a-402b-9798-9f442630e678
Cloud Provider: k8s
Framework: Kubernetes
Severity: Low
Category: Insecure Configurations
Learn More
Description
Images should be specified with their digests to ensure integrity.
Compliant Code Examples
apiVersion: v1
kind: Pod
metadata:
name: private-image-test-1
spec:
containers:
- name: uses-private-image
image: image@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb
imagePullPolicy: Always
command: [ "echo", "SUCCESS" ]
Non-Compliant Code Examples
apiVersion: v1
kind: Pod
metadata:
name: private-image-test-1
spec:
containers:
- name: uses-private-image
image: $PRIVATE_IMAGE_NAME
imagePullPolicy: Always
command: [ "echo", "SUCCESS" ]