From 951d4f6c874e193dde162a1d0a2bd2b8b755b386 Mon Sep 17 00:00:00 2001 From: Zack Mutchler <30831476+thezackm@users.noreply.github.com> Date: Thu, 2 May 2024 05:53:53 -0500 Subject: [PATCH] feat/aws example (#461) * feat: add aws cli example --- examples/aws-cli-example.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 examples/aws-cli-example.yml diff --git a/examples/aws-cli-example.yml b/examples/aws-cli-example.yml new file mode 100644 index 00000000..b758640f --- /dev/null +++ b/examples/aws-cli-example.yml @@ -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" \ No newline at end of file