Spring
assaults_configuration
Get the current assaults configuration from the specified service
Below are the details and signature of the activity Python module.
Type | action |
Module | chaosspring.actions |
Name | enable_chaosmonkey |
Return | string |
Usage
JSON
{
"name": "enable-chaosmonkey",
"type": "action",
"provider": {
"type": "python",
"module": "chaosspring.actions",
"func": "enable_chaosmonkey",
"arguments": {
"base_url": ""
}
}
}
YAML
name: enable-chaosmonkey
provider:
arguments:
base_url: ""
func: enable_chaosmonkey
module: chaosspring.actions
type: python
type: action
Arguments
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
base_url | string | Yes | Base URL | URL of the Chaos Monkery service | |
headers | mapping | null | No | Headers | Headers to pass to the call |
timeout | number | null | No | Timeout | Call must suceeed within this timeout period |
Signature
def enable_chaosmonkey(base_url: str,
headers: Dict[str, Any] = None,
timeout: float = None,
configuration: Dict[str, Dict[str, str]] = None,
secrets: Dict[str, Dict[str, str]] = None) -> str:
pass