Skip to content

Commit

Permalink
Merge branch 'main' into 168581-fix-default-columns-on-switch
Browse files Browse the repository at this point in the history
  • Loading branch information
jughosta committed Nov 13, 2023
2 parents a40409b + 44341ac commit 2e5a6eb
Show file tree
Hide file tree
Showing 23 changed files with 554 additions and 721 deletions.
2 changes: 1 addition & 1 deletion packages/kbn-optimizer/limits.yml
Expand Up @@ -124,7 +124,7 @@ pageLoadAssetSize:
screenshotting: 22870
searchprofiler: 67080
security: 81771
securitySolution: 66738
securitySolution: 67584
securitySolutionEss: 16573
securitySolutionServerless: 62488
serverless: 16573
Expand Down
Expand Up @@ -8,7 +8,7 @@
/* eslint-disable @typescript-eslint/naming-convention */

import * as t from 'io-ts';
import { IsoDateString, PositiveInteger } from '@kbn/securitysolution-io-ts-types';
import { PositiveInteger } from '@kbn/securitysolution-io-ts-types';

export const file_name = t.string;
export type FileName = t.TypeOf<typeof file_name>;
Expand Down Expand Up @@ -42,13 +42,6 @@ export const signal_status_query = t.object;
export const alert_tag_ids = t.array(t.string);
export type AlertTagIds = t.TypeOf<typeof alert_tag_ids>;

export const created_at = IsoDateString;
export const updated_at = IsoDateString;
export const created_by = t.string;
export const updated_by = t.string;

export const revision = PositiveInteger;

export const indexRecord = t.record(
t.string,
t.type({
Expand Down
Expand Up @@ -16,6 +16,7 @@ export const getImportRulesSchemaMock = (ruleId = 'rule-1'): RuleToImport => ({
risk_score: 55,
language: 'kuery',
rule_id: ruleId,
immutable: false,
});

export const getImportRulesWithIdSchemaMock = (ruleId = 'rule-1'): RuleToImport => ({
Expand All @@ -28,6 +29,7 @@ export const getImportRulesWithIdSchemaMock = (ruleId = 'rule-1'): RuleToImport
risk_score: 55,
language: 'kuery',
rule_id: ruleId,
immutable: false,
});

/**
Expand Down Expand Up @@ -79,6 +81,7 @@ export const getImportThreatMatchRulesSchemaMock = (ruleId = 'rule-1'): RuleToIm
},
},
],
immutable: false,
});

export const webHookConnector = {
Expand Down

0 comments on commit 2e5a6eb

Please sign in to comment.