@@ -531,7 +531,7 @@ Different stats about the vulnerabilities in Faraday.
531531
532532### agent list
533533
534- List all configured agents for a workspace .
534+ List all configured agents.
535535
536536
537537```
@@ -546,7 +546,6 @@ $ faraday-cli agent list
546546
547547| Syntax | Description |
548548| :----- | ------: |
549- | ` -w WORKSPACE_NAME ` | Workspace name |
550549| ` -p/--pretty ` | Show table in a pretty format |
551550| ` -j/--json-output ` | Show output in json |
552551
@@ -584,7 +583,6 @@ Executors:
584583
585584| Syntax | Description |
586585| :----- | ------: |
587- | ` -w WORKSPACE_NAME ` | Workspace name |
588586| ` -p/--pretty ` | Show table in a pretty format |
589587| ` -j/--json-output ` | Show output in json |
590588
@@ -596,7 +594,7 @@ Run an executor.
596594!!! info
597595 You can pass the executor parameters via stdin.
598596 ```
599- $ echo '{"target": "www.google.com"}' | faraday-cli agent run -a 1 -e nmap --stdin
597+ $ echo '{"target": "www.google.com"}' | faraday-cli agent run -a 1 -e nmap --stdin --workspace-name my_workspace
600598 ```
601599 If no ``` -p ``` or ``` --stdin ``` argument is provided, then the executor parameters will be asked one by one.
602600
@@ -628,26 +626,27 @@ Run an executor.
628626!!! warning
629627 If you pass the executor parameters as an argument it needs to be escaped like this (only in command mode, not in shell mode).
630628 ```
631- $ faraday-cli agent run -a 1 -e nmap -p \' '{"target": "www.google .com"}'\'
629+ $ faraday-cli agent run -a 1 -e nmap -p \' '{"target": "www.go ogle .com"}'\'
632630 Running executor: unnamed_agent/nmap
633631 Parameters: {"TARGET": "www.google.com"}
634632 Generated Command: 13
635633 ```
636634
637635* Required Arguments:*
638636
639- | Syntax | Description |
640- | :----- | ------: |
641- | ` -a/--agent-id AGENT_ID ` | ID of the agent |
637+ | Syntax | Description |
638+ | :--------------------------------------- | ------: |
639+ | ` -a/--agent-id AGENT_ID ` | ID of the agent |
642640| ` -e/--executor-name EXECUTOR_NAME ` | Executor name |
643- | ` -p/--executor-params EXECUTOR_PARAMS ` | Executor Params in json |
641+ | ` -p/--executor-params EXECUTOR_PARAMS ` | Executor Params in json |
642+ | ` -w --workpsace-name ` | Workspace name |
644643
645644* Optional Arguments:*
646645
647646| Syntax | Description |
648647| :----- | ------: |
649648| ` --stdin ` | Read executor-params from stdin |
650- | ` -w WORKSPACE_NAME ` | Workspace name |
649+
651650
652651
653652## Executive Reports
0 commit comments