Skip to content

Commit

Permalink
removes unimplimented windows events
Browse files Browse the repository at this point in the history
  • Loading branch information
parkiino committed Apr 13, 2020
1 parent 5d217e4 commit bac2b7c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,13 @@ export const generatePolicy = (): PolicyConfig => {
return {
windows: {
events: {
api: true,
clr: true,
dll_and_driver_load: true,
dns: true,
file: true,
network: true,
powershell: true,
process: true,
registry: true,
security: true,
wmi: true,
},
malware: {
mode: ProtectionModes.prevent,
Expand Down
4 changes: 0 additions & 4 deletions x-pack/plugins/endpoint/public/applications/endpoint/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,17 +120,13 @@ export interface PolicyDetailsState {
export interface PolicyConfig {
windows: {
events: {
api: boolean;
clr: boolean;
dll_and_driver_load: boolean;
dns: boolean;
file: boolean;
network: boolean;
powershell: boolean;
process: boolean;
registry: boolean;
security: boolean;
wmi: boolean;
};
malware: MalwareFields;
logging: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,6 @@ export const WindowsEvents = React.memo(() => {
protectionField: keyof UIPolicyConfig['windows']['events'];
}> = useMemo(
() => [
{
name: i18n.translate('xpack.endpoint.policyDetailsConfig.windows.events.api', {
defaultMessage: 'API',
}),
os: OS.windows,
protectionField: 'api',
},
{
name: i18n.translate('xpack.endpoint.policyDetailsConfig.windows.events.clr', {
defaultMessage: 'CLR',
}),
os: OS.windows,
protectionField: 'clr',
},
{
name: i18n.translate('xpack.endpoint.policyDetailsConfig.windows.events.dllDriverLoad', {
defaultMessage: 'DLL and Driver Load',
Expand Down Expand Up @@ -70,13 +56,6 @@ export const WindowsEvents = React.memo(() => {
os: OS.windows,
protectionField: 'network',
},
{
name: i18n.translate('xpack.endpoint.policyDetailsConfig.windows.events.powershell', {
defaultMessage: 'Powershell',
}),
os: OS.windows,
protectionField: 'powershell',
},
{
name: i18n.translate('xpack.endpoint.policyDetailsConfig.windows.events.process', {
defaultMessage: 'Process',
Expand All @@ -98,13 +77,6 @@ export const WindowsEvents = React.memo(() => {
os: OS.windows,
protectionField: 'security',
},
{
name: i18n.translate('xpack.endpoint.policyDetailsConfig.windows.events.wmi', {
defaultMessage: 'WMI',
}),
os: OS.windows,
protectionField: 'wmi',
},
],
[]
);
Expand Down

0 comments on commit bac2b7c

Please sign in to comment.