Skip to content

Commit

Permalink
Fix action docs
Browse files Browse the repository at this point in the history
  • Loading branch information
arikalon1 committed Jan 8, 2025
1 parent d37d34b commit 6df8a32
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions playbooks/robusta_playbooks/babysitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ def resource_babysitter(event: KubernetesAnyChangeEvent, config: BabysitterConfi

class UrlParam(ActionParams):
"""
:var url: url that should be used in the action
:var url: Url that should be used in the action
:var headers: A dictionary of headers to be added to the request.
"""

url: str
Expand All @@ -96,8 +97,8 @@ class UrlParam(ActionParams):
@action
def json_change_tracker(event: KubernetesAnyChangeEvent, params: UrlParam):
"""
post change json to the specified url
this action doesn't create a finding
Posts Kubernetes resource changes as JSON to a specified URL.
This action doesn't create a finding
"""
try:
event_dict = event.obj.to_dict()
Expand Down

0 comments on commit 6df8a32

Please sign in to comment.