Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/qualys_gav/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "0.5.0"
changes:
- description: Added support for excluding and including fields in the asset object in the response.
type: enhancement
link: https://github.com/elastic/integrations/pull/15980
- version: "0.4.1"
changes:
- description: Refactor date processing for asset inventory list to use foreach processor.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ state:
username: {{username}}
password: {{password}}
asset_id: 0
exclude_fields: {{exclude_fields}}
include_fields: {{include_fields}}
redact:
fields:
- password
Expand Down Expand Up @@ -67,7 +69,9 @@ program: |
"POST",
base_url + "/rest/2.0/search/am/asset?" + {
"pageSize": [string(state.batch_size)],
"lastSeenAssetId": [string(int(state.asset_id))]
"lastSeenAssetId": [string(int(state.asset_id))],
?"exclude_fields": (state.?exclude_fields.orValue("") != "") ? optional.of([string(state.exclude_fields)]) : optional.none(),
?"include_fields": (state.?include_fields.orValue("") != "") ? optional.of([string(state.include_fields)]) : optional.none(),
}.format_query()
).with({
"Header":{
Expand Down
14 changes: 14 additions & 0 deletions packages/qualys_gav/data_stream/asset/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,20 @@ streams:
required: true
show_user: false
default: 100
- name: exclude_fields
type: text
title: Exclude Fields
description: Comma separated list of fields to exclude from the asset object in the response.
multi: false
required: false
show_user: false
- name: include_fields
type: text
title: Include Fields
description: Comma separated list of fields to be included in the asset object in the response.
multi: false
required: false
show_user: false
- name: max_executions
type: integer
title: Maximum Pages Per Interval
Expand Down
2 changes: 1 addition & 1 deletion packages/qualys_gav/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 3.3.2
name: qualys_gav
title: Qualys Global AssetView
version: 0.4.1
version: 0.5.0
description: Collect logs from Qualys Global AssetView with Elastic Agent.
type: integration
categories:
Expand Down