Metadata-Version: 2.4
Name: rulestamp-audit-log-retention-lint
Version: 1.0.2
Summary: Log retention lint for Loki, CloudWatch, ILM, S3 and Kubernetes audit YAML (bundled Node.js runtime)
Author-email: Rulestamp <support@getreadystack.com>
License: Proprietary - see LICENSE.txt
Project-URL: Homepage, https://getreadystack.com/tools/audit-log-retention-lint?ref=pypi
Project-URL: Documentation, https://getreadystack.com/tools/audit-log-retention-lint?ref=pypi
Project-URL: Support, https://getreadystack.com/support
Keywords: log retention,pci dss,audit log,loki,cloudwatch,cert-in,kubernetes audit,elasticsearch ilm
Classifier: Programming Language :: Python :: 3
Classifier: Environment :: Console
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: nodejs-wheel-binaries>=20
Dynamic: license-file

# Audit Log Retention Lint (PCI DSS, CERT-In)

> Runs the same checker as our npm package on a Node.js runtime that pip installs for you (`nodejs-wheel-binaries`) - no system Node.js needed. Your files are checked locally.

![Audit Log Retention Lint (PCI DSS, CERT-In) — finds the line](https://getreadystack.com/img/promo/audit-log-retention-lint_demo.gif)

![Audit Log Retention Lint (PCI DSS, CERT-In)](https://getreadystack.com/img/promo/sku303425_result_card.jpg)

Log retention lint for Loki, CloudWatch, ILM, S3 and Kubernetes audit YAML

## Install

```
audit-log-retention-lint file
```

Node 18+. The same 9 rules as the VS Code extension, from a terminal or CI.

## Free

- Every retention finding in the open YAML file, with the clause and the value that passes, no key needed: Loki retention_period, Loki stream period, RetentionInDays, retentionDays, ILM delete min_age, --audit-log-maxage, S3 expiration, S3 archive transition, CERT-In region.
- `--rules` lists every rule

## With a licence ($29 once)

- Workspace evidence report: every log store's retention across all YAML files in one Markdown table (value, minimum, clause) for your QSA or auditor.

```
audit-log-retention-lint --dir ./templates --report html --out report.html
```

One hour of a lawyer with 15 years' experience is $851 on the DOJ Fitzpatrick Matrix (billing year 2026).

## Use from an AI agent (MCP)

Claude Code · Cursor · Windsurf · any MCP client - add to your MCP config:

```json
{ "mcpServers": { "audit-log-retention-lint": { "command": "audit-log-retention-lint", "args": ["--mcp"] } } }
```

Tools: `check_text` and `check_file` (free) · `check_dir` (licence). The agent gets every finding with the line number.

## Use in CI

```yaml
- name: Audit Log Retention Lint (PCI DSS, CERT-In)
  run: pip install rulestamp-audit-log-retention-lint && audit-log-retention-lint --dir . --ci
```


The folder sweep, reports and CI mode need one licence — one payment, no subscription. Set `READYSTACK_LICENSE=<key>` or run `--license <key>` once.

[Get a licence](https://getreadystack.com/api/buy/cl/polar_cl_73892EssmeKJZXapgXXgmOIMw47IdPQLP1lWX0gxfLm)


<!-- log retention -->


## Install (PyPI)

```
pip install rulestamp-audit-log-retention-lint
audit-log-retention-lint --help
```
