mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 14:03:24 +00:00
- CHANGELOG updated - Move logging initialization from cli.py to mscp.py - Update Readme -- Link to new mSCP Document site - Revert Rule folder changes - Move mscp_data to a variable used throughout the module - Refactor tags logic to handle rules without tags - Refactor baseline.py to work with both tags and baselines - Refactor jinja2 templates for documents -- Single folder for common templates -- Logic for which document type to do -- Folders with templates to complex to create a single template - Refactor documents.py -- Reduced functions for handling conversion from asciidoc to markdown -- Removed generate_markdown and generate_adoc functions for more unified function generate_document
24 lines
466 B
Python
Executable File
24 lines
466 B
Python
Executable File
#! .venv/bin/python3
|
|
# filename: mscp.py
|
|
|
|
# Standard python modules
|
|
import sys
|
|
|
|
# Local python modules
|
|
from src.mscp.cli import parse_cli
|
|
from src.mscp.common_utils.logger_instance import logger
|
|
from src.mscp.common_utils.logging_config import set_logger
|
|
|
|
logger.enable("mscp")
|
|
logger = set_logger()
|
|
logger.info("=== Logging Initialized ===")
|
|
logger.info("LOGGING LEVEL: INFO")
|
|
|
|
|
|
def main() -> None:
|
|
parse_cli()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
sys.exit(main())
|