https://github.com/hazcod/atlas2sentinel
A Go program that exports MongoDB Atlas logs to Microsoft Sentinel SIEM.
https://github.com/hazcod/atlas2sentinel
Last synced: 4 months ago
JSON representation
A Go program that exports MongoDB Atlas logs to Microsoft Sentinel SIEM.
- Host: GitHub
- URL: https://github.com/hazcod/atlas2sentinel
- Owner: hazcod
- Created: 2024-02-02T08:33:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-31T04:58:38.000Z (about 1 year ago)
- Last Synced: 2025-07-30T04:45:23.271Z (11 months ago)
- Language: Go
- Size: 85 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# atlas2sentinel
A Go program that exports MongoDB Atlas logs to Microsoft Sentinel SIEM.
## Running
First create a yaml file, such as `config.yml`:
```yaml
log:
level: INFO
microsoft:
app_id: ""
secret_key: ""
tenant_id: ""
subscription_id: ""
resource_group: ""
workspace_name: ""
dcr:
endpoint: ""
rule_id: ""
stream_name: ""
expires_months: 6
update_table: false
atlas:
url: ""
lookback_days: 1
public_key: ""
private_key: ""
```
And now run the program from source code:
```shell
% make
go run ./cmd/... -config=dev.yml
INFO[0000] shipping logs module=sentinel_logs table_name=AtlasLogs total=82
INFO[0002] shipped logs module=sentinel_logs table_name=AtlasLogs
INFO[0002] successfully sent logs to sentinel total=82
```
Or binary:
```shell
% one2sen -config=config.yml
```
## Building
```shell
% make build
```