• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

aws/aws-cloudtrail-processing-library: The AWS CloudTrail Processing Library hel ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

aws/aws-cloudtrail-processing-library

开源软件地址(OpenSource Url):

https://github.com/aws/aws-cloudtrail-processing-library

开源编程语言(OpenSource Language):

Java 100.0%

开源软件介绍(OpenSource Introduction):

AWS CloudTrail Processing Library

The AWS CloudTrail Processing Library is a Java client library that makes it easy to build an application that reads and processes CloudTrail log files in a fault tolerant and highly scalable manner.

Features

  • Provides functionality to continuously download CloudTrail log files in a fault tolerant and scalable manner.
  • Serializes the events in JSON format to Plain Old Java Objects (POJO).
  • Provides interfaces to implement your own business logic for selecting which events to process, processing events, handling errors, and handling log processing status updates.

Getting Started

Minimum Requirements

  • AWS Java SDK 1.12.1: To use the AWS CloudTrail Processing Library, you'll need the AWS Java SDK.
  • Java 1.8: The AWS CloudTrail Processing Library requires Java 1.8 (Java SE 8) or later.

Documentation

To learn how to use the AWS CloudTrail Processing Library to build a CloudTrail log processor in Java, read the documentation:

Building From Source

After you've downloaded the code from GitHub, you can build it using Apache Maven. To disable GPG signing in the build, use this command:

mvn clean install -Dgpg.skip=true

Release Notes

Release 1.5.1 (July 26, 2022)

  • Update AWS Java SDK (S3/SQS) version to 1.12.x

Release 1.5.0 (Jan 26, 2022)

  • Added support for implementing custom S3 manager.
  • Added event logging to log file parsing-related exceptions.
  • Added support for parsing optional errorCode field in insightDetails.
  • Updated account ID parsing regex to accept non-numerical values.

Release 1.4.0 (Jan 11, 2021)

  • Added support for parsing the following new top-level optional fields:
    • addendum
    • edgeDeviceDetails
    • tlsDetails
    • sessionCredentialFromConsole
  • Updated the CloudTrail event version to 1.08.

Release 1.3.0 (Jul 30, 2020)

  • Added support for parsing new section, attributions, in insightContext.
  • Added support for parsing new fields, baselineDuration, in statistics section in insightContext.
  • Added thread configuration for s3 client, sqs client, and sqs reader to enable performance tuning.
  • Updated minimum required Java SE version to 1.8.

Release 1.2.0 (Nov 20, 2019)

  • Added support for a new eventCategory attribute to indicate whether an event is a management, data, or Insights event.
  • Added support for Insights events, including new attributes like insightDetails or insightContext.
  • Updated the CloudTrail event version to 1.07.

Release 1.1.3 (Oct 18, 2018)

  • Added support for automatically deleting the initial SNS validation message sent whenever an SNS topic for a trail is configured or updated. In previous releases, these messages had to be manually deleted.

Release 1.1.2 (May 16, 2018)

  • Patch Release 1.1.1

Release 1.1.1 (Nov 30, 2017)

  • Added support for Boolean identification of management events.
  • Updated the CloudTrail event version to 1.06.

Release 1.1.0 (Jun 1, 2017)

  • Add support for different formats for SQS messages from the same SQS queue to identify CloudTrail log files. This includes the following:
    • Notifications that CloudTrail sends to an SNS topic.
    • Notifications that Amazon S3 sends to an SNS topic.
    • Notifications that Amazon S3 sends directly to the SQS queue.
  • Add support for the new deleteMessageUponFailure property. Use this property to delete messages that the CloudTrail Processing Library can't process, such as the following:
    • Parsing message failure:
      • File is not JSON.
      • Notification is not an s3:ObjectCreated:Put event.
      • CloudTrail digest files, and other formats such as .jpeg or txt are unsupported.
    • Consuming log failure, such as processing events in a log file.

Note: If deleteMessageUponFailure is true, the CloudTrail Processing Library may delete messages that it can’t process. The default value is false. Learn more.

Release 1.0.4 (Jan 17, 2017)

  • Add support for ARN prefix to identify the ARNPrefix associated with the resource. Resource must have either ARN or ARNPrefix, but not both.
  • Add support for shared event ID to identify CloudTrail events from the same AWS action that is sent to different AWS accounts.
  • Add support for VPC endpoint ID to identify the VPC endpoint in which requests were made from a VPC to another AWS service, such as Amazon S3.
  • Add support for annotation to identify user provided annotation tagging delivered by CloudTrail.
  • Add support for identity provider to identify the principal name of the external identity provider.

Release 1.0.3 (Oct 5, 2016)

  • Add support for service event, additional information is provided in the serviceEventDetails file.
  • Add support for Resource type to identify the resource's type in a given CloudTrail event.
  • Update AWS Java SDK to version 1.11.
  • Update the latest supported CloudTrail event version to 1.05.
  • Update event version is not supported by CloudTrail warning logging message to debug level.

Release 1.0.1 (Oct 28, 2015)

  • Update AWS Java SDK to version 1.10.

Release 1.0.0 (Nov 3, 2014)

  • Initial release.



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap