Skip to content

[AgentIT] Scan sbom: source-repo patch for pulse-agent - #4

Closed
alimobrem wants to merge 1 commit into
mainfrom
agentit/pulse-agent-sbom
Closed

[AgentIT] Scan sbom: source-repo patch for pulse-agent#4
alimobrem wants to merge 1 commit into
mainfrom
agentit/pulse-agent-sbom

Conversation

@alimobrem

Copy link
Copy Markdown
Collaborator

AgentIT Scan: sbom for pulse-agent

Targeted findings

  • sbom — no sbom (software bill of materials) found

Expected effect

Clears sbom by adding a CycloneDX SBOM artifact (sbom.cdx.json) in the app repo (delivery: source, evidence: sbom_file). App-repo source patch.

Score lift expected in: security, observability, cicd, infrastructure, compliance, data_governance, ha_dr.

Finding-clear proof (post-merge)

After merge + Argo sync, re-Assess this app. AgentIT correlates target_findings on the delivery row — skills stay unapproved until those keys are gone (correlate_delivery_findingresolved). If they remain, Ledger shows still-present and skills are rejected.

Validation

SSA dry-run (concrete YAML), clear-evidence simulation (contract evidence_kind), property checks for targeted findings, fleet HPA scaleTargetRef gate, and self-managed chart gate (#119) passed for this cluster.

Clear-evidence: sbom: CycloneDX SBOM (1 component(s)) in sbom.cdx.json

Dry-run notes (non-blocking — AgentIT SA Forbidden or optional CRD missing; not treated as invalid manifests):

  • cluster_config: pulse-agent-image-scan-task.yaml: Task/image-scan: Not Found
  • cluster_config: pulse-agent-tekton-pipeline.yaml: Pipeline/pulse-agent-pipeline: Not Found
  • cluster_config: pulse-agent-tekton-pipeline.yaml: Task/pulse-agent-python-build: Not Found
  • cluster_config: pulse-agent-tekton-pipeline.yaml: Task/pulse-agent-python-test: Not Found
  • cluster_config: pulse-agent-tekton-pipeline.yaml: PipelineRun/pulse-agent-pipeline-run-applied: Not Found
  • cluster_config: pulse-agent-resourcequota.yaml: ResourceQuota/pulse-agent-quota: Forbidden
  • cluster_config: pulse-agent-kyverno-require-labels.yaml: Policy (kyverno.io/v1) not found on cluster: No matches found for {'api_version': 'kyverno.io/v1', 'kind': 'Policy'}
  • cluster_config: pulse-agent-pdb.yaml: PodDisruptionBudget/pulse-agent: Not Found
  • cluster pack skipped (validation): Autoscaling

Files

  • sbom.cdx.json — Generated by skill sbom-artifact — CycloneDX SBOM artifact (0 component(s); clears compliance sbom finding) — 1 component(s) from repo inventory

Deploy path

Argo deploys after merge; AgentIT does not auto-merge. Humans merge on GitHub — that is the only deploy path (no Direct Apply).

Generated by AgentIT Scan — skills are not marked approved until merge + evidence the finding cleared.

@alimobrem

Copy link
Copy Markdown
Collaborator Author

Request changes / close — wrong product shape

This PR adds a committed static sbom.cdx.json (1 component). AgentIT gates on tip 4a9a95ff accepted it, but product truth is:

SBOM clears via CI generation, not a static file in the repo.

Correct path (shipping in AgentIT#203):

  • Add GitHub Action anchore/sbom-action (or Syft) to an existing workflow, or
  • Wire a Tekton Pipeline sbom-generate step for app CI

Please close this PR (or leave open with changes requested). After AgentIT#203 merges and tip deploys, re-Scan pulse-agent — the next remediation PR should be a CI workflow (.github/workflows/sbom.yml or equivalent), not another static BOM.

@alimobrem

Copy link
Copy Markdown
Collaborator Author

Closing: wrong product shape (static sbom.cdx.json). AgentIT now remediates via CI SBOM generation (AgentIT#203). Re-Scan after tip deploys for a GHA/Tekton CI PR.

@alimobrem alimobrem closed this Jul 23, 2026
@alimobrem

Copy link
Copy Markdown
Collaborator Author

AgentIT product fix shipped / in flight

  • Tip already has SBOM→CI (#203 on AgentIT): Assess clears when CI generates an SBOM (anchore/sbom-action / Syft / Tekton Pipeline wire) — not a committed static sbom.cdx.json.
  • Follow-up PR fix(scan): close remaining check/remediation intent mismatches alimobrem/AgentIT#204 lands the rest of the intent-audit After (container USER/HEALTHCHECK/UBI harden, replicas vs PDB, health source probes, GHA-aware pipeline, tracing detect-only, etc.).

This PR (#4) was the wrong product shape (static BOM). Next Scan against pulse-agent should open a CI SBOM workflow PR instead. Safe to leave closed; no need to re-merge this static artifact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant