Skip to content

ci(security): add cargo-deny policy, cargo-audit job, PR template, an… - #54

Open
Meet-hybrid wants to merge 8 commits into
Kqirox:mainfrom
Meet-hybrid:feat/ci-security-audit
Open

ci(security): add cargo-deny policy, cargo-audit job, PR template, an…#54
Meet-hybrid wants to merge 8 commits into
Kqirox:mainfrom
Meet-hybrid:feat/ci-security-audit

Conversation

@Meet-hybrid

Copy link
Copy Markdown

Summary of Changes

  1. CI Audit Workflow (audit.yml):
    • Added automated workflow executing cargo audit (scanning Cargo.lock against the RustSec database) and
    cargo deny check (enforcing license and ban policies).
    • Configured triggers for push to main / develop , pull requests, and a weekly cron schedule ( 0 0 * * 0 ).
  2. Policy Configuration (deny.toml & deny.toml):
    • Configured [advisories] (denies vulnerabilities), [licenses] (allowlist: MIT, Apache-2.0, Unicode-3.0,
    BSD-2-Clause, BSD-3-Clause, ISC, CC0-1.0, Zlib, WTFPL), [bans] , and [sources] (restricts crates to official
    crates.io index).
  3. PR Template (PULL_REQUEST_TEMPLATE.md):
    • Updated checklist to require cargo audit and cargo deny check validation, and added supply-chain risk
    review acknowledgement.
  4. Security Documentation (audit.md & SECURITY.md):
    • Documented dependency audit tooling, CI schedule, local execution commands, and advisory waiver procedures.
    • Added workspace root SECURITY.md referencing vulnerability reporting guidelines.

Closes #13

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.

[13] Add cargo-deny and a security audit job to CI

1 participant