1. Exclusions
Embold uses below default exclusions while scanning your repositories:
version: 1
sources:
#Files or Directories to be Excluded are mentioned in exclusions
exclusions:
- 'test'
- 'generated'
- 'mock'
- 'thirdparty'
- 'third-party'
- '3rd-party'
- '3rdparty'
- 'external'
- 'build'
- 'node_modules'
- 'assets'
- 'gulp'
- 'grunt'
- 'library'
- 'libs'
- '.git'
2.Modules
Below is an example of a YAML file that contains modules and rules.
# modules:
- name: gamma_java
enabled: true
rules:
- key: 'EMB-JAVA-10'
enabled: false
- name: pmd
enabled: true
3. Languages
When you scan your repository, Embold automatically detects languages that are in your repository. If the language key is not present it identifies all the languages and runs the scan for the same.
Supported languages are:
JAVA, CPP, C_SHARP, PYTHON, JAVASCRIPT, TYPESCRIPT, GO, OBJECTIVE_C, KOTLIN, PHP, SOLIDITY, SQL, SWIFT, RUBY, APEX, HTML, CSS