Skip to content

Commit

Permalink
Update aws log forwarder
Browse files Browse the repository at this point in the history
  • Loading branch information
impart-security committed Oct 20, 2023
1 parent 57965c6 commit ce74b41
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ Lambda function to stream ec2 loadbalancer access logs and cloudwatch logs to im
```
INSPECTOR_MODE: "log_stream_server"
INSPECTOR_LOGSTREAM_LISTEN_ADDR: ":<port>"
INSPECTOR_LOGSTREAM_LOG_FILE_NAME: "<log_binding_file_name>" # from step 1
INSPECTOR_API_ACCESS_TOKEN: "<access_token>" # setup here https://console.impartsecurity.net/orgs/_/settings/tokens#create. Click `New inspector access token`
INSPECTOR_LOGSTREAM_ID: "<log_binding_logstream_ID>" # from step 1
INSPECTOR_API_ACCESS_TOKEN: "<access_token>" # setup here https://console.impartsecurity.net/orgs/_/settings/tokens#create. Click `New inspector access token`, click `Inspector access` to set the scopes.
```

3. Run the lambda function subscribed either to cloud watch events or elb s3 events.
Expand Down
26 changes: 13 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"lint": "eslint . --cache --ext .js --max-warnings=0"
},
"dependencies": {
"aws-sdk": "^2.1434.0"
"aws-sdk": "^2.1467.0"
},
"devDependencies": {
"eslint": "^8.48.0",
"eslint": "^8.50.0",
"prettier": "^3.0.2"
}
}

0 comments on commit ce74b41

Please sign in to comment.