Aperture-py

Latest version: v2.26.0

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

Scan your dependencies

Page 13 of 53

2.19.3

Changelog

List of aperture PRs merged since 2.19.2 release. For the full list of changes, see [list of changes][changes]

Fixes in policy deserialization and hashing (2787)

This fixes the "rpc error: code = Internal desc = grpc: error while marshaling:
string field contains invalid UTF-8" in `aperturectl policies`, which was
caused by attempt to unmarshal protowire policy as JSON, which caused the
garbage byte to end up in error message, which we put in Reason field of the
response.

Now the "unmarshal proto or JSON" logic is extracted to a function and used in
all places that interact with api/policies in etcd.

Also, this commit makes policy hashes (more) deterministic (proto marshalling
is not deterministic by default and in cases maps were used in policy (eg.
label matcher), the policy hash could change on controller restart).


add consul integration docs (2621)

- New Feature: Added a comprehensive guide for Consul integration. This
includes detailed instructions on prerequisites, installation steps,
verification of the installation, and uninstallation process.
- Documentation: Provided support information for different versions and
service defaults. Also included are visual aids with images for both
light and dark modes to enhance user understanding.
---------

Co-authored-by: Hardik Shingala <hardik.shingalafluxninja.com>

[changes]: https://github.com/fluxninja/aperture/compare/releases/aperture-controller/v2.19.2...releases/aperture-controller/v2.19.3

2.19.3rc.1

Changelog

List of aperture PRs merged since 2.19.2 release. For the full list of changes, see [list of changes][changes]

Fixes in policy deserialization and hashing (2787)

This fixes the "rpc error: code = Internal desc = grpc: error while marshaling:
string field contains invalid UTF-8" in `aperturectl policies`, which was
caused by attempt to unmarshal protowire policy as JSON, which caused the
garbage byte to end up in error message, which we put in Reason field of the
response.

Now the "unmarshal proto or JSON" logic is extracted to a function and used in
all places that interact with api/policies in etcd.

Also, this commit makes policy hashes (more) deterministic (proto marshalling
is not deterministic by default and in cases maps were used in policy (eg.
label matcher), the policy hash could change on controller restart).


add consul integration docs (2621)

- New Feature: Added a comprehensive guide for Consul integration. This
includes detailed instructions on prerequisites, installation steps,
verification of the installation, and uninstallation process.
- Documentation: Provided support information for different versions and
service defaults. Also included are visual aids with images for both
light and dark modes to enhance user understanding.
---------

Co-authored-by: Hardik Shingala <hardik.shingalafluxninja.com>

[changes]: https://github.com/fluxninja/aperture/compare/releases/aperture-controller/v2.19.2...releases/aperture-controller/v2.19.3-rc.1

2.19.2

Changelog

List of aperture PRs merged since 2.19.1 release. For the full list of changes, see [list of changes][changes]

Add inframeter to missing receiver dashboard queries (2773)

- Refactor: Improved code readability and maintainability in
`es_time_series.libsonnet` by defining queries as separate variables.
- New Feature: Added `infra_meter_name` filter to queries in
`es_time_series.libsonnet`, `pgsql_static.libsonnet`,
`pgsql_time_series.libsonnet`, `rmq_static.libsonnet`, and
`rmq_time_series.libsonnet` for more accurate metric calculations.
- Refactor: Modified `datasource` parameter handling in
`rmq_time_series.libsonnet` for better data filtering based on
`infra_meter_name` and `state` fields.

Add policy hash to UpsertPolicy response (2755)

Drive-by: Simplify Upsert to do an unconditional Put, moving the
"avoid accidental overwrite" check to aperturectl itself.

grpc: add server keepalive parameters (2777)

- New Feature: Implemented server-side gRPC keepalive parameters. This
enhancement improves the robustness of network connections by
periodically sending ping frames and enforcing policy for client pings,
reducing the likelihood of dropped connections due to network inactivity
or instability.

[changes]: https://github.com/fluxninja/aperture/compare/releases/aperture-controller/v2.19.1...releases/aperture-controller/v2.19.2

2.19.2rc.1

Changelog

List of aperture PRs merged since 2.19.1 release. For the full list of changes, see [list of changes][changes]

Add policy hash to UpsertPolicy response (2755)

Drive-by: Simplify Upsert to do an unconditional Put, moving the
"avoid accidental overwrite" check to aperturectl itself.

grpc: add server keepalive parameters (2777)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
Summary by CodeRabbit

- New Feature: Implemented server-side gRPC keepalive parameters. This
enhancement improves the robustness of network connections by
periodically sending ping frames and enforcing policy for client pings,
reducing the likelihood of dropped connections due to network inactivity
or instability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

[changes]: https://github.com/fluxninja/aperture/compare/releases/aperture-controller/v2.19.1...releases/aperture-controller/v2.19.2-rc.1

2.19.1

Changelog

List of aperture PRs merged since 2.19.0 release. For the full list of changes, see [list of changes][changes]

logging: add log when new token buckets are instantiated (2769)


Fix unmarshalling in getPolicyResponse (2766)

Now policies are saved as JSON in etcd so we need to change the
getPolicyResponse unmarshaller as well

logging: add log when new token buckets are instantiated (2768)


Simplify newer version behaviour for aperturectl (2764)

- Refactor: Updated the assignment of `blueprintsCacheRoot` and
`builderCacheRoot` variables in `PullRunE` and `BuildCmd` functions
respectively, replacing hardcoded paths with dynamic ones for better
flexibility and maintainability.
- Refactor: Renamed and updated several functions in the Cloud
Controller for clarity and error handling improvements.
- New Feature: Added logic to remove cache directories if the current
version is newer, improving system cleanliness.
- New Feature: Introduced global variables in the `utils` package for
better code modularity.
- Refactor: Updated the `versionFilePath` assignment to use a dynamic
path, enhancing code flexibility.

[changes]: https://github.com/fluxninja/aperture/compare/releases/aperture-controller/v2.19.0...releases/aperture-controller/v2.19.1

2.19.1rc.1

Changelog

List of aperture PRs merged since 2.19.0 release. For the full list of changes, see [list of changes][changes]

logging: add log when new token buckets are instantiated (2769)


Fix unmarshalling in getPolicyResponse (2766)

Now policies are saved as JSON in etcd so we need to change the
getPolicyResponse unmarshaller as well

logging: add log when new token buckets are instantiated (2768)


Simplify newer version behaviour for aperturectl (2764)

- Refactor: Updated the assignment of `blueprintsCacheRoot` and
`builderCacheRoot` variables in `PullRunE` and `BuildCmd` functions
respectively, replacing hardcoded paths with dynamic ones for better
flexibility and maintainability.
- Refactor: Renamed and updated several functions in the Cloud
Controller for clarity and error handling improvements.
- New Feature: Added logic to remove cache directories if the current
version is newer, improving system cleanliness.
- New Feature: Introduced global variables in the `utils` package for
better code modularity.
- Refactor: Updated the `versionFilePath` assignment to use a dynamic
path, enhancing code flexibility.

[changes]: https://github.com/fluxninja/aperture/compare/releases/aperture-controller/v2.19.0...releases/aperture-controller/v2.19.1-rc.1

Page 13 of 53

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.