Commit ba2ede20 authored by SBassett's avatar SBassett
Browse files

Add various tools, directory stucture and update README

* Add directory structure and stub files for auditjs (node)
* Add directory structure and stub files for npm-audit (node)
* Add directory structure and stub files for npm-outdated (node)
* Add directory structure and stub files for njsscan (node)
* Add directory structure and stub files for semgrep (multi)
* Add directory structure and stub files for git-secrets (multi)
parent a727ebdc
Gitlab CI Security Templates
# Tools
## nodeJS/npm
### npm-audit
### npm-outdated
### auditjs
### njsscan
### semgrep (with nodeJS rule-sets)
## general
### git-secrets
# References
https://docs.gitlab.com/ee/ci/yaml/includes.html
npm_audit_dependency_check:
image: docker-registry.wikimedia.org/nodejs12-devel:0.0.1-20210905
stage: test
allow_failure: false
variables:
COVERAGE_DIR: /builds/$CI_PROJECT_PATH/coverage
NPM_AUDIT_OPTIONS: ""
script:
- mkdir -p ${COVERAGE_DIR}
- npm install # to force a package-lock refresh, if necessary
- npm audit ${NPM_AUDIT_OPTIONS}
npm_audit_dependency_check:
image: docker-registry.wikimedia.org/nodejs12-devel:0.0.1-20210905
stage: test
allow_failure: false
variables:
COVERAGE_DIR: /builds/$CI_PROJECT_PATH/coverage
NPM_AUDIT_OPTIONS: ""
script:
- mkdir -p ${COVERAGE_DIR}
- npm install # to force a package-lock refresh, if necessary
- npm audit ${NPM_AUDIT_OPTIONS}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment