Skip to content
5 changes: 5 additions & 0 deletions packages/wiz/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "3.7.0"
changes:
- description: Add configurable toggle to include all vulnerability statuses in the vulnerability dataset.
type: enhancement
link: https://github.com/elastic/integrations/pull/14664
- version: "3.6.0"
changes:
- description: Add troubleshooting note in README on `event.ingested` requirement for standalone Elastic Agent.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ state:
initial_interval: {{initial_interval}}
want_more: false
batch_size: {{batch_size}}
{{#if include_all_vulnerability}}
want_status:
- RESOLVED
- OPEN
- REJECTED
- IN_PROGRESS
{{/if}}
query: >-
query VulnerabilityFindingsPage($filterBy: VulnerabilityFindingFilters $first: Int $after: String $orderBy: VulnerabilityFindingOrder) {
vulnerabilityFindings(filterBy: $filterBy first: $first after: $after orderBy: $orderBy) {
Expand Down Expand Up @@ -140,6 +147,7 @@ program: |
"first": state.batch_size,
"after": state.?end_cursor.value.orValue(null),
"filterBy": {
?"status": state.?want_status,
"updatedAt": {
"after": state.want_more ?
state.?cursor.first_timestamp.orValue(null)
Expand Down
10 changes: 10 additions & 0 deletions packages/wiz/data_stream/vulnerability/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ streams:
description: Collect Vulnerability logs from Wiz.
template_path: cel.yml.hbs
vars:
- name: include_all_vulnerability
required: true
show_user: true
title: Include All Vulnerability Statuses
description: >-
Enable this toggle to fetch all types of vulnerabilities, including those with statuses RESOLVED, OPEN, REJECTED, and IN_PROGRESS.
By default, the API's default filter is used.
type: bool
multi: false
default: false
- name: initial_interval
type: text
title: Initial Interval
Expand Down
2 changes: 1 addition & 1 deletion packages/wiz/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 3.4.0
name: wiz
title: Wiz
version: "3.6.0"
version: "3.7.0"
description: Collect logs from Wiz with Elastic Agent.
type: integration
categories:
Expand Down