Chaostoolkit-google-cloud-platform

Latest version: v0.28.0

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

Scan your dependencies

Page 1 of 8

0.28.0

Added

* `suspend_vm_instance` and `resume_vm_instance` functions to
* `chaosgcp.compute.actions`. These functions suspend a running
* GCE VM instance and resume any suspended GCE VM respectively.
* They can be called for action in experiments as follows:

json
{
"name" : "Suspend VM",
"type" : "action",
"provider": {
"type": "python",
"module": "chaosgcp.compute.actions",
"func": "suspend_vm_instance",
"arguments" : {
"project_id" : "prj-shared-ntwk-prod",
"zone" : "us-central1-b",
"instance_name" : "mig-exp-ig-24w1"
}
}
}
* Added test cases for both the functions as well.
* Added the `chaosgcp.lb.probes.get_fault_injection_traffic_policy` probe

Changed

* Bumped dependencies

0.27.0

Changed

* Drop `logzero` and use `logger = logging.getLOgger("chaostoolkit")` instead
* Bump dependencies

0.26.0

Added

* The `chaosgcp.iam.controls.policy` control to Manage temporary,
* time-bound IAM roles for the specified project and members.
* This controls grants specified IAM roles to the provided members,
* with an expiration time determined by the given expiry_time_in_minutes
* before experiment and revokes the specified IAM roles from the
* provided members after the experiment:

json
"controls": [
{
"name": "gcp-iampolicy-timebound",
"provider": {
"type": "python",
"module": "chaosgcp.iam.controls.policy",
"arguments": {
"project_id":"myproject",
"roles": ["roles/storage.admin"],
"members": ["serviceAccount:dp-sa11myproject.iam.gserviceaccount.com"],
"expiry_time_in_minutes": 10
}
}
}
]

0.25.0

Added

* The `chaosgcp.networkconnectivity.actions` activities to set policy based route

0.24.0

Added

* The `chaosgcp.compute.actions` activities to set tags on resources
* Ensuring actions return a response as per their signature

0.23.0

Added

* The `chaosgcp.dns.actions` activities to update a DNS record

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.