microsoft / StigRepo

Automated PowerSTIG Repository for Active Directory environments
38 stars 7 forks source link

Java detection method is looking for "OracleJRE" as the displayname for a application in the Installed Applications List. The displayname does not have "OracleJRE " in it. It has the word "Java". #27

Closed bwwillis closed 2 years ago

bwwillis commented 3 years ago

Bug/Issue Description Provide a clear and concise description the bug/issue Java detection method is looking for "OracleJRE" as the displayname for a application in the Installed Applications List. The displayname does not have "OracleJRE " in it. It has the word "Java".
Reproduction Steps Steps to reproduce the behavior:

Expected Behavior A clear and concise description of what you expected to happen The tool should be able to detect the OracleJRE installed version correctly.

Recommended fix action If applicable, provide recommendations for how the bug/issue should be remediated Can we change the detection to be based on the registry keys ? For 64bit and 32bit versions installed.

HKLM -> SOFTWARE
-> JavaSoft
-> Java Runtime Environment
-> CurrentVersion = 1.8
-> Wow6432Node
-> Java Runtime Environment
-> CurrentVersion = 1.7

Existing Workarounds If applicable, provide any existing workarounds for the bug/issue

Screenshots If applicable, add screenshots to help explain your problem

Additional context Add any other context about the problem here.

wwellington2 commented 2 years ago

Issure resolved in JavaDetectionIssue_#27 PR