Git Product home page Git Product logo

devsecops-ci's People

Contributors

hidden-dimensions avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

devsecops-ci's Issues

verbose mode

show what have been checked, e.g. which requirements.txt, which code directory scanned, etc.

checker for secrets

ensure no secrets committed to codebase.

  • check with filename pattern
  • content aware, check with entropy

Allow suppress of an alarm

As we see sometime npm audit report a vulnerability but there is no fix yet, without a fix this will fail a CI check thus block the PR. We shall allow suppress of individual alarm, but let the author aware that:

  1. should create an issue on github and remove the suppressed alarm when a fix is ready.
  2. list out what is suppressed when running the checker.

simplify usage command

  • --target-dir defaults to /target
  • alias /usr/local/bin/check to check.sh

expected command:

docker run -it --rm -v "`pwd`:/target:ro" devsecops-ci check
docker run -it --rm -v "`pwd`:/target:ro" devsecops-ci check --commit-range=rev1..rev2

Missing entries in ignore file(s)

Please add the following to .dockerignore:

.git/
*.pfx
docker-compose.override.yml

Please add the following to .gitignore:

*.pfx
docker-compose.override.yml

git-secret unable to run

Traceback (most recent call last):
  File "main.py", line 4, in <module>
    from scanner import GitScanner
  File "/usr/local/devsecops-ci/git-secret/scanner.py", line 2, in <module>
    from git import Repo
  File "/usr/local/lib/python3.7/site-packages/git/__init__.py", line 38, in <module>
    from git.exc import *                       # @NoMove @IgnorePep8
  File "/usr/local/lib/python3.7/site-packages/git/exc.py", line 9, in <module>
    from git.compat import UnicodeMixin, safe_decode, string_types
  File "/usr/local/lib/python3.7/site-packages/git/compat.py", line 16, in <module>
    from gitdb.utils.compat import (
ModuleNotFoundError: No module named 'gitdb.utils.compat'
make[1]: *** [Makefile:11: check] Error 1

Project Setup

  • readme
  • project skeleton (dummy docker and pass checker)
  • travis

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.