[Security Solution][Endpoint] Fix index name pattern in SentinelOne dev. script (#174105)

## Summary

- Corrects index name pattern for S1 alerts in the SIEM Rule that the
SentinelOne dev script uses

🤦
This commit is contained in:
Paul Tavares 2024-01-02 15:16:29 -05:00 committed by GitHub
parent b0c6cc9777
commit ce71d12d32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -265,7 +265,7 @@ export const createDetectionEngineSentinelOneRuleIfNeeded = async (
log: ToolingLog
): Promise<RuleResponse> => {
const ruleName = 'Promote SentinelOne alerts';
const sentinelOneAlertsIndexPattern = 'logs-sentinel_one.alert';
const sentinelOneAlertsIndexPattern = 'logs-sentinel_one.alert*';
const ruleQueryValue = 'observer.serial_number:*';
const { data } = await findRules(kbnClient, {