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

eChecklists not exporting properly when multiple ST&Es exist. #96

Open
mshuter opened this issue Feb 1, 2019 · 3 comments
Open

eChecklists not exporting properly when multiple ST&Es exist. #96

mshuter opened this issue Feb 1, 2019 · 3 comments
Assignees
Milestone

Comments

@mshuter
Copy link

mshuter commented Feb 1, 2019

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:

  1. 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.
  2. Import trimmed checklist into first ST&E. Auto-categorize. Verify export works correctly.
  3. Import trimmed checklist into second ST&E. Auto-categorize. Click export button. File exports but checklist tabs are not present.
@mshuter
Copy link
Author

mshuter commented Feb 1, 2019

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?

@godsgood33
Copy link
Collaborator

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?

@mshuter
Copy link
Author

mshuter commented Feb 13, 2019 via email

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

No branches or pull requests

3 participants