Commit 9110393
authored
google_scc: Add support for Security Command Center API v2 and update finding data stream to support Cloud Detection and Response (CDR) workflow
Some fields inside "google_scc.finding.resource" are moved into "google_scc.finding.resource.gcp_metadata"
as per v2 API schema. This change allows to choose between v1 and v2 (recommended) APIs to fetch
findings. Location-based findings can be fetched to support Security Command Center data
residency feature. Field "google_scc.finding.vulnerability.cve.cvssv3.base_score" data
type is updated to "double" to better suit data. In dashboards, ECS fields are used
in preference to custom fields.
Added "do_not_log_failure: true" to the asset and source data streams to prevent logging of expected
pagination end failures, which have been causing system test failures from version 8.19 onwards.
This issue arose due to the addition of Fleet health status updates in the httpjson input.
Add ECS mappings and latest transform to finding data stream to help with the
Cloud Native Vulnerability Management (CNVM)[1] and Cloud Security Posture Management (CSPM)[2] workflow.
[1] https://www.elastic.co/guide/en/security/current/vuln-management-overview.html
[2] https://www.elastic.co/docs/solutions/security/cloud/cloud-security-posture-management1 parent 81fb067 commit 9110393
61 files changed
Lines changed: 9532 additions & 2046 deletions
File tree
- packages/google_scc
- _dev
- build/docs
- deploy/docker/files
- data_stream
- asset
- _dev/test
- pipeline
- system
- agent/stream
- audit/_dev/test/pipeline
- finding
- _dev/test
- pipeline
- system
- agent/stream
- elasticsearch/ingest_pipeline
- fields
- source
- _dev/test
- pipeline
- system
- agent/stream
- docs
- elasticsearch/transform
- latest_cdr_misconfigurations
- fields
- latest_cdr_vulnerabilities
- fields
- img
- kibana
- dashboard
- search
- tag
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
92 | 113 | | |
93 | 114 | | |
94 | 115 | | |
| |||
Lines changed: 887 additions & 12 deletions
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
2 | 13 | | |
3 | 14 | | |
4 | 15 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
681 | 681 | | |
682 | 682 | | |
683 | 683 | | |
684 | | - | |
| 684 | + | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
2 | 5 | | |
3 | 6 | | |
4 | 7 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
32 | 31 | | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | 40 | | |
43 | 41 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
| 42 | + | |
71 | 43 | | |
72 | 44 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 45 | + | |
| 46 | + | |
77 | 47 | | |
78 | 48 | | |
79 | | - | |
80 | | - | |
| 49 | + | |
| 50 | + | |
81 | 51 | | |
82 | 52 | | |
83 | | - | |
84 | | - | |
| 53 | + | |
85 | 54 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
| 55 | + | |
| 56 | + | |
90 | 57 | | |
91 | 58 | | |
92 | 59 | | |
93 | | - | |
94 | | - | |
| 60 | + | |
| 61 | + | |
95 | 62 | | |
96 | 63 | | |
97 | | - | |
| 64 | + | |
98 | 65 | | |
99 | 66 | | |
100 | 67 | | |
101 | | - | |
| 68 | + | |
102 | 69 | | |
103 | 70 | | |
104 | 71 | | |
| 72 | + | |
| 73 | + | |
105 | 74 | | |
106 | 75 | | |
107 | 76 | | |
108 | | - | |
| 77 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
0 commit comments