A Go program that exports Miro audit logs to Microsoft Sentinel SIEM.
Two tables are used; MiroAuditLogs
.
First create a yaml file, such as config.yml
:
log:
level: INFO
microsoft:
app_id: ""
secret_key: ""
tenant_id: ""
subscription_id: ""
resource_group: ""
workspace_name: ""
retention_days: 90
dcr:
endpoint: ""
rule_id: ""
stream_name: ""
expires_months: 6
miro:
lookback_days: 7
access_token: "" # non-expiring Miro access token
And now run the program from source code:
% make
go run ./cmd/... -config=dev.yml
INFO[0000] shipping logs module=sentinel_logs table_name=MiroAuditLogs total=82
INFO[0002] shipped logs module=sentinel_logs table_name=MiroAuditLogs
INFO[0002] successfully sent logs to sentinel total=82
Or binary:
% miro2sen -config=config.yml
% make build