Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremycook123 authored Jun 28, 2016
1 parent 8eaf6c5 commit ee9f278
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,17 @@ These instructions are for OSX. Your mileage may vary on Windows and other \*nix

## Invoke the Lambda Function from the commandline

`aws lambda invoke --function-name AccessKeyRotation scan.report.log --region us-east-1
{
Execute the lambda function by name `AccessKeyRotation`, logging the output of the scan to a file called `scan.report.log`:

`aws lambda invoke --function-name AccessKeyRotation scan.report.log --region us-east-1`
```{
"StatusCode": 200
}`
}```
Use `jq` to render the contents of the `scan.report.log` to the console:
`jq '.' scan.report.log
{
`jq '.' scan.report.log`
```{
"reportdate": "2016-06-26 10:37:24.071091",
"users": [
{
Expand Down Expand Up @@ -198,7 +202,7 @@ These instructions are for OSX. Your mileage may vary on Windows and other \*nix
]
}
]
}`
}```
## Additional configuration option
Expand Down

0 comments on commit ee9f278

Please sign in to comment.