Ale dirèk nan kontni an

Pran yon randevou 30 minit

Se Calendly ki jere randevou yo, e politik konfidansyalite yo aplike pou sa ou antre. Louvri nan Calendly

Resous teknik

Nòt enjenyri sou operasyon telekom ak cloud

Tès entèfas, pwosedi migrasyon, rekiperasyon ak kontwòl livrezon. Atik yo presize kad ak sous pou ekip ou evalye itilite yo pou vèsyon ki enstale yo.

Gade nòt jeni yo
Ilistrasyon enfrastrikti telekom ak nwaj; nòt yo pale sou chwa konsepsyon, depandans ak validasyon.

Apèsi atefak

Yon baryè PreSync jan nou ta mete l nan depo a

Job PreSync Argo CD sa a refè validasyon an pou revizyon egzak ki pral senkronize a, anba pwofil restricted-v2 OpenShift la, epi li sòti ak yon kòd ki pa zewo lè rapò a manke, li depase oswa yo rejte l. Se youn nan egzanp ki nan referans pre-vòl MCP la, ansanm ak job GitLab la, kliyan Python nan ak Application li pwoteje a.

Li referans pre-vòl MCP la
argo-presync-compliance-gate.yamlYAML
# argo-presync-compliance-gate.yaml
# PreSync hook for the network-tools Application. It re-runs validation for the
# revision Argo CD is about to sync and writes the report to the evidence sink.
# A nonzero exit blocks the sync. Argo CD skips hooks on selective syncs, so
# restrict those separately.
apiVersion: batch/v1
kind: Job
metadata:
  name: network-tools-presync-gate
  namespace: network-tools
  annotations:
    argocd.argoproj.io/hook: PreSync
    argocd.argoproj.io/hook-delete-policy: BeforeHookCreation
    # Example mapping only; agree identifiers and evidence format with the audit owner.
    compliance.example.invalid/control-mapping: "SOC2-CC8.1,NIST-SP800-53-CM-3,3GPP-TS33.117"
spec:
  backoffLimit: 0
  activeDeadlineSeconds: 180
  template:
    metadata:
      annotations:
        openshift.io/required-scc: restricted-v2
    spec:
      restartPolicy: Never
      serviceAccountName: preflight-gate
      # The checker talks to the validation service, not the Kubernetes API.
      automountServiceAccountToken: false
      securityContext:
        runAsNonRoot: true
        seccompProfile:
          type: RuntimeDefault
      containers:
        - name: preflight-gate
          # Same reviewed runner image as the GitLab job, pinned by digest.
          image: registry.example.invalid/secops/preflight-runner@sha256:REPLACE_WITH_REVIEWED_DIGEST
          command: ["python", "/opt/preflight/check.py"]
          workingDir: /work
          securityContext:
            allowPrivilegeEscalation: false
            readOnlyRootFilesystem: true
            capabilities:
              drop: ["ALL"]
          env:
            - name: PREFLIGHT_TARGET
              value: "staging-network-tools"
            - name: PREFLIGHT_POLICY
              value: "preflight-policy-v1"
            # The checker resolves the approved revision and candidate bundle from
            # the release record; nothing the hook receives is trusted on its own.
            - name: RELEASE_RECORD
              value: "REPLACE_WITH_RELEASE_RECORD_ID"
            - name: EVIDENCE_SINK
              value: "s3://REPLACE_WITH_EVIDENCE_BUCKET/preflight"
            - name: MCP_ENDPOINT
              valueFrom:
                secretKeyRef: {name: preflight-gate, key: endpoint}
            - name: MCP_ACCESS_TOKEN
              valueFrom:
                secretKeyRef: {name: preflight-gate, key: token}
          volumeMounts:
            - name: work
              mountPath: /work
          resources:
            requests: {cpu: 100m, memory: 128Mi}
            limits: {cpu: 500m, memory: 256Mi}
      volumes:
        - name: work
          emptyDir: {}

Tout nòt jeni yo

11 atik