google.cloud.forseti.notifier.notifiers.gcs_violations module

Upload violations to GCS.

class GcsViolations(resource, inventory_index_id, violations, global_configs, notifier_config, notification_config)[source]

Bases: google.cloud.forseti.notifier.notifiers.base_notification.BaseNotification

Upload violations to GCS.

_abc_cache = <_weakrefset.WeakSet object>
_abc_negative_cache = <_weakrefset.WeakSet object>
_abc_negative_cache_version = 186
_abc_registry = <_weakrefset.WeakSet object>
run()[source]

Generate the temporary (CSV xor JSON) file and upload to GCS.