Cloud-custodian: CloudTrail - Support for enabling log file validation

Created on 2 Oct 2018  路  4Comments  路  Source: cloud-custodian/cloud-custodian

It would be good if an action on CloudTrail can be added to enable log file validation for new or existing trails.

areactions clouaws kinquestion

Most helpful comment

missing where this isn't possible today, ie. find all the multi-region trails with log file validation disabled via..

policies:
    - name: trails-missing-logfile
      resource: cloudtrail
      filters:
        - IsMultiRegionTrail: true
        - LogFileValidationEnabled: false

Hi kapilt. Could you point me to the documentation for resource: cloudtrail please. I have been using custodian for a month and I am still struggling to find the option I need.

All 4 comments

missing where this isn't possible today, ie. find all the multi-region trails with log file validation disabled via..

policies:
    - name: trails-missing-logfile
      resource: cloudtrail
      filters:
        - IsMultiRegionTrail: true
        - LogFileValidationEnabled: false

@kapilt Apologies but i did not get your comment. Maybe to clarify ,my request was to add some action for CloudTrail to turn log validation on, through C7N if those were detected to be off.

missing where this isn't possible today, ie. find all the multi-region trails with log file validation disabled via..

policies:
    - name: trails-missing-logfile
      resource: cloudtrail
      filters:
        - IsMultiRegionTrail: true
        - LogFileValidationEnabled: false

Hi kapilt. Could you point me to the documentation for resource: cloudtrail please. I have been using custodian for a month and I am still struggling to find the option I need.

custodian schema aws.cloudtrail

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dbfr3qs picture dbfr3qs  路  3Comments

desponda picture desponda  路  3Comments

kwcrook picture kwcrook  路  4Comments

mechastorm picture mechastorm  路  5Comments

zfLQ2qx2 picture zfLQ2qx2  路  3Comments