Skip to content

Releases: GitGuardian/py-gitguardian

1.16.0

29 Jul 08:06
Compare
Choose a tag to compare

Added

  • GGClient now contains remediation messages obtained from the API /metadata endpoint.

1.15.2

24 Jun 11:48
Compare
Choose a tag to compare

Changed

  • The project now uses pdm instead of pipenv.

Fixed

  • GGClient no longer crashes when it receives a server response with no Content-Type header.

1.14.0

26 Feb 13:00
Compare
Choose a tag to compare

Added

  • Add GGClient.create_honeytoken_with_context() method
  • Export scan schemas in addition to dataclasses for sca

1.13.0

30 Jan 11:53
8dbaa2f
Compare
Choose a tag to compare

Added

  • Added maximum payload size as a property of GGClient

Changed

  • Set minimum Python version to >=3.8

1.12.0

08 Jan 13:00
Compare
Choose a tag to compare

Added

  • GGClient now obeys rate-limits and can notify callers when hitting one.
  • Added the following attributes to IaCVulnerability: url, status, ignored_until, ignore_reason, ignore_comment.
  • Added the source_found attribute to IaCScanParameters and IaCDiffScanEntities.

1.11.0

16 Oct 08:43
da40761
Compare
Choose a tag to compare

Added

  • Added extra_headers to SCA diff scans.

v1.10.0

26 Sep 11:15
c548f7b
Compare
Choose a tag to compare

Added

  • Move SCA models from ggshield to py-gitguardian

Fixed

  • Remove potential_siblings from ComputeSCAFilesResult
  • Fix test_sca_scan_directory to make it more future proof.

1.9.0

10 Aug 10:23
Compare
Choose a tag to compare

Added

  • Added the GGClient.iac_diff_scan() method. This allows scanning two directories for IaC vulnerabilities and categorizing incidents as new, unchanged or deleted.

Fixed

  • Fixed a bug where py-gitguardian would sometimes increase the length of a document when preparing it to be sent to the secret scan API.

1.8.0

26 Jun 10:04
Compare
Choose a tag to compare

Added

  • Added GGClient.create_jwt() method.

  • py-gitguardian is now fully type-hinted (#49).

Changed

  • All HTTP requests are now logged using Python logger. The log message includes the HTTP method, endpoint, status code and duration.

Fixed

  • GGClient.iac_directory_scan() was not correctly sending the files to scan.

1.7.0

29 May 13:58
v1.7.0
c1e2371
Compare
Choose a tag to compare

Added

  • Added GGClient.create_honeytoken() method.

  • Added GGClient.read_metadata() to read metadata from the server. The metadata is then used by further secret scan calls and is available in a new GGClient.secret_scan_preferences attribute.