If you are working with fcpc, you can find some bug or unusual behaviour.
From that reason, this guide helps you how to create issue or solve problem.
fcpc -c config.ini command
This is never good to report general errors. Platform is powerful and has lot of diagnostic. Please use it.
At least, you can use fcpc -l audit:WARNING ...
to see basics. If you need basic help, send us at least error code and message produced.
See successful command execution with OK status code
fcpc -l audit:WARNING search asset+
WARNING:audit:Started at 2021-08-23 15:13:52.036465 [pid=9901]: fcpc -l audit:WARNING search asset+
... Command output (like list of results)
WARNING:fcp:Query limit in action! Returning only first 20 rows. See --filter.limit
WARNING:audit:Exit/OK at 2021-08-23 15:13:52.277177 [pid=9901,took=3.7]
See error result
fcpc -l audit:WARNING add nonexist/123
WARNING:audit:Started at 2021-08-23 15:15:21.319588 [pid=9920]: fcpc -l audit:WARNING add nonexist/123
ERROR:fcp:FCPC version dev-ed4d369[2021-08-18,ed4d369] (develop-lm): Exiting with code 20(./bin/fcpc.py/main:114): Object type nonexist does not exists!
WARNING:audit:Exit/Error at 2021-08-23 15:15:21.415363 [pid=9920, took=3.6]: 20/Object type nonexist does not exists!
To create issue, we need more info.
To get report log from command:
fcpc -l report --logfile report.log ...
This command will ensure that report.log contains all the information about what you tried and which were all options. Passwords and sensitive information are stripped automatically so it is safe to add this log to created issue.
Create issue here: https://gitlab.foresightcyber.com/fc/fcp/-/issues/new?issue[assignee_id]=&issue[milestone_id]=