Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new log type for vpc flow #653

Merged
merged 1 commit into from
Jul 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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