Skip to content

Commit

Permalink
siem -> securitySolution
Browse files Browse the repository at this point in the history
  • Loading branch information
madirey committed Jun 4, 2020
1 parent 11e56d0 commit e304959
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import { SavedObjectsType } from '../../../../../../src/core/server';

export const exceptionsArtifactSavedObjectType = 'siem-exceptions-artifact';
export const exceptionsArtifactSavedObjectType = 'securitySolution-exceptions-artifact';

export const exceptionsArtifactSavedObjectMappings: SavedObjectsType['mappings'] = {
properties: {
Expand Down
10 changes: 5 additions & 5 deletions x-pack/plugins/security_solution/server/lib/exceptions/task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ import { GetFullEndpointExceptionList, CompressExceptionList } from './fetch_end
const PackagerTaskConstants = {
INTERVAL: '30s',
TIMEOUT: '1m',
TYPE: 'siem:endpoint:exceptions-packager',
TYPE: 'securitySolution:endpoint:exceptions-packager',
};

export const ArtifactConstants = {
GLOBAL_ALLOWLIST_NAME: 'endpoint-allowlist',
SAVED_OBJECT_TYPE: 'siem-exceptions-artifact',
SAVED_OBJECT_TYPE: 'securitySolution-exceptions-artifact',
SUPPORTED_OPERATING_SYSTEMS: ['windows'],
SUPPORTED_SCHEMA_VERSIONS: ['1.0.0'],
};
Expand Down Expand Up @@ -101,7 +101,7 @@ export function setupPackagerTask(context: PackagerTaskContext): PackagerTask {
await runnerContext.taskManager.ensureScheduled({
id: PackagerTaskConstants.TYPE,
taskType: PackagerTaskConstants.TYPE,
scope: ['siem'],
scope: ['securitySolution'],
schedule: {
interval: PackagerTaskConstants.INTERVAL,
},
Expand All @@ -116,8 +116,8 @@ export function setupPackagerTask(context: PackagerTaskContext): PackagerTask {
};

context.taskManager.registerTaskDefinitions({
'siem:endpoint:exceptions-packager': {
title: 'SIEM Endpoint Exceptions Handler',
'securitySolution:endpoint:exceptions-packager': {
title: 'Security Solution Endpoint Exceptions Handler',
type: PackagerTaskConstants.TYPE,
timeout: PackagerTaskConstants.TIMEOUT,
createTaskRunner: () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/

type ArtifactName = 'global-whitelist';
type ArtifactName = 'endpoint-allowlist';
type ArtifactVersion = '1.0.0';
type ArtifactEncoding = 'xz';

Expand Down

0 comments on commit e304959

Please sign in to comment.