Compliance
Compliance
Standards
- OWASP Top 10: Mitigations documented per item
- CWE: Avoided common weaknesses (injection, auth, crypto)
- NIST: Aligns with information security framework
Deployment Security
When deploying COGANT in CI/CD:
- Run as non-root: Limit privilege
- Limit file access: Restrict to project directories
- Network isolation: No external network by default
- Secret handling: Use CI/CD secret manager, not env vars
- Audit logging: Enable for compliance
- Least privilege: Only grant needed permissions
Example: GitHub Actions
jobs:
cogant-analysis:
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- uses: actions/checkout@v7
- name: Run COGANT
run: |
cogant translate ./src \
--config cogant.yaml \
--output output/
# COGANT emits JSON bundles by default; upload-sarif expects SARIF. Add a conversion step
# or use a different security integration before uploading.
# - name: Upload SARIF
# uses: github/codeql-action/upload-sarif@v4
# with:
# sarif_file: results.sarif