Releases: cloudcwfranck/acc
Release list
v0.3.2 — Remote Attestation Support
Release 0.3.2
See CHANGELOG.md for details.
Installation
Download the appropriate binary for your platform and verify the checksum:
Linux (AMD64):
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.3.2/acc_0.3.2_linux_amd64.tar.gz"
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.3.2/checksums.txt"
sha256sum -c checksums.txt --ignore-missing
tar -xzf acc_0.3.2_linux_amd64.tar.gz
sudo mv acc-linux-amd64 /usr/local/bin/acc
chmod +x /usr/local/bin/acc
acc versionmacOS (Apple Silicon):
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.3.2/acc_0.3.2_darwin_arm64.tar.gz"
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.3.2/checksums.txt"
shasum -a 256 -c checksums.txt --ignore-missing
tar -xzf acc_0.3.2_darwin_arm64.tar.gz
sudo mv acc-darwin-arm64 /usr/local/bin/acc
chmod +x /usr/local/bin/acc
acc versionSee README.md for complete installation instructions.
v0.3.1 — Trust Enforcement for Run and Push
Release 0.3.1
See CHANGELOG.md for details.
Installation
Download the appropriate binary for your platform and verify the checksum:
Linux (AMD64):
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.3.1/acc_0.3.1_linux_amd64.tar.gz"
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.3.1/checksums.txt"
sha256sum -c checksums.txt --ignore-missing
tar -xzf acc_0.3.1_linux_amd64.tar.gz
sudo mv acc-linux-amd64 /usr/local/bin/acc
chmod +x /usr/local/bin/acc
acc versionmacOS (Apple Silicon):
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.3.1/acc_0.3.1_darwin_arm64.tar.gz"
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.3.1/checksums.txt"
shasum -a 256 -c checksums.txt --ignore-missing
tar -xzf acc_0.3.1_darwin_arm64.tar.gz
sudo mv acc-darwin-arm64 /usr/local/bin/acc
chmod +x /usr/local/bin/acc
acc versionSee README.md for complete installation instructions.
v0.3.0 - Attestation Verification
Release 0.3.0
See CHANGELOG.md for details.
Installation
Download the appropriate binary for your platform and verify the checksum:
Linux (AMD64):
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.3.0/acc_0.3.0_linux_amd64.tar.gz"
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.3.0/checksums.txt"
sha256sum -c checksums.txt --ignore-missing
tar -xzf acc_0.3.0_linux_amd64.tar.gz
sudo mv acc-linux-amd64 /usr/local/bin/acc
chmod +x /usr/local/bin/acc
acc versionmacOS (Apple Silicon):
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.3.0/acc_0.3.0_darwin_arm64.tar.gz"
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.3.0/checksums.txt"
shasum -a 256 -c checksums.txt --ignore-missing
tar -xzf acc_0.3.0_darwin_arm64.tar.gz
sudo mv acc-darwin-arm64 /usr/local/bin/acc
chmod +x /usr/local/bin/acc
acc versionSee README.md for complete installation instructions.
v0.2.7 — Trust & Attestation Hardening
Release 0.2.7
See CHANGELOG.md for details.
Installation
Download the appropriate binary for your platform and verify the checksum:
Linux (AMD64):
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.2.7/acc_0.2.7_linux_amd64.tar.gz"
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.2.7/checksums.txt"
sha256sum -c checksums.txt --ignore-missing
tar -xzf acc_0.2.7_linux_amd64.tar.gz
sudo mv acc-linux-amd64 /usr/local/bin/acc
chmod +x /usr/local/bin/acc
acc versionmacOS (Apple Silicon):
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.2.7/acc_0.2.7_darwin_arm64.tar.gz"
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.2.7/checksums.txt"
shasum -a 256 -c checksums.txt --ignore-missing
tar -xzf acc_0.2.7_darwin_arm64.tar.gz
sudo mv acc-darwin-arm64 /usr/local/bin/acc
chmod +x /usr/local/bin/acc
acc versionSee README.md for complete installation instructions.
v0.2.6 - Website Release
Added - Website & Documentation
Official Website Launch (Vercel + GitHub Releases Backend)
Summary: Launched official acc website with auto-updating release information, deployed on Vercel with GitHub Releases as the backend.
What's New:
- ✅ Official website - Next.js 14 website deployed on Vercel at
site/ - ✅ Auto-updating releases - ISR (Incremental Static Regeneration) + deploy hooks for real-time updates
- ✅ GitHub Releases backend - No separate server, uses GitHub API as data source
- ✅ Download page - Platform detection, checksums, grouped downloads by OS/arch
- ✅ Documentation pages - Quick start guide, how-to documentation
- ✅ Release history - Recent releases with changelogs
- ✅ Security headers - CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy
- ✅ Deploy automation - GitHub Actions workflow triggers Vercel deployment on release
Website Architecture:
- Frontend: Next.js 14 (App Router, TypeScript, React Server Components)
- Backend: GitHub Releases API + repository content (unauthenticated)
- Hosting: Vercel
- Auto-updates: ISR with 5-minute revalidation + deploy hooks on release publish
- Pages: Homepage, Download, Docs, Releases
- Security: Strict CSP, security headers, no inline scripts, HTTPS-only
Auto-Update Mechanism:
-
ISR (Incremental Static Regeneration):
- Release data fetched from GitHub API with
revalidate: 300(5 minutes) - Vercel automatically regenerates pages when data changes
- Fallback if deploy hook not configured
- Release data fetched from GitHub API with
-
Deploy Hook on Release:
- GitHub Actions workflow
.github/workflows/site-deploy.ymlruns on release publish - Triggers Vercel deployment via webhook
- Site rebuilds immediately with new release
- GitHub Actions workflow
Files Added:
site/package.json- Next.js dependencies and scriptssite/tsconfig.json- TypeScript configurationsite/next.config.js- Security headers and build configurationsite/lib/github.ts- GitHub API helpers with ISRsite/app/layout.tsx- Root layout with metadatasite/app/page.tsx- Homepage (hero, features, how it works)site/app/download/page.tsx- Download page with platform detectionsite/app/docs/page.tsx- Quick start documentationsite/app/releases/page.tsx- Release history listingsite/components/Navigation.tsx- Sticky header navigationsite/components/Footer.tsx- Footer with linkssite/components/*.module.css- Component-scoped stylessite/app/globals.css- Global styles with dark/light modesite/public/demo/- Demo asset placeholder.github/workflows/site-deploy.yml- Vercel deploy hook triggersite/README.md- Website setup and deployment documentationdocs/website.md- Website architecture documentation
Release Focus:
v0.2.6 is a website and documentation release that:
- ✅ Launches official acc website on Vercel
- ✅ Provides auto-updating download and release pages
- ✅ Documents website architecture and deployment process
- ✅ Demonstrates production-grade Next.js + Vercel deployment
No Product Changes: This release contains NO changes to acc product behavior, CLI semantics, JSON schemas, or exit codes. All changes are website infrastructure and documentation.
No Test Changes: This release contains NO changes to test scripts or CI workflows for the CLI tool. All test infrastructure remains unchanged from v0.2.5.
Installation
Download the appropriate binary for your platform and verify the checksum:
Linux (AMD64):
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.2.6/acc_0.2.6_linux_amd64.tar.gz"
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.2.6/checksums.txt"
sha256sum -c checksums.txt --ignore-missing
tar -xzf acc_0.2.6_linux_amd64.tar.gz
sudo mv acc-linux-amd64 /usr/local/bin/acc
chmod +x /usr/local/bin/acc
acc versionmacOS (Apple Silicon):
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.2.6/acc_0.2.6_darwin_arm64.tar.gz"
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.2.6/checksums.txt"
shasum -a 256 -c checksums.txt --ignore-missing
tar -xzf acc_0.2.6_darwin_arm64.tar.gz
sudo mv acc-darwin-arm64 /usr/local/bin/acc
chmod +x /usr/local/bin/acc
acc versionSee README.md for complete installation instructions.
v0.2.5 - Documentation Accuracy & Post-Release Verification
Fixed - Documentation Accuracy
Post-Release Verification & Documentation Refresh
Summary: Corrected stale documentation references and verified all test tiers pass reliably after v0.2.3/v0.2.4 regression fixes.
What Changed:
- Updated CONTRIBUTING.md to remove outdated "known regressions" warnings
- Removed stale references to Tier 1 test failures (regressions fixed in v0.2.3)
- Clarified that all test tiers (0, 1, Go unit tests) now pass reliably
- Updated pre-push checklist to reflect current expected behavior
Documentation Corrections:
- CONTRIBUTING.md line 124: Removed "Tier 1 tests currently FAIL" warning (outdated)
- CONTRIBUTING.md line 189: Removed "Expected to FAIL" comment (outdated)
- CONTRIBUTING.md line 198: Updated to state "MUST all pass" instead of "currently FAILS"
Verification Performed:
- ✅ All Go unit tests pass
- ✅ Tier 0 (CLI Help Matrix) passes
- ✅ Tier 1 (E2E Smoke Tests) passes (verified in CI)
- ✅ Documentation now matches implementation reality
Files Changed:
CONTRIBUTING.md- Removed stale regression warnings, updated test expectations
Release Focus:
v0.2.5 is a post-release documentation accuracy release that:
- ✅ Confirms all regressions from v0.2.2 are fixed
- ✅ Updates contributor documentation to match reality
- ✅ Verifies test infrastructure stability
- ✅ Ensures clear guidance for new contributors
No Product Changes: This release contains NO changes to acc product behavior, CLI semantics, JSON schemas, or exit codes. All changes are documentation accuracy improvements.
No Test Changes: This release contains NO changes to test scripts or CI workflows. All test infrastructure remains unchanged from v0.2.4.
Installation
Download the appropriate binary for your platform and verify the checksum:
Linux (AMD64):
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.2.5/acc_0.2.5_linux_amd64.tar.gz"
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.2.5/checksums.txt"
sha256sum -c checksums.txt --ignore-missing
tar -xzf acc_0.2.5_linux_amd64.tar.gz
sudo mv acc-linux-amd64 /usr/local/bin/acc
chmod +x /usr/local/bin/acc
acc versionmacOS (Apple Silicon):
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.2.5/acc_0.2.5_darwin_arm64.tar.gz"
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.2.5/checksums.txt"
shasum -a 256 -c checksums.txt --ignore-missing
tar -xzf acc_0.2.5_darwin_arm64.tar.gz
sudo mv acc-darwin-arm64 /usr/local/bin/acc
chmod +x /usr/local/bin/acc
acc versionSee README.md for complete installation instructions.
v0.2.4 — Quality, Verification & CI Hardening
Fixed - Test Infrastructure & Documentation Quality
Test Script Quality - ShellCheck Compliance
Summary: Fixed all ShellCheck INFO warnings (SC2086, SC2317) in test scripts without changing acc behavior or test assertions.
What Changed:
- Test scripts now use array-based command invocation to prevent word-splitting issues
- Helper functions use
set +e / set -epattern for safe exit code capture - All variable references properly quoted in command substitutions
- Zero ShellCheck warnings while maintaining identical test behavior
Files Changed:
scripts/cli_help_matrix.sh- Array-based command execution fortest_help_command()andtest_not_implemented()scripts/e2e_smoke.sh- Safe exit code capture inassert_success()andassert_failure()scripts/registry_integration.sh- Quoted variable referencesdocs/testing-contract.md- Documented script implementation patterns and ShellCheck compliance
Technical Details:
SC2086 Fix (Word Splitting):
# Before:
output=$($ACC_BIN $cmd_args 2>&1)
# After:
cmd=( "$ACC_BIN" )
cmd+=( $cmd_args ) # Intentional word splitting with disable comment
output=$("${cmd[@]}" 2>&1)SC2317 Fix (Unreachable Code):
# Before (shellcheck thinks exit_code=$? is unreachable):
output=$("$@" 2>&1)
exit_code=$?
# After (explicit set +e):
set +e
output=$("$@" 2>&1)
exit_code=$?
set -eDocumentation Updates:
- Added "Test Script Implementation Patterns" section to testing-contract.md
- Documented why
|| truepattern was replaced withset +e / set -e - Clarified that
configandlogincommands are help-only stubs - Removed "Known Regressions" section (regressions fixed in v0.2.3)
Impact:
- Improved script maintainability and portability
- Better adherence to bash best practices
- No behavior changes to acc product or CI gates
- Zero impact on existing workflows
Testing: All scripts pass bash -n validation, Tier 0 tests GREEN
Documentation Updates
Summary: Updated README and documentation to reflect v0.2.4 release with accurate version references and CI testing information.
What Changed:
- Updated all version references in README.md from v0.1.0 to v0.2.4
- Added comprehensive "CI Test Tiers" section to README Development guide
- Documented how to run Tier 0, Tier 1, and Tier 2 tests locally
- Added reference to testing-contract.md for behavioral guarantees
Files Changed:
README.md- Version references updated, CI test tier documentation addeddocs/testing-contract.md- Already updated with script implementation patterns
Release Focus:
v0.2.4 is a quality and verification release that demonstrates:
- ✅ All Tier 0 and Tier 1 CI tests pass reliably
- ✅ Zero ShellCheck warnings in test scripts
- ✅ Documentation matches implementation reality
- ✅ Enterprise-grade CI infrastructure with strict release gates
- ✅ Clear testing contract with exit code guarantees
No Product Changes: This release contains NO changes to acc product behavior, CLI semantics, JSON schemas, or exit codes. All changes are test infrastructure, documentation, and quality improvements.
Installation
Download the appropriate binary for your platform and verify the checksum:
Linux (AMD64):
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.2.4/acc_0.2.4_linux_amd64.tar.gz"
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.2.4/checksums.txt"
sha256sum -c checksums.txt --ignore-missing
tar -xzf acc_0.2.4_linux_amd64.tar.gz
sudo mv acc-linux-amd64 /usr/local/bin/acc
chmod +x /usr/local/bin/acc
acc versionmacOS (Apple Silicon):
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.2.4/acc_0.2.4_darwin_arm64.tar.gz"
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.2.4/checksums.txt"
shasum -a 256 -c checksums.txt --ignore-missing
tar -xzf acc_0.2.4_darwin_arm64.tar.gz
sudo mv acc-darwin-arm64 /usr/local/bin/acc
chmod +x /usr/local/bin/acc
acc versionSee README.md for complete installation instructions.
v0.2.3 — acc build CLI Regressions
Fixed - acc build CLI Regressions
This release fixes critical bugs in acc build that broke backward compatibility and SBOM generation guarantees.
Critical Fixes:
-
Positional argument handling - acc build now accepts image reference as positional argument
- Bug:
acc build demo-app:oksilently ignored positional argument, exited 0 without SBOM - Root Cause: CLI command didn't parse
args, only accepted--tagflag - Fix: Accept both
acc build demo-app:ok(positional) andacc build --tag demo-app:ok(flag) - Impact: Restores v0.1.x backward compatibility for automation scripts
- Code:
cmd/acc/main.go:114-163- NewBuildCmd with args support
- Bug:
-
SBOM generation guarantee - Build now verifies SBOM file exists or fails explicitly
- Bug: acc build could exit successfully without creating SBOM file
- Root Cause: No verification that SBOM file actually existed after syft command
- Fix: Added explicit file existence check after generateSBOM
- Impact: Build ALWAYS produces SBOM or fails with clear error
- Code:
internal/build/build.go:81-84- SBOM file verification
-
Help text and examples - Added usage examples to acc build --help
- Bug: Help text lacked examples, unclear that --tag was accepted
- Fix: Added examples showing both positional and flag usage
- Impact: Users can discover correct syntax via --help
- Code:
cmd/acc/main.go:121-126- Example usage in help
Positional Argument Behavior:
# All these work now:
acc build demo-app:ok # positional argument
acc build --tag demo-app:ok # flag syntax
acc build -t demo-app:ok # short flag
# If both provided, --tag takes precedence with warning
acc build demo-app:ok --tag other:latest # Uses other:latestSBOM Guarantee:
- If
acc buildexits 0, SBOM MUST exist in.acc/sbom/ - If SBOM can't be generated (syft missing, syft fails), build exits non-zero
- Build logs show explicit "Generating SBOM..." and success/failure
Regression Tests Added:
TestDetectBuildTool- Verifies build tool detection with clear errorsTestBuild_SBOMVerification- Verifies SBOM exists after successful buildTestGenerateSBOM_Contract- Verifies generateSBOM creates file or errorsTestSBOMPath_Consistency- Verifies SBOM path is predictable
Files Changed:
cmd/acc/main.go- Accept positional args, add examples to helpinternal/build/build.go- Add SBOM file verification, improve logginginternal/build/build_test.go- New file with 4 regression tests
Breaking Changes: None - changes restore v0.1.x compatibility
Installation
Download the appropriate binary for your platform and verify the checksum:
Linux (AMD64):
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.2.3/acc_0.2.3_linux_amd64.tar.gz"
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.2.3/checksums.txt"
sha256sum -c checksums.txt --ignore-missing
tar -xzf acc_0.2.3_linux_amd64.tar.gz
sudo mv acc-linux-amd64 /usr/local/bin/acc
chmod +x /usr/local/bin/acc
acc versionmacOS (Apple Silicon):
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.2.3/acc_0.2.3_darwin_arm64.tar.gz"
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.2.3/checksums.txt"
shasum -a 256 -c checksums.txt --ignore-missing
tar -xzf acc_0.2.3_darwin_arm64.tar.gz
sudo mv acc-darwin-arm64 /usr/local/bin/acc
chmod +x /usr/local/bin/acc
acc versionSee README.md for complete installation instructions.
v0.2.2 — Fix acc SBOM workflow and decision consistency (no policy changes)
Fixed - Final Gate Consistency & SBOM Workflow
This release implements a single authoritative final gate for verify decision consistency.
Critical Fixes:
-
Final gate consistency - Implemented single authoritative decision gate
- Bug:
status:"fail"could occur whilePolicyResult.allow:truedue to early status assignments - Root Cause: Multiple places set
status = "fail", but final gate only set "fail" if still not failed - Fix: Single authoritative
finalAllowvariable that ALWAYS determines final status, overriding all earlier assignments - Impact: Guarantees
statusand exit code derive fromPolicyResult.Allow(the final decision after profile filtering) - Code:
internal/verify/verify.go:255-286- Authoritative final gate
- Bug:
-
SBOM workflow guidance - Improved error messages and documentation
- Bug: SBOM-required error lacked actionable workflow guidance
- Fix: Error message now includes step-by-step workflow:
- Option 1:
docker build→syft→acc verify - Option 2:
acc build(automatic SBOM generation)
- Option 1:
- Impact: Users know exactly how to generate SBOMs
- Code:
internal/verify/verify.go:75-97- Enhanced error message
-
README SBOM Workflows section - Comprehensive workflow documentation
- Added: Dedicated "SBOM Workflows" section with 3 workflows:
- Workflow 1:
acc build(recommended, automatic) - Workflow 2:
docker build+ manual SBOM generation - Workflow 3: CI/CD integration example
- Workflow 1:
- Added: SBOM troubleshooting guide
- Impact: Clear documentation for all use cases
- Added: Dedicated "SBOM Workflows" section with 3 workflows:
Regression Tests Added:
TestVerify_FinalGateConsistency- Verifies status MUST match allow fieldTestVerify_SBOMMissingErrorMessage- Verifies error includes workflow guidance
Design Principle:
// Single authoritative final gate (v0.2.2)
var finalAllow bool
if result.PolicyResult != nil {
finalAllow = result.PolicyResult.Allow
} else {
finalAllow = false
}
// Status ALWAYS derives from final gate
if finalAllow {
result.Status = "pass"
} else {
result.Status = "fail"
}Files Changed:
internal/verify/verify.go- Single authoritative final gate, improved SBOM errorinternal/verify/verify_test.go- Added regression tests, added strings importREADME.md- Added comprehensive SBOM Workflows section
Breaking Changes: None - all changes maintain backward compatibility
Installation
Download the appropriate binary for your platform and verify the checksum:
Linux (AMD64):
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.2.2/acc_0.2.2_linux_amd64.tar.gz"
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.2.2/checksums.txt"
sha256sum -c checksums.txt --ignore-missing
tar -xzf acc_0.2.2_linux_amd64.tar.gz
sudo mv acc-linux-amd64 /usr/local/bin/acc
chmod +x /usr/local/bin/acc
acc versionmacOS (Apple Silicon):
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.2.2/acc_0.2.2_darwin_arm64.tar.gz"
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.2.2/checksums.txt"
shasum -a 256 -c checksums.txt --ignore-missing
tar -xzf acc_0.2.2_darwin_arm64.tar.gz
sudo mv acc-darwin-arm64 /usr/local/bin/acc
chmod +x /usr/local/bin/acc
acc versionSee README.md for complete installation instructions.
v0.2.1 — Regression Fixes for Policy Profiles & Trust Status
Fixed - v0.2.0 Regression Bugs
This release fixes 5 critical bugs found in v0.2.0 testing.
-
verify status inconsistency - Fixed verify returning
status:"fail"whenallow:trueand no violations- Bug: verify checked violation count instead of
PolicyResult.Allowfield after profile filtering - Fix: Use
PolicyResult.Allowas source of truth for status determination - Impact: Profiles now correctly set status to "pass" when all violations are filtered
- Bug: verify checked violation count instead of
-
sbomPresent false after build - Fixed SBOM detection after
acc build- Bug: checkSBOMExists() required exact filename match, failed on name/format mismatches
- Fix: Added fallback to detect ANY .json file in .acc/sbom/ directory
- Impact: More robust SBOM detection across different configurations
-
Profile loading broken - Fixed profile name resolution and error messages
- Bug: .acc/profiles/ directory not created by
acc init, unclear error messages - Fix:
acc initnow creates .acc/profiles/, improved error messages with remediation - Impact: Better user experience when loading profiles by name
- Bug: .acc/profiles/ directory not created by
-
trust status image leakage - Fixed digest resolution to prevent state leakage across images
- Bug: resolveImageDigest() was simplistic, couldn't query container runtimes
- Fix: Properly query Docker/Podman/nerdctl for image digest
- Impact:
acc trust statusnow shows correct per-image state, not global state
-
trust status exit codes wrong - Fixed exit codes when no state found
- Bug: Returned exit 1 (error) instead of exit 2 (no state) when verification state missing
- Fix: Return StatusResult with status:"unknown" and exit code 2
- Impact: Correct exit code behavior: 0=pass, 1=fail, 2=no state
Regression Tests Added:
TestVerify_StatusFromAllow- Verifies status derives from allow fieldTestCheckSBOMExists_Fallback- Verifies SBOM fallback detection
Files Changed:
internal/verify/verify.go- Fixed status logic, improved SBOM detectioninternal/profile/profile.go- Improved error messagesinternal/config/init.go- Create .acc/profiles/ directoryinternal/trust/status.go- Fixed digest resolution and exit codesinternal/verify/verify_test.go- Added regression tests
Installation
Download the appropriate binary for your platform and verify the checksum:
Linux (AMD64):
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.2.1/acc_0.2.1_linux_amd64.tar.gz"
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.2.1/checksums.txt"
sha256sum -c checksums.txt --ignore-missing
tar -xzf acc_0.2.1_linux_amd64.tar.gz
sudo mv acc-linux-amd64 /usr/local/bin/acc
chmod +x /usr/local/bin/acc
acc versionmacOS (Apple Silicon):
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.2.1/acc_0.2.1_darwin_arm64.tar.gz"
curl -LO "https://github.com/cloudcwfranck/acc/releases/download/v0.2.1/checksums.txt"
shasum -a 256 -c checksums.txt --ignore-missing
tar -xzf acc_0.2.1_darwin_arm64.tar.gz
sudo mv acc-darwin-arm64 /usr/local/bin/acc
chmod +x /usr/local/bin/acc
acc versionSee README.md for complete installation instructions.