{"id":24857378,"url":"https://github.com/blend/fluent-plugin-cloudtrail","last_synced_at":"2025-10-15T03:30:21.239Z","repository":{"id":56846910,"uuid":"76695064","full_name":"blend/fluent-plugin-cloudtrail","owner":"blend","description":"Fluentd input plugin for AWS CloudTrail","archived":false,"fork":false,"pushed_at":"2017-03-17T19:59:25.000Z","size":6,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-07T17:52:34.570Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blend.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-17T00:33:38.000Z","updated_at":"2024-01-16T00:55:51.000Z","dependencies_parsed_at":"2022-09-12T11:13:08.311Z","dependency_job_id":null,"html_url":"https://github.com/blend/fluent-plugin-cloudtrail","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/blend/fluent-plugin-cloudtrail","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blend%2Ffluent-plugin-cloudtrail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blend%2Ffluent-plugin-cloudtrail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blend%2Ffluent-plugin-cloudtrail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blend%2Ffluent-plugin-cloudtrail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blend","download_url":"https://codeload.github.com/blend/fluent-plugin-cloudtrail/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blend%2Ffluent-plugin-cloudtrail/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006839,"owners_count":26084206,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-31T17:53:20.265Z","updated_at":"2025-10-15T03:30:20.926Z","avatar_url":"https://github.com/blend.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fluent-plugin-cloudtrail\n\n*Deprecated: Consider using fluent-plugin-s3.*\n\nFluentd input plugin for AWS CloudTrail\n\n## Install\n\n### RubyGems\n\n```\n$ gem install fluent-plugin-cloudtrail\n```\n\n### td-agent\n\n```\n$ td-agent-gem install fluent-plugin-cloudtrail\n```\n\n## Example config\n\n```\n# Get events from CloudTrail\n\u003csource\u003e\n  type cloudtrail\n  sqs_url \u003cSQS_URL\u003e\n  role_arn \u003cROLE_ARN\u003e\n  tag cloudtrail\n\u003c/source\u003e\n\n# Filter CloudTrail logs\n\u003cfilter cloudtrail\u003e\n  type grep\n  regexp1 eventSource ^signin\\.amazonaws\\.com$\n\u003c/filter\u003e\n\n# Store CloudTrail data in Elasticsearch\n\u003cmatch cloudtrail\u003e\n  @type copy\n  \u003cstore\u003e\n    @type elasticsearch\n    hosts https://\u003cELASTICSEARCH_DOMAIN_ENDPOINT\u003e:443/\n    type_name cloudtrail\n    include_tag_key true\n    tag_key @log_name\n    logstash_format true\n    flush_interval 10s\n    time_key eventTime\n  \u003c/store\u003e\n  \u003cstore\u003e\n    @type stdout\n  \u003c/store\u003e\n\u003c/match\u003e\n```\n\n## IAM Policy\n\n```\n{\n    \"Version\": \"2012-10-17\",\n    \"Statement\": [\n        {\n            \"Action\": [\n                \"sqs:GetQueueUrl\",\n                \"sqs:ReceiveMessage\",\n                \"sqs:DeleteMessage\"\n            ],\n            \"Resource\": \"arn:aws:sqs:us-east-1:123456789012:cloudtrail-sqs-queue-name\",\n            \"Effect\": \"Allow\",\n            \"Sid\": \"AllowReadSqs\"\n        },\n        {\n            \"Action\": [\n                \"s3:GetObject\"\n            ],\n            \"Resource\": \"arn:aws:s3:::cloudtrail-bucket-name/*\",\n            \"Effect\": \"Allow\",\n            \"Sid\": \"AllowReadS3Objects\"\n        }\n    ]\n}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblend%2Ffluent-plugin-cloudtrail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblend%2Ffluent-plugin-cloudtrail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblend%2Ffluent-plugin-cloudtrail/lists"}