sagacity
sagacity copied to clipboard
eChecklists not exporting properly when multiple ST&Es exist.
After importing and categorizing the same data into two different ST&Es, one of the ST&Es no longer exports eChecklists properly - it creates the file but it has no eChecklist tabs, only Cover Sheet and Instructions.
I was able to replicate this issue using the sample eChecklist in the shared folder named "Win_10_-_x64-100hosts-modified-eChecklist-29Nov18.xlsx" (I trimmed off hosts after JOAB-67, not sure if it would work with less).
Steps to reproduce:
- Create two Systems, two Sites, and two ST&Es. The data I used was Test System, Test Site, and ST&E 1 (the pre-loaded test data) and Test System 2, Test Site 2, and ST&E 2.
- Import trimmed checklist into first ST&E. Auto-categorize. Verify export works correctly.
- Import trimmed checklist into second ST&E. Auto-categorize. Click export button. File exports but checklist tabs are not present.
Digging a little it looks like get_cat_findings only has hosts in it with tgt_id < 66 (i.e., none of the hosts from the second import). This probably explains the symptom... are you matching findings on import based only on hostname and not also ST&E ID?
Digging a little it looks like get_cat_findings only has hosts in it with tgt_id < 66 (i.e., none of the hosts from the second import). This probably explains the symptom... are you matching findings on import based only on hostname and not also ST&E ID?
Targets have to be linked directly to an ST&E ID, so they are unique as necessary.
Were you able to figure anything else out about this?
No, just like I said, you can replicate it by importing the same unclass echecklist with ~67 hosts into two separate ST&Es.
From: Ryan P [email protected] Sent: Tuesday, February 12, 2019 6:16 PM To: cyberperspectives/sagacity Cc: mshuter; Author Subject: Re: [cyberperspectives/sagacity] eChecklists not exporting properly when multiple ST&Es exist. (#96)
Digging a little it looks like get_cat_findings only has hosts in it with tgt_id < 66 (i.e., none of the hosts from the second import). This probably explains the symptom... are you matching findings on import based only on hostname and not also ST&E ID?
Targets have to be linked directly to an ST&E ID, so they are unique as necessary.
Were you able to figure anything else out about this?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/cyberperspectives/sagacity/issues/96#issuecomment-463013592, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AsBz0x_kJaDHNl3G-1T9kOEHgDilsU0dks5vM2d7gaJpZM4afGgW.