Trailscraper

Latest version: v0.8.1

Safety actively analyzes 685670 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.5.1

Added

* New command `guess` to extend existing policy by guessing matching actions 22

Fixed

* Fixed parsing events that contain resources without an ARN (e.g. `s3:ListObjects`) 51

0.5.0

**Breaking CLI changes**: split up `generate-policy` into `select` and `generate` (38)

Added

* New command `select` to print all CloudTrail records matching a filter to stdout
* New command `generate` to take CloudTrail records from stdin and generate a policy for it

Changed

* New command `select` defaults to not filtering at all whereas `generate-policy` filtered for recent events by default.
Changed to make filtering more explicit and predictable instead of surprising users who wonder why their events don't show up

Removed

* Removed command `generate-policy`, replaced with `select` and `generate`. Use pipes to produce the same behavior:
bash
$ trailscraper select | trailscraper generate

0.4.4

Fixed

* Made trailscraper timezone-aware. Until now, trailscraper implicitly treated everything as UTC, meaning relative timestamps (e.g. `now`, `two hours ago`) didn't work properly when filtering logfiles to download or records to generate from. (39)

Added

* New command `trailscraper last-event-timestamp` to get the last known event timestamp.
* New flag `trailscraper download --wait` to wait until events for the specified timeframe are found.
Useful if you are waiting for CloudTrail to ship logs for a recent operation.

0.4.3

_skipped because of release-problems_

0.4.2

Fixed

* Fixed various special cases in mapping CloudTrail to IAM Actions:
* API Gateway
* App Stream 2
* DynamoDB Streams
* Lex
* Mechanical Turk
* S3
* STS
* Tagging

0.4.1

Fixed

* Ignore record files that can't be read (e.g. not valid GZIP) in Python 2.7 (was only working in Python 3.* before)
* Fixed permissions generated for services that include the API version date (e.g. Lambda, CloudFront) (20)

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.