Implement enterprise DevSecOps, supply chain, and AI service rules
Open
@emon22-ts is already working on this.
Since Aug 13, 2026.
stale
- Dominant language
- Python
- Stars
- 57
- Forks
- 68
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 17
Description
Objective
Implement DevSecOps, software supply-chain, and Azure AI service security controls across supported repository providers and Azure resources.
Scope
Implement these controls:
- A CI/CD workflow uses long-lived Azure credentials instead of workload identity federation.
- A CI workflow has unnecessarily broad token permissions.
- A third-party workflow action is not pinned to an immutable commit.
- Untrusted pull-request input reaches a privileged workflow context.
- A protected branch permits unreviewed production changes.
- A release artifact lacks an approved signature or provenance attestation.
- Infrastructure deployment can bypass required security scanning.
- An Azure OpenAI or Foundry resource permits unnecessary public access.
- An AI service uses static keys where managed identity is available and required.
- An AI resource lacks required diagnostic logging, encryption, or content-safety controls.
Collection architecture
- GitHub and Azure DevOps repository, workflow, branch-protection, permission, artifact, and security APIs.
- Repository workflow YAML and deployment configuration analysis.
- Azure OpenAI/Foundry resource, identity, network, diagnostic, encryption, and safety configuration APIs.
- Approved provider and repository scope configuration.
Required implementation behavior
- Treat unsupported providers, repositories, and optional features as NOT_APPLICABLE.
- Return UNKNOWN for missing repository permissions, inaccessible workflows, unavailable attestations, or Azure API failures.
- Return FAIL only when unsafe configuration is positively evidenced.
- Never expose secrets, tokens, or credential values.
- Include repository/resource context, workflow or branch, observed/expected state, evidence/timestamp, remediation, permissions, severity, confidence, and UNKNOWN reason.
Delivery order
- Workflow credentials, token permissions, action pinning, and pull-request context.
- Branch protection, artifact provenance, and scan-bypass controls.
- AI network, identity, logging, encryption, and content-safety controls.
Acceptance criteria
- Tests cover secure/insecure YAML, action pinning, pull-request contexts, branch protection, attestations, scan bypass, AI settings, empty repositories, unsupported providers, malformed YAML, and permission failures.
- Secrets never appear in findings or logs.
- Every rule has documentation, remediation, tests, and verified mappings without TBD.
- Scanner, provider integrations, and CI-equivalent checks pass.
- An origin-branch PR references this issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.