Skip to content

Commit

Permalink
feat/aws example (#461)
Browse files Browse the repository at this point in the history
* feat: add aws cli example
  • Loading branch information
thezackm committed May 2, 2024
1 parent 63d2cc5 commit 951d4f6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions examples/aws-cli-example.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This example tests access for nri-flex to use the AWS CLI by executing the get-caller-identity command from Security Token Service (STS)
# The root user that executes nri-flex will need access to the credentials for AWS that you want to use
# NRQL validation: FROM aws_cli_test SELECT *
integrations:
- name: nri-flex
interval: 300s
config:
name: aws_cli_test
apis:
- event_type: aws_cli_test
commands:
- run: "aws sts get-caller-identity"

0 comments on commit 951d4f6

Please sign in to comment.