Metadata-Version: 2.1
Name: os-forge
Version: 0.2.7
Summary: Multi-Platform System Hardening Tool with NTRO SIH25237 Compliance - 394 Rules for Windows, Linux, and macOS
Author-email: Aayushman <aayushman2702@gmail.com>
Keywords: security,hardening,compliance,cis,benchmark,ntro,sih25237,windows,linux,macos,ubuntu,centos,automation,cybersecurity,infrastructure,audit,remediation,mongodb
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: System Administrators
Classifier: Intended Audience :: Information Technology
Classifier: Topic :: System :: Systems Administration
Classifier: Topic :: Security
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Operating System :: OS Independent
Classifier: Environment :: Console
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: fastapi>=0.104.1
Requires-Dist: uvicorn>=0.24.0
Requires-Dist: typer>=0.9.0
Requires-Dist: pydantic>=2.5.0
Requires-Dist: pyyaml>=6.0.1
Requires-Dist: jinja2>=3.1.2
Requires-Dist: weasyprint>=60.2
Requires-Dist: python-multipart>=0.0.6
Requires-Dist: psutil>=5.9.6
Requires-Dist: reportlab>=4.0.7
Requires-Dist: cryptography>=3.4.8
Requires-Dist: pymongo>=4.15.0
Requires-Dist: motor>=3.7.0
Requires-Dist: python-dotenv>=1.0.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: black>=23.0.0; extra == "dev"
Requires-Dist: flake8>=6.0.0; extra == "dev"
Requires-Dist: mypy>=1.0.0; extra == "dev"
Provides-Extra: full
Requires-Dist: psycopg2-binary>=2.9.0; extra == "full"
Requires-Dist: mysql-connector-python>=8.0.0; extra == "full"

OS Forge
========

Multi-Platform System Hardening Tool with NTRO SIH25237 Compliance
- **394 Hardening Rules**: Linux (278), Windows (93), macOS (23)
- **100% NTRO SIH25237 Compliant**: Complete Annexure A & B coverage
- **MongoDB Integration**: Secure cloud-native database support

Installation
------------

```bash
pip install os-forge
```

MongoDB Setup (Required)
------------------------

```bash
# Set environment variables
export MONGODB_URI="mongodb+srv://user:pass@cluster.mongodb.net/?retryWrites=true&w=majority"
export MONGODB_DATABASE="Os-forge"
export MONGODB_COLLECTION="detailsforOS"
```

CLI Help
--------

```bash
os-forge --help
```

Common Commands
---------------

```bash
# Show system info and rule counts
os-forge info

# Run checks (no changes)
os-forge check --level basic --dry-run

# Apply hardening rules
os-forge check --level moderate

# Generate compliance reports
os-forge report
os-forge pdf-report

# MongoDB operations
mongodb-migrate --help
```

Platforms
---------

**Linux**: 278 rules covering filesystem, services, network, SSH, auditing
**Windows**: 93 rules covering account policies, firewall, audit, services  
**macOS**: 23 rules covering system preferences, FileVault, firewall

Notes
-----

- Commands work identically across Linux, Windows, and macOS
- MongoDB Atlas recommended for cloud deployment
- Full documentation: `os-forge --help`
