Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to create inventory #24

Open
Keithsc opened this issue Feb 11, 2019 · 0 comments
Open

How to create inventory #24

Keithsc opened this issue Feb 11, 2019 · 0 comments

Comments

@Keithsc
Copy link

Keithsc commented Feb 11, 2019

Hi I need some help understanding how to use the "inventory" option. I am not sure if I am creating a test file correctly. If i use your example input.cvs then i get the following error...

device name;status;Status (detailed);notes
localhost; active;;should be never
monitor; active;;should not be checked because is in excluded
A_Server; active;;should be ok with burpui
demo2; active; spare; should be wrong spare with burpui

and try and run burp-reports I get the following error....

burp-reports -c /etc/burp/burp-reports.conf --report inventory -i /etc/burp/reports/inventory.csv -o /etc/burp/reports/inventory-{DATE}.csv
Traceback (most recent call last):
File "/usr/local/bin/burp-reports", line 10, in
sys.exit(main())
File "/usr/local/lib/python3.6/site-packages/burp_reports/main.py", line 193, in main
cli_execution(options)
File "/usr/local/lib/python3.6/site-packages/burp_reports/main.py", line 181, in cli_execution
options.o)
File "/usr/local/lib/python3.6/site-packages/burp_reports/reports/clients_reports.py", line 253, in save_compared_inventory
rows_inventory_compared = self.compare_inventory(input_file)
File "/usr/local/lib/python3.6/site-packages/burp_reports/reports/clients_reports.py", line 145, in compare_inventory
encoding=self.common_config.get('csv_encoding'))
File "/usr/local/lib/python3.6/site-packages/invpy_libs/parse_csv.py", line 31, in csv_as_dict
key = row.pop(ref_header.lower())
KeyError: 'device name'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant