Is there an existing issue for this?
Are you using the latest version of STIG Manager?
Where are you experiencing the issue?
Current Behavior
When performing an evaluation using evaluate-STIG that encompasses multiple STIGs or multiple instances of a single STIG on a given system, only the last file processed is uploaded to STIGManager. I worked with the Evaluate-STIG dev team and determined Evaluate-STIG is sending all the data across, but only the last one is being added to STIGManager.
Expected Behavior
All STIGs sent by Evaluate-STIG should be loaded into STIGManager
Steps To Reproduce
This was originally noticed on a web server. Evaluate-STIG properly assesses the Apache Server STIG, multiple Apache Site STIGS and the operating system STIG (in that order). The appropriate .CKL files are generated in the OutputPath. However, only the OS STIG is uploaded to STIG Manager. I then did a --SelectSTIG to specify the Apache Server STIG be evaluated separately, and that loaded to STIGManager correctly, so I know it's not Apache that is the issue. Finally, I ran the Site STIG separately, and although it evaluated 65 sites and produced CKL files for each, only the last one processed was pushed to STIGManager. I added debug code to Evaluate-STIG, and found that every STIG sent except the last receives a response of "@{ruleId=SV-214233r960900_rule; reason=no grant for this asset/ruleId}". If you load the STIG individually it works, but if it is loaded via the queue, it fails. Also working issue https://spork.navsea.navy.mil/nswc-crane-division/evaluate-stig/-/issues/2029#note_622921 with the Evaluate-STIG team as I am unsure where the issue is.
Can you provide screenshots, logs, or other useful artifacts?
No response
Describe your Environment
- Hosting: STIGManager 1.4.18 running in a container in AWS.
- Browser: NA / Evaluate-STIG_1.2410.0 pushing data
- OS: Oracle Enterprise Linux 8 and Ubuntu 20.04 LTS
- Node: ??
- npm: ??
Is there an existing issue for this?
Are you using the latest version of STIG Manager?
Where are you experiencing the issue?
Current Behavior
When performing an evaluation using evaluate-STIG that encompasses multiple STIGs or multiple instances of a single STIG on a given system, only the last file processed is uploaded to STIGManager. I worked with the Evaluate-STIG dev team and determined Evaluate-STIG is sending all the data across, but only the last one is being added to STIGManager.
Expected Behavior
All STIGs sent by Evaluate-STIG should be loaded into STIGManager
Steps To Reproduce
This was originally noticed on a web server. Evaluate-STIG properly assesses the Apache Server STIG, multiple Apache Site STIGS and the operating system STIG (in that order). The appropriate .CKL files are generated in the OutputPath. However, only the OS STIG is uploaded to STIG Manager. I then did a --SelectSTIG to specify the Apache Server STIG be evaluated separately, and that loaded to STIGManager correctly, so I know it's not Apache that is the issue. Finally, I ran the Site STIG separately, and although it evaluated 65 sites and produced CKL files for each, only the last one processed was pushed to STIGManager. I added debug code to Evaluate-STIG, and found that every STIG sent except the last receives a response of "@{ruleId=SV-214233r960900_rule; reason=no grant for this asset/ruleId}". If you load the STIG individually it works, but if it is loaded via the queue, it fails. Also working issue https://spork.navsea.navy.mil/nswc-crane-division/evaluate-stig/-/issues/2029#note_622921 with the Evaluate-STIG team as I am unsure where the issue is.
Can you provide screenshots, logs, or other useful artifacts?
No response
Describe your Environment