Bulk Assess SecObserve Observations
secobserve_bulk_assess_observationsApply a single assessment, including mandatory comment, status, severity, priority, and VEX justification, to up to 250 observations at once to triage identical findings in bulk.
Instructions
Apply one identical assessment to up to 250 observations by id.
The comment is stored on every one of them, so write it to be true of the whole set. Get the ids from secobserve_list with response_format="json" and fields=["id"]; a filter that matches more than 250 rows needs several calls.
Args: params (BulkAssessInput): Validated input containing: - observation_ids (List[int]): 1-250 observation ids. - product_id (Optional[int]): Use the product-scoped endpoint instead of the instance-wide one; required for product API tokens. - severity, status, priority, vex_justification, risk_acceptance_expiry_date: as in secobserve_assess_observation. - comment (str): Mandatory rationale applied to every observation.
Returns: str: A confirmation naming the number of observations submitted and the fields changed. The API returns 204 with no body, so per-observation outcomes are not reported; any id whose previous assessment awaits approval is skipped server-side.
Examples: - Use when: "all 40 findings in this retired branch are resolved" -> observation_ids=[...], status="Resolved", comment="Branch decommissioned ..." - Use when: "these are all the same false positive from the secret scanner" -> status="False positive", vex_justification="component_not_present", comment="..." - Don't use when: the findings need different verdicts (assess them one by one).
Error Handling: Over 250 ids is refused by the schema. 403 means the token lacks Observation_Assessment on one of the products involved -- narrow with product_id. Read-only mode blocks the call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |