Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contributing dotnet/Unity build and static code analysis steps #190

Open
wants to merge 28 commits into
base: develop
Choose a base branch
from

Commits on Jun 15, 2022

  1. Enable suppression file support in OWASP dependency scan (boozallen#165)

    * formatting
    
    * add suppression file support
    
    * update README
    
    * begin writing unit tests
    
    * fix tests
    
    * finish new unit tests
    
    * use null safe operator on config
    
    Co-authored-by: Steven Terrana <[email protected]>
    connoryounglund-bah and steven-terrana authored Jun 15, 2022
    Configuration menu
    Copy the full SHA
    b8e613f View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2022

  1. Configuration menu
    Copy the full SHA
    ad54ce4 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2022

  1. Add sections for migrating from SDP 3.2 to 4.0 to NPM and Maven libra…

    …ry docs (boozallen#168)
    
    * add section for migrating from SDP 3.2 to 4.0 to NPM library docs
    
    * adding 4.0 migration info to Maven docs
    
    Co-authored-by: Peter Sigur <[email protected]>
    connoryounglund-bah and psig-bah authored Jun 22, 2022
    Configuration menu
    Copy the full SHA
    0201f9c View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2022

  1. Configuration menu
    Copy the full SHA
    3f9851f View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2022

  1. Add Grype Scan library (boozallen#153)

    * add config options to k8s library (boozallen#115)
    
    * [AIOPS-32] Adding in support, tests, and documentation for Maven (boozallen#118)
    
    * Added Grype
    
    * push grype readme
    
    * changed maven url to https
    
    * add ds_store to gitignore
    
    * Working on Grype spock tests
    
    * push GrtypeTestSpec
    
    * push readme/grype_scan changes
    
    * renamed grype_scan.groovy
    
    * additional change addressing scanning multi images
    
    * grype changes
    
    * updated grype image
    
    * add missing brace
    
    * fixed second use of file var
    
    * add scan_image
    
    * check path
    
    * test w/unstash
    
    * testing unstash
    
    * add var explicit type
    
    * add unstash/stash to docker.image.inside
    
    * move grype config check to docker.image.inside
    
    * change upCase vars to camelcase, added config vars
    
    * changed config var to snake case
    
    * import grype
    
    * allow fail severity to be none
    
    * test
    
    * test if
    
    * test if statement
    
    * allows other formats to not trigger error
    
    * test each loop relocation
    
    * test string concat
    
    * test json string concat
    
    * allow unique naming of archive items
    
    * fix var incorrect var name
    
    * test unique archives
    
    * fixed var declaration
    
    * fix var
    
    * test archival of multi scans
    
    * formatting
    
    * use img.context instead
    
    * formatting
    
    * throw multi errors
    
    * test exception
    
    * add throe exception
    
    * updates
    
    * Delete .DS_Store
    
    * delete test/maven
    
    * remove docs/modules/root
    
    * remove maven.groovy
    
    * fixed files
    
    * add blank line
    
    * unit testing grype
    
    * added inside_sdp_image helper
    
    * changed lib config option args
    
    * fixed called image name
    
    * test sdp image retrieval
    
    * test exception handling
    
    * fix loop
    
    * test login to registry
    
    * test reg login
    
    * test docker: source
    
    * test login to registry
    
    * test docker in grype
    
    * test using grype:0.38.0
    
    * update readme
    
    * remove docker version
    
    * test echo msg
    
    * Push start of unit test
    
    * add newline
    
    * fixed readme
    
    * add grypeContainer var
    
    * updated dependancies
    
    * added optional grype_container
    
    * test img.repo
    
    * test contains
    
    * test if statement
    
    * test
    
    * test
    
    * removed if statement
    
    * retry if statement
    
    * test if statement
    
    * test retrieving img.repo with prefix
    
    * test repo name
    
    * test
    
    * concatenate
    
    * test echo var
    
    * concatenate strings
    
    * working string concat
    
    * testing for var scope
    
    * test assigning to null string
    
    * removed echo tests
    
    * check if new code broke multi image
    
    * put back if
    
    * remove json extension
    
    * work on grype config
    
    * test grypeConfig var
    
    * add new field to lib config
    
    * testing not null check
    
    * testing grype configs
    
    * test
    
    * test grype config check
    
    * test with build ARGS
    
    * test removed defaults
    
    * changed none to null
    
    * test
    
    * test config search
    
    * create local grype
    
    * test
    
    * test file create
    
    * checking dirs
    
    * test mkdir
    
    * is dir created
    
    * test
    
    * create test file
    
    * fix var name
    
    * whose running the container
    
    * remove echo grypeconfig
    
    * test
    
    * make gyrpe config
    
    * check home
    
    * build test
    
    * echo home
    
    * check home var
    
    * test
    
    * test
    
    * test
    
    * check dir
    
    * test
    
    * check groovy
    
    * test .grype
    
    * test
    
    * test
    
    * test again
    
    * check sev
    
    * test XDG var
    
    * test xdg
    
    * fixed var
    
    * check dir
    
    * test
    
    * test env var
    
    * test
    
    * test
    
    * test echo
    
    * test
    
    * testing
    
    * test export
    
    * remove sh test cmds
    
    * fixed miss var
    
    * test json w/o grype.yaml
    
    * test json and grypeconf null
    
    * Tidy up
    
    * formatting
    
    * removed empty lines 62/86
    
    * changed HOME and XDG vars to string type
    
    * working tests
    
    * add more tests
    
    * input tests
    
    * push more tests
    
    * Exception test
    
    * remove empty else block
    
    * update
    
    Co-authored-by: steven-terrana <[email protected]>
    Co-authored-by: kdendtler <[email protected]>
    Co-authored-by: Connor <[email protected]>
    4 people authored Jul 5, 2022
    Configuration menu
    Copy the full SHA
    947936c View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2022

  1. Configuration menu
    Copy the full SHA
    b981783 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2022

  1. Grype library: add report_format/fail_on_severity defaults and fix bu…

    …g where file extensions don't exist on generated reports (boozallen#170)
    
    * add config options to k8s library (boozallen#115)
    
    * [AIOPS-32] Adding in support, tests, and documentation for Maven (boozallen#118)
    
    * added defaults/added file extension naming
    
    * rm extra files/folders
    
    * rm folders
    
    * fix gitignore
    
    * fix gitignore whitespace
    
    * update unit tests
    
    Co-authored-by: steven-terrana <[email protected]>
    Co-authored-by: kdendtler <[email protected]>
    3 people authored Jul 8, 2022
    Configuration menu
    Copy the full SHA
    0022710 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2022

  1. Configuration menu
    Copy the full SHA
    b118700 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2022

  1. Configuration menu
    Copy the full SHA
    11e9d19 View commit details
    Browse the repository at this point in the history
  2. Syft filepath fix (boozallen#173)

    * fixing filepath issues
    
    * additional string fix
    psig-bah authored Jul 14, 2022
    Configuration menu
    Copy the full SHA
    2ba88b2 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2022

  1. Configuration menu
    Copy the full SHA
    66a7c76 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2022

  1. Add catalog-info.yaml file for use with the Developer Portal (boozall…

    …en#176) (boozallen#177)
    
    * Add catalog-info.yaml file
    
    * Fix name, update title
    ltdonner authored Aug 15, 2022
    Configuration menu
    Copy the full SHA
    27d525e View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2022

  1. Bug Fix: Syft Docker Save (boozallen#178)

    * add config options to k8s library (boozallen#115)
    
    * [AIOPS-32] Adding in support, tests, and documentation for Maven (boozallen#118)
    
    * add login_to_registry
    
    * changed brace/format
    
    * mock login_to_registry
    
    * rm unneeded files
    
    * rem/fix  files from upstream merge
    
    * Update libraries/syft/steps/generate_sbom.groovy
    
    Co-authored-by: Peter Sigur <[email protected]>
    
    * linebreak
    
    * whitespace rm
    
    Co-authored-by: steven-terrana <[email protected]>
    Co-authored-by: kdendtler <[email protected]>
    Co-authored-by: Peter Sigur <[email protected]>
    4 people authored Aug 18, 2022
    Configuration menu
    Copy the full SHA
    3c9caba View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ce0a2a4 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2022

  1. Bug Fix: Syft image retrieval (boozallen#183)

    * add config options to k8s library (boozallen#115)
    
    * [AIOPS-32] Adding in support, tests, and documentation for Maven (boozallen#118)
    
    * del maven junk
    
    * del old maven
    
    * remove docs/modules
    
    * test syft fix
    
    * test syft
    
    * testing sbom
    
    * update default sbom_container
    
    * fix gitignore
    
    * fix unit tests
    
    Co-authored-by: steven-terrana <[email protected]>
    Co-authored-by: kdendtler <[email protected]>
    3 people authored Aug 31, 2022
    Configuration menu
    Copy the full SHA
    531358b View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2022

  1. Add "none" option to disable fail on severity for Grype scans (boozal…

    …len#184)
    
    * allow none severity
    
    * add none to lib config
    
    * update readme
    mackeyaj authored Sep 14, 2022
    Configuration menu
    Copy the full SHA
    fa22f55 View commit details
    Browse the repository at this point in the history
  2. Bump version to 4.3 (boozallen#185)

    * allow none severity
    
    * add none to lib config
    
    * update readme
    
    * bump version
    mackeyaj authored Sep 14, 2022
    Configuration menu
    Copy the full SHA
    7a6f575 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2022

  1. Update NPM library to allow overriding the container image used (booz…

    …allen#186)
    
    * fix mistake in NPM readme
    
    * update NPM library to allow overriding the container image used
    connoryounglund-bah authored Sep 27, 2022
    Configuration menu
    Copy the full SHA
    425582f View commit details
    Browse the repository at this point in the history
  2. Implement new Yarn library (boozallen#187)

    * implement new Yarn library
    
    * remove `yarn --version` call
    
    * fix mistake in test spec
    
    * fix failing tests
    connoryounglund-bah authored Sep 27, 2022
    Configuration menu
    Copy the full SHA
    456b5d2 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2022

  1. Syft multiple formats (boozallen#189)

    * push syft multi format
    
    * test for loop
    
    * test multi format syft
    
    * check for report output
    
    * fix increment operator
    
    * fix sbom_format data type
    
    * remove sbom_format default
    
    * test sbom_format.size()
    
    * ts for loop
    
    * testing loop
    
    * fix equal operator ==
    
    * testing loop
    
    * check args
    
    * ts list
    
    * ts ARGS
    
    * remove size()
    
    * loop troubleshoot
    
    * Test using ArrayList
    
    * comment out loops
    
    * print loop index
    
    * test with string concatenation
    
    * rm println
    
    * test toString
    
    * test arraylist
    
    * test
    
    * test
    
    * test ARG building
    
    * testing
    
    * test w/o tostring
    
    * test
    
    * move sbom_format to LinkedHashMap for extensions
    
    * check sbom_format
    
    * test
    
    * fix lib conf
    
    * revert to ArrayList for sbom_format var
    
    * fixed lib config
    
    * rm ! from index identifier
    
    * fix format
    
    * test
    
    * ts stdout
    
    * comment out erring cmd
    
    * missed end "
    
    * rm extra text
    
    * test --output
    
    * check ARGS
    
    * test
    
    * add space for multi outputs
    
    * add formatter var
    
    * ts formatter
    
    * add space
    
    * cmd formatting
    
    * archival ts
    
    * test archival
    
    * trim trailing comma
    
    * escape the $
    
    * test if statements
    
    * fixes
    
    * add exception handling
    
    * test exception
    
    * skip archival if failed
    
    * echo exception
    
    * test
    
    * test err
    
    * test echo err
    
    * test error
    
    * exception test
    
    * test throw err
    
    * test error
    
    * test
    
    * test error
    
    * add shouldFail bool
    
    * Syft Unit test changes
    
    * push syft Unit tests
    
    * update syft docs
    
    * Fixed artifacts archival
    
    * rm unused execption var
    
    * updates README file
    mackeyaj authored Nov 2, 2022
    Configuration menu
    Copy the full SHA
    5861602 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2022

  1. moving over steps and tests

    Seamus Cranley committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    3dc1d4a View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2022

  1. Moved jte.library test

    Seamus Cranley committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    c6f64f4 View commit details
    Browse the repository at this point in the history
  2. updates from conner

    Seamus Cranley committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    7462345 View commit details
    Browse the repository at this point in the history
  3. Testing Build dotnet

    Seamus Cranley committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    216d071 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2022

  1. update

    Seamus Cranley committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    425b5c3 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2022

  1. removed breaking test for the moment

    Seamus Cranley committed Nov 22, 2022
    Configuration menu
    Copy the full SHA
    959a4cf View commit details
    Browse the repository at this point in the history
  2. removed another test

    Seamus Cranley committed Nov 22, 2022
    Configuration menu
    Copy the full SHA
    b915591 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2022

  1. Trying to find error

    Seamus Cranley committed Nov 23, 2022
    Configuration menu
    Copy the full SHA
    54b8f43 View commit details
    Browse the repository at this point in the history