tenable-sc-scan-results
Get scan result list from Tenable Security Center.
Syntax
tenable-sc-scan-results [profile=PROFILE] [verify=t|f] [duration=NUM{mon|w|d|h|m|s}] [from=yyyyMMddHHmmss] [to=yyyyMMddHHmmss]
- profile=PROFILE
- Optional. Connect profile code
- verify=t|f
- Optional. Verify profile (default: t). If f, returns empty on missing profile
- duration=NUM{mon|w|d|h|m|s}
- Optional. Scan only recent data. You should use s(second), m(minute), h(hour), d(day), mon(month) time unit. For example,
10smeans data from 10 seconds earlier. - from=yyyyMMddHHmmss
- Optional. Start time of range. yyyyMMddHHmmss format. If you omit time part, it will be padded by zero.
- to=yyyyMMddHHmmss
- Optional. End time of range. yyyyMMddHHmmss format. If you omit time part, it will be padded by zero.
Output Fields
| Field | Type | Name | Description |
|---|---|---|---|
| profile | String | Connect Profile | e.g. tenable_sc |
| id | String | ID | e.g. 12345 |
| name | String | Name | e.g. Weekly Network Scan |
| status | String | Status | e.g. Running, Error, Completed |
| result_type | String | Result Type | e.g. active |
| start_time | Date | Start Time | e.g. 2024-12-01 14:00:00 |
| finish_time | Date | Finish Time | e.g. 2024-12-01 16:30:00 |
| scan_duration | Integer | Scan Duration | e.g. 9000 (seconds) |
| scanned_ip_count | Integer | Scanned IP Count | e.g. 256 |
| total_ip_count | Integer | Total IP Count | e.g. 512 |
| repo_name | String | Repository Name | e.g. Local |
| initiator_name | String | Initiator Name | e.g. admin |
| owner_name | String | Owner Name | e.g. admin |
| scan_id | String | Scan ID | e.g. 100 |
| repo_id | String | Repository ID | e.g. 1 |
| initiator_id | String | Initiator ID | e.g. 1 |
| owner_id | String | Owner ID | e.g. 1 |