mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
[VS] Rename INFO and REPORT_INFO columns into JSON_INFO and REPORT_JSON_INFO.
This commit is contained in:
parent
34f7a42308
commit
7dc3ec89ec
3 changed files with 9 additions and 9 deletions
|
|
@ -525,7 +525,7 @@ CREATE TABLE IF NOT EXISTS `vulnerability_scan_data` ON CLUSTER '$CLUSTER' (
|
|||
`HOST` String NOT NULL,
|
||||
`SCAN_TYPE` String NOT NULL,
|
||||
`LAST_SCAN` DateTime NOT NULL,
|
||||
`INFO` String,
|
||||
`JSON_INFO` String,
|
||||
`VS_RESULT_FILE` String,
|
||||
) ENGINE = ReplicatedMergeTree('/clickhouse/{cluster}/tables/{database}/{table}', '{replica}') PARTITION BY toYYYYMMDD(LAST_SCAN) ORDER BY (LAST_SCAN, HOST, SCAN_TYPE);
|
||||
|
||||
|
|
@ -533,7 +533,7 @@ CREATE TABLE IF NOT EXISTS `vulnerability_scan_data` ON CLUSTER '$CLUSTER' (
|
|||
CREATE TABLE IF NOT EXISTS `vulnerability_scan_report` ON CLUSTER '$CLUSTER' (
|
||||
`REPORT_NAME` String,
|
||||
`REPORT_DATE` DateTime NOT NULL,
|
||||
`REPORT_INFO` String,
|
||||
`REPORT_JSON_INFO` String,
|
||||
`NUM_SCANNED_HOSTS` UInt32,
|
||||
`NUM_CVES` UInt32,
|
||||
`NUM_TCP_PORTS` UInt32,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue