Unreadable log due to messed variables in code 'id' and 'ablity_id'
Describe the bug
Unreadable caldera log:
We get the string <built-in function id> instead of 30cfed4036baf152888affdcd814312c
To Reproduce Steps to reproduce the behavior:
- place an ability .yml file to the folder with invalid tactic name (where 'tactic' inside the .yml file not equal folder name)
- look at log file, a error
ERROR (data_svc.py:168 load_ability_file) Ability=<built-in function id> has wrong tacticshould be generated
Expected behavior

Screenshots see above
Desktop (please complete the following information):
- OS: Kali
- Caldera: 4.0.0
Additional context
Solution:
In the file app/service/data_svc.py -> def load_ability_file -> self.log.error('Ability=%s has wrong tactic' % id)
id should be replaced with ability_id
Looks like your first issue -- we aim to respond to issues as quickly as possible. In the meantime, check out our documentation here: http://caldera.readthedocs.io/
@Morpheme777 Want to open a PR?
@Morpheme777 Want to open a PR?
PR is opened.
This issue is stale because it has been open 20 days with no activity. Remove stale label or comment or this will be closed in 5 days
Closed in #2642