Skip to content

Commit

Permalink
added new log type for vpc flow (#653)
Browse files Browse the repository at this point in the history
Signed-off-by: Amardeepsingh Siglani <[email protected]>
(cherry picked from commit bb7691c)
  • Loading branch information
amsiglan authored and github-actions[bot] committed Jul 12, 2023
1 parent ffa9cd6 commit cd5562a
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,10 @@ exports[`<DetectorRulesView /> spec renders the component 1`] = `
"name": "Azure",
"value": "azure",
},
Object {
"name": "VPC Flow",
"value": "vpcflow",
},
],
"type": "field_value_selection",
},
Expand Down Expand Up @@ -632,6 +636,10 @@ exports[`<DetectorRulesView /> spec renders the component 1`] = `
"name": "Azure",
"value": "azure",
},
Object {
"name": "VPC Flow",
"value": "vpcflow",
},
],
"type": "field_value_selection",
},
Expand Down Expand Up @@ -866,6 +874,10 @@ exports[`<DetectorRulesView /> spec renders the component 1`] = `
"name": "Azure",
"value": "azure",
},
Object {
"name": "VPC Flow",
"value": "vpcflow",
},
],
"type": "field_value_selection",
},
Expand Down Expand Up @@ -1022,6 +1034,10 @@ exports[`<DetectorRulesView /> spec renders the component 1`] = `
"name": "Azure",
"value": "azure",
},
Object {
"name": "VPC Flow",
"value": "vpcflow",
},
],
"type": "field_value_selection",
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3025,6 +3025,10 @@ exports[`<DetectorDetails /> spec renders the component 1`] = `
"name": "Azure",
"value": "azure",
},
Object {
"name": "VPC Flow",
"value": "vpcflow",
},
],
"type": "field_value_selection",
},
Expand Down Expand Up @@ -3187,6 +3191,10 @@ exports[`<DetectorDetails /> spec renders the component 1`] = `
"name": "Azure",
"value": "azure",
},
Object {
"name": "VPC Flow",
"value": "vpcflow",
},
],
"type": "field_value_selection",
},
Expand Down Expand Up @@ -3421,6 +3429,10 @@ exports[`<DetectorDetails /> spec renders the component 1`] = `
"name": "Azure",
"value": "azure",
},
Object {
"name": "VPC Flow",
"value": "vpcflow",
},
],
"type": "field_value_selection",
},
Expand Down Expand Up @@ -3577,6 +3589,10 @@ exports[`<DetectorDetails /> spec renders the component 1`] = `
"name": "Azure",
"value": "azure",
},
Object {
"name": "VPC Flow",
"value": "vpcflow",
},
],
"type": "field_value_selection",
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1849,6 +1849,10 @@ exports[`<DetectorDetailsView /> spec renders the component 1`] = `
"name": "Azure",
"value": "azure",
},
Object {
"name": "VPC Flow",
"value": "vpcflow",
},
],
"type": "field_value_selection",
},
Expand Down Expand Up @@ -2011,6 +2015,10 @@ exports[`<DetectorDetailsView /> spec renders the component 1`] = `
"name": "Azure",
"value": "azure",
},
Object {
"name": "VPC Flow",
"value": "vpcflow",
},
],
"type": "field_value_selection",
},
Expand Down Expand Up @@ -2245,6 +2253,10 @@ exports[`<DetectorDetailsView /> spec renders the component 1`] = `
"name": "Azure",
"value": "azure",
},
Object {
"name": "VPC Flow",
"value": "vpcflow",
},
],
"type": "field_value_selection",
},
Expand Down Expand Up @@ -2401,6 +2413,10 @@ exports[`<DetectorDetailsView /> spec renders the component 1`] = `
"name": "Azure",
"value": "azure",
},
Object {
"name": "VPC Flow",
"value": "vpcflow",
},
],
"type": "field_value_selection",
}
Expand Down
1 change: 1 addition & 0 deletions public/pages/Detectors/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@ export const DETECTOR_TYPES = {
M365: { id: 'm365', label: 'Microsoft 365 logs', abbr: 'MSO' },
OKTA: { id: 'okta', label: 'Okta events', abbr: 'OKT' },
AZURE: { id: 'azure', label: 'Azure logs', abbr: 'AZR' },
VPC_FLOW: { id: 'vpcflow', label: 'VPC Flow logs', abbr: 'VPC' },
};
1 change: 1 addition & 0 deletions public/pages/Rules/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const ruleTypes: { label: string; value: string; abbr: string }[] = [
{ abbr: 'MSO', label: 'Microsoft 365', value: 'm365' },
{ abbr: 'OKT', label: 'Okta', value: 'okta' },
{ abbr: 'AZR', label: 'Azure', value: 'azure' },
{ abbr: 'VPC', label: 'VPC Flow', value: 'vpcflow' },
];

const paletteColors = euiPaletteForStatus(5);
Expand Down

0 comments on commit cd5562a

Please sign in to comment.