Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dcoles/gitlab-cargo-audit

Use cargo-audit to generate a GitLab Dependency report
https://github.com/dcoles/gitlab-cargo-audit

gitlab gitlab-ci rust security

Last synced: 9 days ago
JSON representation

Use cargo-audit to generate a GitLab Dependency report

Awesome Lists containing this project

README

        

# GitLab cargo-audit

![GitLab Security Report Schema: 15.0.7](https://img.shields.io/badge/Security%20Report%20Schema-15.0.7-blue?logo=gitlab)

Generate GitLab [Dependency Scanning report](https://docs.gitlab.com/ee/user/application_security/dependency_scanning/) using [`cargo-audit`](https://github.com/rustsec/rustsec).

## Usage

Add the following to your `.gitlab-ci.yml`:

```yaml
audit:
stage: test
script:
- gitlab-cargo-audit --output-path gl-dependency-scanning-report.json
artifacts:
when: always
reports:
dependency_scanning: gl-dependency-scanning-report.json
```

## License

Dual licensed under the [MIT](LICENSE-MIT) and [Apache 2.0](LICENSE-APACHE) licenses.