mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-03-20 15:30:25 +00:00
- Implemented `script.py` for generating compliance scripts with Jinja2 templating and audit plist creation. - Created `local_report.py` to generate local compliance reports in Excel and HTML formats, including pie chart visualizations. - Developed `mapping.py` to update security rules with custom controls based on CSV input and generate baseline YAML files. - Introduced `scap.py` for creating SCAP-compliant XML files, with support for different OS types and export formats.
736 B
736 B
How to setup project to run on your local machine
Requirements
- Python >= 3.12.1
- Recommended: Macadmins python
- Ruby >= 3.4.4
Python Instructions
Follow the below instructions to setup the environment to work with the project.
Create virtual environment
python3 -m venv .venv
source .venv/bin/activate
Update and install tools
python3 -m pip install --upgrade pip setuptools wheel
python3 -m pip install --upgrade -r requirements.txt
Ruby instructions
Setup bundle configuration file
bundle config path mscp_gems
bundle config bin mscp_gems/bin
Install ruby tools
bundle install
bundle binstubs --all