CtrlK
BlogDocsLog inGet started
Tessl Logo

golikovichev/secure-log2test

Turn a Kibana JSON log export into a runnable pytest suite using the secure-log2test CLI. Use when the user has a Kibana or Elasticsearch JSON export of API traffic and wants a regression suite from production logs, when extracting test cases from staging traffic, when scrubbing auth headers or secret-looking body fields before logs leave the laptop, when bridging Kibana-captured requests into a pytest-based suite for CI, when the user mentions Kibana logs, Elasticsearch JSON export, log-to-test conversion, log replay tests, auth header redaction, PII in logs, or regression tests from production traffic.

92

1.00x
Quality

100%

Does it follow best practices?

Impact

93%

1.00x

Average score across 2 eval scenarios

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

CONTRIBUTING.md

Contributing

Thanks for your interest in secure-log2test. This is a small project, so the contribution flow is simple.

Reporting a bug

Open an issue with:

  • What you ran (command + Python version)
  • What you expected
  • What happened instead
  • A minimal Kibana export sample if the bug is parser-related (strip secrets first)

Suggesting a feature

Open an issue first so we can talk through the use case before you write code. Keeps both of us from wasting time.

Submitting a pull request

  1. Fork the repo and create a branch from main.
  2. Make your changes. Keep the diff focused on one thing.
  3. Add or update tests in tests/. The CI runs pytest -v on Python 3.10 and 3.11.
  4. Run the tests locally before pushing:
    pip install -r requirements.txt
    pytest -v
  5. Open the PR with a short description of what changed and why.

Code style

  • Plain Python, no extra dependencies unless there's a real reason.
  • Function and variable names in English, lowercase with snake_case (e.g., parse_log_line).
  • One responsibility per function. If a function grows past 30-40 lines, split it.

Security

If you find something that could leak secrets from a real log file, please email me directly instead of opening a public issue. Address is on my GitHub profile.

CHANGELOG.md

CONTRIBUTING.md

README.md

REFERENCE.md

RELEASING.md

requirements.txt

SECURITY.md

SKILL.md

tessl.json

tile.json