Aller au contenu

SIEM

SIEM events and decoded logs, the groups that organise them, and the rules that process them.

Generated automatically from pandora-cli docs (version 0.9.0, branch develop, commit 4f61789e07). Do not edit by hand; run make cli-ref.

Entities

Entity Aliases Commands Summary
siem-event — 3 SIEM events the user is authorized to see
siem-log — 3 Decoded SIEM logs the user is authorized to see
siem-group siem-groups 5 SIEM groups
siem-rule siem-rules 9 SIEM rules

siem-event

SIEM events the user is authorized to see

Read-only. The filter body fields are startDate and endDate (paired UTC dates; the last 24 hours by default), level, severity, status, idRule, decoder, type, idGroup, recursiveGroups, idAgent, agentName, search, eventId, mitre, customFields and serverId, sent with --set or --from-file.

Command Method Path
siem-event list POST /siem/event/list
siem-event get <idEvent> GET /siem/event/{idEvent}
siem-event aggregate POST /siem/event/aggregate

siem-event aggregate — groupBy is required. It accepts the same filter fields as siem-event list.

siem-log

Decoded SIEM logs the user is authorized to see

Read-only. Decoded logs, not raw logs and not SIEM events. The filter body fields are startDate and endDate (paired UTC dates; the last 24 hours by default), page, sizePage, order, search, decoder, type, programName, agentName, idAgent, fields and serverId, sent with --set or --from-file. Metaconsole requires serverId on every command; a node rejects it. A missing, deleted or non-visible id answers 404, and an id matching several visible logs answers 409.

Command Method Path
siem-log list POST /siem/log/list
siem-log get <idLog> GET /siem/log/{idLog}
siem-log aggregate POST /siem/log/aggregate

siem-log aggregate — groupBy is required and accepts decoder, agentName, type or programName. It accepts size and the same filter fields as siem-log list.

siem-group

SIEM groups

Aliases: siem-groups

Command Method Path
siem-group list POST /siem/group/list
siem-group get <idSiemGroup> GET /siem/group/{idSiemGroup}
siem-group create POST /siem/group
siem-group update <idSiemGroup> PUT /siem/group/{idSiemGroup}
siem-group delete <idSiemGroup> DELETE /siem/group/{idSiemGroup}

Fields for --where, --fields and --in: id, name

--filter additionally accepts every other field of the entity (5 in total).

siem-rule

SIEM rules

Aliases: siem-rules

Command Method Path
siem-rule list POST /siem/rule/list
siem-rule get <idRule> GET /siem/rule/{idRule}
siem-rule create POST /siem/rule
siem-rule update <idRule> PUT /siem/rule/{idRule}
siem-rule delete <idRule> DELETE /siem/rule/{idRule}
siem-rule group list <idRule> POST /siem/rule/{idRule}/group/list
siem-rule group add <idRule> POST /siem/rule/{idRule}/group
siem-rule group remove <idRule> <idGroup> DELETE /siem/rule/{idRule}/group/{idGroup}
siem-rule reload PUT /siem/rules-reload

Fields for --where, --fields and --in: active, category, decodedAs, description, differentField, differentId, dynamicField, enabled, field, frequency, id, idServer, ifFts, ifGroup, ifLevel, ifMatchedGroup, ifMatchedSid, ifSid, ignore, info, infoType, level, match, maxsize, mitre, noalert, overwrite, programName, sameField, sameId, serverManaged, timeFrom, timeTo, timeframe, weekdate

--filter additionally accepts every other field of the entity (38 in total).

siem-rule reload — An action verb with no id, outside the convention.