fossa_save_report_option
Create or update saved report option presets for FOSSA reports. Control which sections and dependency data are included by passing lists of switches, with omitted groups left unchanged on updates.
Instructions
Create a saved report option preset, or update an existing one.
WRITES TO FOSSA. Requires FOSSA_ALLOW_WRITES=true.
sections and dependency_data name the switches that should be ON; every
other switch in that group is sent as OFF. Pass an empty list to turn a
whole group off. A group you omit entirely is not sent at all, which on an
update leaves it as it was — FOSSA deep merges. Creating requires all four
groups plus a name.
This changes a preset, not a report. Reports already generated are untouched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| sections | No | ||
| dependency_data | No | ||
| report_option_id | No | ||
| exclude_package_labels | No | ||
| use_hash_and_version_data | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||