Skip to content

Commit de8312a

Browse files
committed
Merge remote-tracking branch 'origin/v2' into v2
2 parents 7443989 + 0fc35f3 commit de8312a

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,13 @@ This version has broad support for all capabilities of VxWebService APIv2 and mu
2727
- improved file handling
2828
- test coverage
2929

30+
Example: `python3 vxapi.py scan_file C:\file-repo all`
31+
32+
![Alt text](/img/scan_example.png?raw=true "Falcon Sandbox API CLI Example Bulk Quick Scan")
33+
3034
### V1
3135

32-
That app version is still supported as long as VxWebService supports it API version. To use it, please switch to `v1` branch.
36+
The legacy app utilizing the APIv1 is not supported anymore. For backward compatibility, it is still available in the `v1` branch.
3337

3438
Usage
3539
---

cli/cli_prompts.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ def prompt_for_sharing_confirmation(args, instance_url):
99
warning_msg += ' [y/n]'
1010
submit_warning = input(warning_msg)
1111
if not submit_warning or submit_warning[0].lower() != 'y':
12-
print('You did not indicate approval, exiting ...')
12+
print('You did not indicate approval. Exiting ...')
1313
exit(1)
1414

1515
@staticmethod
1616
def prompt_for_dir_content_submission(if_multiple_calls, args):
1717
if if_multiple_calls is True:
1818
number_of_files_to_submit = len(args['file'])
1919
if args['quiet'] is False and number_of_files_to_submit > 1:
20-
warning_msg = 'Are you sure that you want to submit the content of selected directory? It contains {} of files. [y/n]'.format(number_of_files_to_submit)
20+
warning_msg = 'Are you sure that you want to submit all files in the specified directory? It contains {} files. [y/n]'.format(number_of_files_to_submit)
2121
submit_warning = input(warning_msg)
2222
if not submit_warning or submit_warning[0].lower() != 'y':
23-
print('You did not indicate approval, exiting ...')
23+
print('You did not indicate approval. Exiting ...')
2424
exit(1)

img/cli_example.png

11.3 KB
Loading

img/scan_example.png

41.1 KB
Loading

0 commit comments

Comments
 (0)