Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/_docs/user-guide/eldritch.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ of the broader tome.
`agent.set_callback_interval(new_interval: int) -> None`

The <b>agent.set_callback_interval</b> method takes an unsigned int and changes the
running agent's callback interval to the passed value. This configuration change will
running agent's callback interval to the passed value as seconds. This configuration change will
not persist across agent reboots.

### agent.set_callback_uri
Expand Down
6 changes: 6 additions & 0 deletions tavern/tomes/agent_callback_time/main.eldritch
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
def set_callback_interval(interval):
agent.set_callback_interval(interval)
print(f"Set agent callback time to {interval} seconds")


set_callback_interval(int(input_params['time']))
10 changes: 10 additions & 0 deletions tavern/tomes/agent_callback_time/metadata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Set agent callback time
description: Modify the agents callback interval.
author: hulto
tactic: DEFENSE_EVASION
support_model: FIRST_PARTY
paramdefs:
- name: time
type: string
label: Callback time in seconds
placeholder: "128"
6 changes: 6 additions & 0 deletions tavern/tomes/agent_callback_uri/main.eldritch
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
def set_callback_uri(uri):
agent.set_callback_uri(uri)
print(f"Set agent callback uri to {uri}")


set_callback_uri(input_params['uri'])
10 changes: 10 additions & 0 deletions tavern/tomes/agent_callback_uri/metadata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Set agent callback URI
description: Modify the agents callback URI.
author: hulto
tactic: DEFENSE_EVASION
support_model: FIRST_PARTY
paramdefs:
- name: uri
type: string
label: New callback URI
placeholder: "128"
Loading