Update PowerSTIG to Parse/Apply Mozilla Firefox STIG - Ver 6, Rel 5
Is your feature request related to a problem? Please describe. Update PowerSTIG to Parse/Apply Mozilla Firefox STIG - Ver 6, Rel 5
Describe the solution you'd like Update PowerSTIG to Parse/Apply Mozilla Firefox STIG - Ver 6, Rel 5
@erjenkin Can you please look at this one. Some rules are failing to convert.
This will require an update to FileContentDSC - to include .json find and replace, currently it handles .ini, .txt, and .conf
FileContentDSC
So we just skip those rules since we do not own that resource?
This is the only type of rule in the STIG, there is no value in skipping them and publishing an update. Path Forward:
- Open an Issue with FIleContentDSC - Add .json support.
- Wait for support or Fork and create PR to add the functionality to that resource.
We cannot support Firefox STIG without an update to FileContentDSC to support .json
The only solution I had was to open an issue requesting FIleContentDSC be updated to support JSON. Doubt it will make the 9/1 deadline, so this STIG should be skipped.
@hinderjd and @erjenkin, would it not work by doing the same as the MS-Edge-1.7.xml; making changes to the registry instead, since the benchmark for Ver 6 Rel 5 tests for registry changes?
With this approach we would need to find out what that path and values in the registry are and update the parser, The STIG only has the UI path and values (The chrome STIG does a better job of calling out the reg path also). This approach would allow us to bypass the FileContentDSC dependency though, so I would be on board if anyone wants to find these three values for each of the rules. If we had these values, I should be able to update the parser to convert this.
RegistryPath: (probably something like this HKLM\Software\Policies\Mozilla\Firefox) RegisteryValue Probably 1 or 0 (enabled/disabled for most) RegistryName: (these will be different than the human readable version in UI):
Example Firefox:
Example Chrome:
I think that you could get the registry path and required values as well as registry name, from an STIG test, I think I could get the list of registry path, names and values. @erjenkin
@erjenkin , here is the stuff you asked for, you can look through this pdf document. I tried to send an html file, but GitHub doesn't allow that so.. Although this is from a 6.4 Benchmark, 6.5 shouldn't be to different.