Skip to content

Document LICENSE_FINDER_CLI_OPTS variable

mo khan requested to merge 13748-document-lf-cli-options into master

What does this MR do?

This adds documentation for the LICENSE_FINDER_CLI_OPTS variable added here. This variable can be used to specify additional options to the license finder command line tool that is used in the license scan.

An example of how this can be used can be found here.

The gitaly project has both golang and ruby code stored in different directories. In the example provided in the link above the .gitlab-ci-yml template was updated to specify which project directories to scan.

license_management:
  image:
    name: registry.gitlab.com/gitlab-org/security-products/license-management/tmp:05ecf50afea4315e7052fdde061e1c10bc5b17ae
  before_script:
    - sudo apt-get update
    - sudo apt-get install -y libicu-dev libgit2-dev cmake
  variables:
    LICENSE_FINDER_CLI_OPTS: '--debug --aggregate-paths=. ruby'

#13748 (closed)

Screenshots

Screenshot_from_2019-10-25_15-46-27

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by 🤖 GitLab Bot 🤖

Merge request reports