{
 "_type": "https://in-toto.io/Statement/v1",
 "subject": [
  {
   "name": "corecp-agent_0.49.98_amd64.deb",
   "digest": {
    "sha512": "0fa37e2a22e6a185d8cc366f2f1297ab4e90aa5d796e1a6258f6632d6df5078633ad89f49474afbea504286c673eda917762faa3a2a89a2545352be2498afdb0",
    "sha256": "3b9aa2bc68827ed453339ec5bef4f485cb644a2466b8c2b816f3a03d2cfd4ffa"
   }
  }
 ],
 "predicateType": "https://slsa.dev/provenance/v1",
 "predicate": {
  "buildDefinition": {
   "buildType": "https://corecp.dev/build/deb/v1",
   "externalParameters": {
    "package": "corecp-agent",
    "version": "0.49.98",
    "architecture": "amd64",
    "buildScript": "corectl/packaging/build-deb.sh",
    "sourceCommit": "d0c1aaf22383b3569ec9bc610cb34f782d453d7b",
    "sourceTag": "v0.49.98",
    "sourceRoute": "remote",
    "sourceRepository": "git@github-corecp:xrated86/corecp.git"
   },
   "internalParameters": {
    "toolchain": {
     "go": "go version go1.26.6 linux/amd64",
     "dpkg-deb": "Debian 'dpkg-deb' package archive backend version 1.23.7 (amd64).",
     "node": "v22.22.1"
    }
   },
   "resolvedDependencies": [
    {
     "name": "corectl/go.mod",
     "digest": {
      "sha256": "3834798984095c14befd46f5cb51895c1e3096b4e26af2fa34b667456a832ea9"
     }
    },
    {
     "name": "corectl/go.sum",
     "digest": {
      "sha256": "c740cef2b1321a7ea24040f29b9929866ad70b599ad835a8ce71ba77742b45b0"
     }
    },
    {
     "name": "supply-chain/inventory.json",
     "digest": {
      "sha256": "51ee62c469bbf516ee2b2ca59114179414c9ec8565033bd8d54fde6ed79937c8"
     }
    }
   ]
  },
  "runDetails": {
   "builder": {
    "id": "https://build.corecp.dev/corecp-build",
    "builderDependencies": []
   },
   "metadata": {
    "invocationId": "corecp-agent-0.49.98-3b9aa2bc68827ed4",
    "startedOn": "2026-09-15T08:37:46Z",
    "finishedOn": "2026-09-15T08:37:46Z"
   }
  }
 },
 "_note": "SLSA Build L1 with a signed statement. This document is produced by the build script itself and signed with the release key, which lives on the same machine that builds and serves the packages (docs/build-infra.md). That is enough to say what went into an artifact and to detect a change to this statement after the fact. It is not L2 or L3: the build is not run by an isolated service, nothing here attests that the source tree was unmodified, and the builder could produce a false statement about its own output. Read it as a manifest of intent that is hard to edit, not as a proof of an untampered build."
}
