-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Post-review feedback & avoid local storage collision
- Loading branch information
1 parent
7870f22
commit 76d5f7c
Showing
3 changed files
with
37 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
...rity/plugins/security_solution/public/asset_inventory/components/filters/rule_type_ids.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
const RULE_TYPE_PREFIX = `assetInventorySiem` as const; | ||
export const EQL_RULE_TYPE_ID = `${RULE_TYPE_PREFIX}.eqlRule` as const; | ||
export const ESQL_RULE_TYPE_ID = `${RULE_TYPE_PREFIX}.esqlRule` as const; | ||
export const INDICATOR_RULE_TYPE_ID = `${RULE_TYPE_PREFIX}.indicatorRule` as const; | ||
export const ML_RULE_TYPE_ID = `${RULE_TYPE_PREFIX}.mlRule` as const; | ||
export const QUERY_RULE_TYPE_ID = `${RULE_TYPE_PREFIX}.queryRule` as const; | ||
export const SAVED_QUERY_RULE_TYPE_ID = `${RULE_TYPE_PREFIX}.savedQueryRule` as const; | ||
export const THRESHOLD_RULE_TYPE_ID = `${RULE_TYPE_PREFIX}.thresholdRule` as const; | ||
export const NEW_TERMS_RULE_TYPE_ID = `${RULE_TYPE_PREFIX}.newTermsRule` as const; | ||
|
||
export const ASSET_INVENTORY_RULE_TYPE_IDS = [ | ||
EQL_RULE_TYPE_ID, | ||
ESQL_RULE_TYPE_ID, | ||
INDICATOR_RULE_TYPE_ID, | ||
ML_RULE_TYPE_ID, | ||
QUERY_RULE_TYPE_ID, | ||
SAVED_QUERY_RULE_TYPE_ID, | ||
THRESHOLD_RULE_TYPE_ID, | ||
NEW_TERMS_RULE_TYPE_ID, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters