NetworkingΒΆ
Http RequestsΒΆ
Http getΒΆ
Playbook Action: http_get
Run an http GET against a url, from within the cluster. Optionally, send the response as a finding.
Add this to your Robusta configuration (Helm values.yaml):
customPlaybooks:
- actions:
- http_get:
url: string
triggers:
- on_pod_create: {}
The above is an example. Try customizing the trigger and parameters.
- url (str)
In cluster target url.
- get_response (bool)
(optional) (Default: False) Send results to sink.
- params (dict)
(optional) Dictionary, list of tuples or bytes to send
in the query string
This action can be manually triggered using the Robusta CLI:
robusta playbooks trigger http_get url=URL
Http postΒΆ
Playbook Action: http_post
Run an http POST against a url, from within the cluster. Optionally, send the response as a finding.
Add this to your Robusta configuration (Helm values.yaml):
customPlaybooks:
- actions:
- http_post:
url: string
triggers:
- on_pod_create: {}
The above is an example. Try customizing the trigger and parameters.
- url (str)
In cluster target url.
- data (complex)
(optional) Dictionary, list of tuples, bytes, or file-like
object to send in the body of request.
each entry is one of the following:(<class 'dict'>, <class 'str'>, <class 'bytes'>, typing.List[tuple])
- headers (dict)
- get_response (bool)
(optional) (Default: False) Send results to sink.
This action can be manually triggered using the Robusta CLI:
robusta playbooks trigger http_post url=URL
Http putΒΆ
Playbook Action: http_put
Run an http PUT against a url, from within the cluster. Optionally, send the response as a finding.
Add this to your Robusta configuration (Helm values.yaml):
customPlaybooks:
- actions:
- http_put:
url: string
triggers:
- on_pod_create: {}
The above is an example. Try customizing the trigger and parameters.
- url (str)
In cluster target url.
- data (complex)
(optional) Dictionary, list of tuples, bytes, or file-like
object to send in the body of request.
each entry is one of the following:(<class 'dict'>, <class 'str'>, <class 'bytes'>, typing.List[tuple])
- headers (dict)
- get_response (bool)
(optional) (Default: False) Send results to sink.
This action can be manually triggered using the Robusta CLI:
robusta playbooks trigger http_put url=URL
In-Cluster PingΒΆ
Incluster pingΒΆ
Playbook Action: incluster_ping
Check network connectivity in your cluster using ping. Pings a hostname from within the cluster
Add this to your Robusta configuration (Helm values.yaml):
customPlaybooks:
- actions:
- incluster_ping:
hostname: string
triggers:
- on_pod_create: {}
The above is an example. Try customizing the trigger and parameters.
- hostname (str)
Ping target host name.
This action can be manually triggered using the Robusta CLI:
robusta playbooks trigger incluster_ping hostname=HOSTNAME