Metadata-Version: 2.4
Name: niyam-cli
Version: 0.1.0
Summary: CERT-In Directions and SEBI CSCRF evidence scanner for cloud exports, hosts and repositories (runs the signed niyam binary)
Author: Breaktrough
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/Breaktroughf1/niyam
Project-URL: Source, https://github.com/Breaktroughf1/niyam
Project-URL: Issues, https://github.com/Breaktroughf1/niyam/issues
Keywords: cert-in,sebi,cscrf,compliance,india,audit,logging,evidence
Classifier: Environment :: Console
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: Microsoft :: Windows
Classifier: Topic :: Security
Classifier: Topic :: Software Development :: Quality Assurance
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# niyam (PyPI)

Runs [niyam](https://github.com/Breaktroughf1/niyam), which checks your cloud exports, servers and repositories control by control against the CERT-In Directions (2022) and SEBI's CSCRF, and writes the evidence pack auditors ask for.

```sh
uvx --from niyam-cli niyam init
uvx --from niyam-cli niyam scan evidence/
uvx --from niyam-cli niyam incident new --category 1 --detected now
```

or `pipx install niyam-cli` / `pip install niyam-cli`.

This package contains no binary and runs nothing at install time. On first run it downloads the niyam release archive for your platform from GitHub, checks it against the SHA-256 baked into this package (copied from the release's Sigstore-verified `checksums.txt` when the package was built in CI, and published to PyPI with trusted publishing and attestations), extracts only the `niyam` binary into your user cache, and re-checks the binary's hash on every run. A mismatch stops it before anything runs.

The package version matches the niyam version it installs. Exit codes are niyam's: 0 ok, 1 controls not met (see --fail-on), 2 usage error, 3 runtime error (including a failed download or checksum mismatch). Other ways to install: Homebrew (`brew install breaktroughf1/tap/niyam`), `go install`, the container image and signed release downloads; see the [README](https://github.com/Breaktroughf1/niyam#install).
