Send CSV to Amazon S3
  • 2 Minutes To Read
  • Print
  • Share
  • Dark
    Light

Send CSV to Amazon S3

  • Print
  • Share
  • Dark
    Light

The Send CSV to Amazon S3 action takes the saved query supplied as a trigger (or entities that have been selected in the asset table), creates a CSV file, and sends it to a specific Amazon Simple Storage Service (Amazon S3) bucket.

To configure the Send CSV to Amazon S3 action, from the Action Library, click Notify, and then click Send CSV to Amazon S3.

image.png

image.png

Connection Settings

  1. IAM Access Key ID and IAM Secret Access Key (optional, default: empty) - Specify the IAM user credentials (Access key id and Secret access key).

    • If supplied, Axonius uses the specified user credentials to perform the Amazon S3 PutObject operation.
    • If not supplied, Axonius uses the EC2 instance (Axonius installed on) attached IAM role instead of using the AWS Access Key ID and AWS Access Key Secret credentials supplied.


      The IAM user must have an attached policy that allows the Amazon S3 PutObject operation, for example:

    image.png

    For details on creating an IAM user, see Connecting Amazon Web Services (AWS) Adapter or Creating an IAM User in Your AWS Account in AWS online help.

  2. AWS region (optional, default: us-east-1) - Specify the region name the Amazon S3 located.

    • If supplied, PutObject operation will be done on the supplied Amazon S3 details in the supplied region.
    • If not supplied, PutObject operation will be done on the supplied Amazon S3 details in 'us-east-1'.
  3. HTTPS proxy (optional, default: empty) - A proxy to use when connecting to Amazon S3.

    • If supplied, Axonius will utilize the proxy when connecting to the Amazon S3 bucket.
    • If not supplied, Axonius will connect directly to the Amazon S3 bucket.
  4. Amazon S3 bucket name (required, default: empty) - Specify the Amazon S3 bucket name for which the file will be sent.
    For creating, configuring, and access Amazon S3 buckets, see Working with Amazon S3 Buckets in AWS online help.

  5. Amazon S3 object location (key) (optional, default: axonius_csv) - Specify the S3 object key to store a CSV file that contains the entities derived from the saved query supplied as a trigger (or entities that have been selected in the asset table).

    • If supplied, the CSV file path and name will be stored in the specified object key. For example, if reports/axonius is specified, the file path and name will be reports/axonius.csv.
    • If not supplied, the CSV file will be stored as axonius_csv.csv.
  6. Append date and time to file name (required, default: True)

    • If enabled, the date and time (in UTC) of enforcement action execution will be added as a suffix to the generated CSV file name. For example, axonius_csv_2020-01-06-16:48:13.csv.
    • If disabled, the CSV file will be stored based on the specified/default object key.
  7. Override file if exists (required, default: True) - choose to store the generated CSV file even if a CSV file with the same name already exists.

    • If enabled, the generated CSV file will be stored even if a CSV file with the exact name already exists.
    • If disabled, the generated CSV file will be not be stored if a CSV file with the exact name already exists. As a result, the Enforcement action will fail.



For more details on other Enforcement available actions, see Action Library.
For more details on Enforcement Set configurations, see Enforcement Set configuration.

Was This Article Helpful?