1

I want to export data from Cloud Custodian to an Amazon S3 bucket. I understand Cloud Custodian can be easily integrated with AWS Security Hub and once I have data in security hub using event bridge i can dumb it to an Amazon S3 bucket but in my use case I don't have flexibility of integrating to cloud custodian to AWS Security Hub.

What are the alternative approaches if I directly want to export data from Cloud Custodian to an Amazon S3 bucket ?

Any help is appreciated.

smac2020
  • 9,637
  • 4
  • 24
  • 38
Bokambo
  • 4,204
  • 27
  • 79
  • 130

2 Answers2

0

You can set an s3 bucket as the output directory of your Cloud Custodian run

custodian run --output-dir s3://SOME_S3_BUCKET CLOUD_CUSTODIAN_POLICY
Jonathan
  • 2,565
  • 4
  • 18
  • 25
0

You can use the command, custodian report -s s3://uri

sumit pandit
  • 963
  • 7
  • 9