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

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/tenable_io/_dev/deploy/docker/files/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ rules:
},"size":2,"params":{"page":1,"size":1000,"last_updated":""},"total_count":2}
- path: /vulns/export
methods: ["POST"]
request_body: /^\{"filters":\{"severity":\["critical","high","medium","low"\],"since":.*,"state":\["open","reopened","fixed"\]\},"num_assets":500\}/
responses:
- status_code: 200
body: |
Expand Down
5 changes: 5 additions & 0 deletions packages/tenable_io/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "4.3.0"
changes:
- description: Add a filter to select the severity level of collected vulnerabilites.
type: enhancement
link: https://github.com/elastic/integrations/pull/15394
- version: "4.2.1"
changes:
- description: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ vars:
data_stream:
vars:
num_assets: 500
batch_size: 100
preserve_original_event: true
preserve_duplicate_custom_fields: true
severity_level:
- critical
- high
- medium
- low
assert:
hit_count: 1
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ state:
batch_size: {{num_assets}}
initial_interval: {{initial_interval}}
export_status_timeout: {{export_status_timeout}}
{{#if severity_level}}
severity_level:
{{#each severity_level as |l|}}
- {{l}}
{{/each}}
{{/if}}
redact:
fields:
- access_key
Expand All @@ -29,7 +35,14 @@ program: |
state.with(state.?chunk_status.orValue("") != "PROCESSING" && !state.?want_more.orValue(false) ?
post_request(
state.url.trim_right("/") + "/vulns/export", "application/json",
'{"num_assets":' + state.batch_size.encode_json() + ',"filters":{"since": ' + state.?cursor.last_event_time.orValue(int(now - duration(state.initial_interval))).encode_json() + ',"state": ["open","reopened","fixed"]}}'
{
"num_assets": state.batch_size,
"filters": {
"since": state.?cursor.last_event_time.orValue(int(now - duration(state.initial_interval))),
"state": ["open", "reopened", "fixed"],
"severity": state.?severity_level.orValue([])
}
}.encode_json()
).with({
"Header":{
"X-ApiKeys": ["accessKey=" + state.access_key + ";secretKey=" + state.secret_key],
Expand Down
13 changes: 13 additions & 0 deletions packages/tenable_io/data_stream/vulnerability/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,19 @@ streams:
required: true
show_user: true
default: 12h
- name: severity_level
type: text
title: Severity Level
multi: true
show_user: true
required: false
description: Returns vulnerabilities with the specified severity. Defaults to all severity levels.
default:
- critical
- high
- medium
- low
- info
- name: num_assets
type: integer
title: Number of Assets
Expand Down
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{
"@timestamp": "2018-12-31T20:59:47.000Z",
"agent": {
"ephemeral_id": "0f163ba4-9879-4856-ac90-5c42f91b1785",
"id": "502d7257-d2e1-4f0e-b790-35c402544504",
"name": "elastic-agent-15533",
"ephemeral_id": "63b3ce92-be95-4199-9b67-c74f08e2c74b",
"id": "7e8cf2c9-64ff-4492-9ac5-4e1891bf1ba8",
"name": "elastic-agent-91222",
"type": "filebeat",
"version": "8.18.0"
"version": "8.19.0"
},
"data_stream": {
"dataset": "tenable_io.vulnerability",
"namespace": "88183",
"namespace": "65767",
"type": "logs"
},
"ecs": {
"version": "8.11.0"
},
"elastic_agent": {
"id": "502d7257-d2e1-4f0e-b790-35c402544504",
"id": "7e8cf2c9-64ff-4492-9ac5-4e1891bf1ba8",
"snapshot": false,
"version": "8.18.0"
"version": "8.19.0"
},
"event": {
"agent_id_status": "verified",
Expand All @@ -27,7 +27,7 @@
],
"created": "2022-11-30T14:09:12.061Z",
"dataset": "tenable_io.vulnerability",
"ingested": "2025-05-22T08:50:49Z",
"ingested": "2025-09-19T09:10:30Z",
"kind": "state",
"original": "{\"asset\":{\"fqdn\":\"example.com\",\"hostname\":\"89.160.20.112\",\"ipv4\":\"81.2.69.142\",\"network_id\":\"00000000-0000-0000-0000-000000000000\",\"operating_system\":[\"Test Demo OS X 10.5.8\"],\"tracked\":true,\"uuid\":\"cf165808-6a31-48e1-9cf3-c6c3174df51d\"},\"first_found\":\"2018-12-31T20:59:47Z\",\"indexed\":\"2022-11-30T14:09:12.061Z\",\"last_found\":\"2018-12-31T20:59:47Z\",\"output\":\"\\n Path : /opt/jdk-11.0.2/\\n Installed version : 11.0.2\\n Fixed version : Upgrade to a version greater than 11.0.18\\n\\n\\n\\n Path : /usr/java/jdk1.8.0_232-cloudera/\\n Installed version : 8.0.232\\n Fixed version : Upgrade to a version greater than 8u362\\n\",\"plugin\":{\"cve\":[\"CVE-2016-1620\",\"CVE-2016-1614\",\"CVE-2016-1613\",\"CVE-2016-1612\",\"CVE-2016-1618\",\"CVE-2016-1617\",\"CVE-2016-1616\",\"CVE-2016-1615\",\"CVE-2016-1619\"],\"cvss_base_score\":9.3,\"cvss_temporal_score\":6.9,\"cvss_temporal_vector\":{\"exploitability\":\"Unproven\",\"raw\":\"E:U/RL:OF/RC:C\",\"remediation_level\":\"Official-fix\",\"report_confidence\":\"Confirmed\"},\"cvss_vector\":{\"access_complexity\":\"Medium\",\"access_vector\":\"Network\",\"authentication\":\"None required\",\"availability_impact\":\"Complete\",\"confidentiality_impact\":\"Complete\",\"integrity_impact\":\"Complete\",\"raw\":\"AV:N/AC:M/Au:N/C:C/I:C/A:C\"},\"description\":\"The version of Test on the remote host is prior to 48.0.2564.82 and is affected by the following vulnerabilities: \\n\\n - An unspecified vulnerability exists in Test V8 when handling compatible receiver checks hidden behind receptors. An attacker can exploit this to have an unspecified impact. No other details are available. (CVE-2016-1612)\\n - A use-after-free error exists in `PDFium` due to improper invalidation of `IPWL_FocusHandler` and `IPWL_Provider` upon destruction. An attacker can exploit this to dereference already freed memory, resulting in the execution of arbitrary code. (CVE-2016-1613)\\n - An unspecified vulnerability exists in `Blink` that is related to the handling of bitmaps. An attacker can exploit this to access sensitive information. No other details are available. (CVE-2016-1614)\\n - An unspecified vulnerability exists in `omnibox` that is related to origin confusion. An attacker can exploit this to have an unspecified impact. No other details are available. (CVE-2016-1615)\\n - An unspecified vulnerability exists that allows an attacker to spoof a displayed URL. No other details are available. (CVE-2016-1616)\\n - An unspecified vulnerability exists that is related to history sniffing with HSTS and CSP. No other details are available. (CVE-2016-1617)\\n - A flaw exists in `Blink` due to the weak generation of random numbers by the ARC4-based random number generator. An attacker can exploit this to gain access to sensitive information. No other details are available. (CVE-2016-1618)\\n - An out-of-bounds read error exists in `PDFium` in file `fx_codec_jpx_opj.cpp` in the `sycc4{22,44}_to_rgb()` functions. An attacker can exploit this to cause a denial of service by crashing the application linked using the library. (CVE-2016-1619)\\n - Multiple vulnerabilities exist, the most serious of which allow an attacker to execute arbitrary code via a crafted web page. (CVE-2016-1620)\\n - A flaw in `objects.cc` is triggered when handling cleared `WeakCells`, which may allow a context-dependent attacker to have an unspecified impact. No further details have been provided. (CVE-2016-2051)\",\"family\":\"Web Clients\",\"family_id\":1000020,\"has_patch\":false,\"id\":9062,\"name\":\"Test \\u0026lt; 48.0.2564.82 Multiple Vulnerabilities\",\"risk_factor\":\"HIGH\",\"see_also\":[\"http://testreleases.blogspot.com/2016/01/beta-channel-update_20.html\"],\"solution\":\"Update the browser to 48.0.2564.82 or later.\",\"synopsis\":\"The remote host is utilizing a web browser that is affected by multiple vulnerabilities.\",\"vpr\":{\"drivers\":{\"age_of_vuln\":{\"lower_bound\":366,\"upper_bound\":730},\"cvss3_impact_score\":5.9,\"cvss_impact_score_predicted\":false,\"exploit_code_maturity\":\"UNPROVEN\",\"product_coverage\":\"LOW\",\"threat_intensity_last28\":\"VERY_LOW\",\"threat_sources_last28\":[\"No recorded events\"]},\"score\":5.9,\"updated\":\"2019-12-31T10:08:58Z\"},\"vuln_publication_date\":\"2023-04-18T00:00:00Z\"},\"port\":{\"port\":\"0\",\"protocol\":\"TCP\"},\"scan\":{\"completed_at\":\"2018-12-31T20:59:47Z\",\"schedule_uuid\":\"6f7db010-9cb6-4870-b745-70a2aea2f81ce1b6640fe8a2217b\",\"started_at\":\"2018-12-31T20:59:47Z\",\"uuid\":\"0e55ec5d-c7c7-4673-a618-438a84e9d1b78af3a9957a077904\"},\"severity\":\"low\",\"severity_default_id\":3,\"severity_id\":3,\"severity_modification_type\":\"NONE\",\"state\":\"OPEN\"}",
"type": [
Expand Down
16 changes: 8 additions & 8 deletions packages/tenable_io/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -749,24 +749,24 @@ An example event for `vulnerability` looks as following:
{
"@timestamp": "2018-12-31T20:59:47.000Z",
"agent": {
"ephemeral_id": "0f163ba4-9879-4856-ac90-5c42f91b1785",
"id": "502d7257-d2e1-4f0e-b790-35c402544504",
"name": "elastic-agent-15533",
"ephemeral_id": "63b3ce92-be95-4199-9b67-c74f08e2c74b",
"id": "7e8cf2c9-64ff-4492-9ac5-4e1891bf1ba8",
"name": "elastic-agent-91222",
"type": "filebeat",
"version": "8.18.0"
"version": "8.19.0"
},
"data_stream": {
"dataset": "tenable_io.vulnerability",
"namespace": "88183",
"namespace": "65767",
"type": "logs"
},
"ecs": {
"version": "8.11.0"
},
"elastic_agent": {
"id": "502d7257-d2e1-4f0e-b790-35c402544504",
"id": "7e8cf2c9-64ff-4492-9ac5-4e1891bf1ba8",
"snapshot": false,
"version": "8.18.0"
"version": "8.19.0"
},
"event": {
"agent_id_status": "verified",
Expand All @@ -775,7 +775,7 @@ An example event for `vulnerability` looks as following:
],
"created": "2022-11-30T14:09:12.061Z",
"dataset": "tenable_io.vulnerability",
"ingested": "2025-05-22T08:50:49Z",
"ingested": "2025-09-19T09:10:30Z",
"kind": "state",
"original": "{\"asset\":{\"fqdn\":\"example.com\",\"hostname\":\"89.160.20.112\",\"ipv4\":\"81.2.69.142\",\"network_id\":\"00000000-0000-0000-0000-000000000000\",\"operating_system\":[\"Test Demo OS X 10.5.8\"],\"tracked\":true,\"uuid\":\"cf165808-6a31-48e1-9cf3-c6c3174df51d\"},\"first_found\":\"2018-12-31T20:59:47Z\",\"indexed\":\"2022-11-30T14:09:12.061Z\",\"last_found\":\"2018-12-31T20:59:47Z\",\"output\":\"\\n Path : /opt/jdk-11.0.2/\\n Installed version : 11.0.2\\n Fixed version : Upgrade to a version greater than 11.0.18\\n\\n\\n\\n Path : /usr/java/jdk1.8.0_232-cloudera/\\n Installed version : 8.0.232\\n Fixed version : Upgrade to a version greater than 8u362\\n\",\"plugin\":{\"cve\":[\"CVE-2016-1620\",\"CVE-2016-1614\",\"CVE-2016-1613\",\"CVE-2016-1612\",\"CVE-2016-1618\",\"CVE-2016-1617\",\"CVE-2016-1616\",\"CVE-2016-1615\",\"CVE-2016-1619\"],\"cvss_base_score\":9.3,\"cvss_temporal_score\":6.9,\"cvss_temporal_vector\":{\"exploitability\":\"Unproven\",\"raw\":\"E:U/RL:OF/RC:C\",\"remediation_level\":\"Official-fix\",\"report_confidence\":\"Confirmed\"},\"cvss_vector\":{\"access_complexity\":\"Medium\",\"access_vector\":\"Network\",\"authentication\":\"None required\",\"availability_impact\":\"Complete\",\"confidentiality_impact\":\"Complete\",\"integrity_impact\":\"Complete\",\"raw\":\"AV:N/AC:M/Au:N/C:C/I:C/A:C\"},\"description\":\"The version of Test on the remote host is prior to 48.0.2564.82 and is affected by the following vulnerabilities: \\n\\n - An unspecified vulnerability exists in Test V8 when handling compatible receiver checks hidden behind receptors. An attacker can exploit this to have an unspecified impact. No other details are available. (CVE-2016-1612)\\n - A use-after-free error exists in `PDFium` due to improper invalidation of `IPWL_FocusHandler` and `IPWL_Provider` upon destruction. An attacker can exploit this to dereference already freed memory, resulting in the execution of arbitrary code. (CVE-2016-1613)\\n - An unspecified vulnerability exists in `Blink` that is related to the handling of bitmaps. An attacker can exploit this to access sensitive information. No other details are available. (CVE-2016-1614)\\n - An unspecified vulnerability exists in `omnibox` that is related to origin confusion. An attacker can exploit this to have an unspecified impact. No other details are available. (CVE-2016-1615)\\n - An unspecified vulnerability exists that allows an attacker to spoof a displayed URL. No other details are available. (CVE-2016-1616)\\n - An unspecified vulnerability exists that is related to history sniffing with HSTS and CSP. No other details are available. (CVE-2016-1617)\\n - A flaw exists in `Blink` due to the weak generation of random numbers by the ARC4-based random number generator. An attacker can exploit this to gain access to sensitive information. No other details are available. (CVE-2016-1618)\\n - An out-of-bounds read error exists in `PDFium` in file `fx_codec_jpx_opj.cpp` in the `sycc4{22,44}_to_rgb()` functions. An attacker can exploit this to cause a denial of service by crashing the application linked using the library. (CVE-2016-1619)\\n - Multiple vulnerabilities exist, the most serious of which allow an attacker to execute arbitrary code via a crafted web page. (CVE-2016-1620)\\n - A flaw in `objects.cc` is triggered when handling cleared `WeakCells`, which may allow a context-dependent attacker to have an unspecified impact. No further details have been provided. (CVE-2016-2051)\",\"family\":\"Web Clients\",\"family_id\":1000020,\"has_patch\":false,\"id\":9062,\"name\":\"Test \\u0026lt; 48.0.2564.82 Multiple Vulnerabilities\",\"risk_factor\":\"HIGH\",\"see_also\":[\"http://testreleases.blogspot.com/2016/01/beta-channel-update_20.html\"],\"solution\":\"Update the browser to 48.0.2564.82 or later.\",\"synopsis\":\"The remote host is utilizing a web browser that is affected by multiple vulnerabilities.\",\"vpr\":{\"drivers\":{\"age_of_vuln\":{\"lower_bound\":366,\"upper_bound\":730},\"cvss3_impact_score\":5.9,\"cvss_impact_score_predicted\":false,\"exploit_code_maturity\":\"UNPROVEN\",\"product_coverage\":\"LOW\",\"threat_intensity_last28\":\"VERY_LOW\",\"threat_sources_last28\":[\"No recorded events\"]},\"score\":5.9,\"updated\":\"2019-12-31T10:08:58Z\"},\"vuln_publication_date\":\"2023-04-18T00:00:00Z\"},\"port\":{\"port\":\"0\",\"protocol\":\"TCP\"},\"scan\":{\"completed_at\":\"2018-12-31T20:59:47Z\",\"schedule_uuid\":\"6f7db010-9cb6-4870-b745-70a2aea2f81ce1b6640fe8a2217b\",\"started_at\":\"2018-12-31T20:59:47Z\",\"uuid\":\"0e55ec5d-c7c7-4673-a618-438a84e9d1b78af3a9957a077904\"},\"severity\":\"low\",\"severity_default_id\":3,\"severity_id\":3,\"severity_modification_type\":\"NONE\",\"state\":\"OPEN\"}",
"type": [
Expand Down
2 changes: 1 addition & 1 deletion packages/tenable_io/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: "3.4.0"
name: tenable_io
title: Tenable Vulnerability Management
version: "4.2.1"
version: "4.3.0"
description: Collect logs from Tenable Vulnerability Management with Elastic Agent.
type: integration
categories:
Expand Down