Add non default configuration event
What does this MR do?
Introduces a new event used to gather configuration environment variables that are not set to default values. The scan_uuid allows joining to other Dependency scan metrics.
Gemnasium
{
"event": "collect_gemnasium_scan_non_default_config_metrics_from_pipeline",
// Columns (join, filter, fast)
"property": "scan_uuid", // join: Allows joining
"label": "<CONFIG_VAR>" // fast: Config environment variable
}
Gemnasium-python
{
"event": "collect_gemnasium_python_scan_non_default_config_metrics_from_pipeline",
// Columns (join, filter, fast)
"property": "scan_uuid", // join: Allows joining
"label": "<CONFIG_VAR>" // fast: Config environment variable
}
Gemnasium-maven
{
"event": "collect_gemnasium_maven_scan_non_default_config_metrics_from_pipeline",
// Columns (join, filter, fast)
"property": "scan_uuid", // join: Allows joining
"label": "<CONFIG_VAR>" // fast: Config environment variable
}
DS analyzer
{
"event": "collect_ds_analyzer_scan_non_default_config_metrics_from_pipeline",
// Columns (join, filter, fast)
"property": "scan_uuid", // join: Allows joining
"label": "<CONFIG_VAR>" // fast: Config environment variable
}
What are the relevant issue numbers?
Collect config environment variable usage metric (gitlab-org/gitlab#572467)
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Ensure the report version matches the equivalent schema version -
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer
Edited by Nick Ilieskou