in dusty/commands/generate_config.py [0:0]
def _fill_settings(data_obj):
data_obj.insert(len(data_obj), "project_name", "CARRIER-TEST", comment="Project name")
data_obj.insert(
len(data_obj),
"project_description", "Carrier Test Application",
comment="Project description (or application name)"
)
data_obj.insert(
len(data_obj),
"environment_name", "staging",
comment="Environment under testing (branch/module for SAST)"
)
data_obj.insert(len(data_obj), "testing_type", "DAST", comment="DAST or SAST")
data_obj.insert(
len(data_obj),
"scan_type", "full",
comment="full, incremental or other scan description (e.g.: qualys, authorized, etc)"
)
data_obj.insert(
len(data_obj), "build_id", "1", comment="Build number (or some other identifier)"
)
data_obj.insert(
len(data_obj), "load_settings_from", "MY-PROJECT_Application.yaml",
comment="(optional) Config file (object) name in upstream settings (object) provider"
)
data_obj.insert(
len(data_obj),
"dast", CommentedMap(),
comment="Settings common to all DAST scanners"
)
data_obj["dast"].insert(
0, "max_concurrent_scanners", 1,
comment="Maximum number of concurrent DAST scanners"
)
data_obj.insert(
len(data_obj),
"sast", CommentedMap(),
comment="Settings common to all SAST scanners"
)
data_obj["sast"].insert(
0, "max_concurrent_scanners", 4,
comment="Maximum number of concurrent SAST scanners"
)
data_obj.insert(
len(data_obj),
"processing", CommentedMap(),
comment="Settings common to all processors"
)
data_obj.insert(
len(data_obj),
"reporters", CommentedMap(),
comment="Settings common to all reporters"
)