{"id":41276962,"url":"https://github.com/phantomcyber/soar-app-linter","last_synced_at":"2026-01-23T02:36:19.197Z","repository":{"id":308944063,"uuid":"1034617862","full_name":"phantomcyber/soar-app-linter","owner":"phantomcyber","description":"Linter mirroring SOAR platform linter to ensure we can verify app validation in connector pipeline","archived":false,"fork":false,"pushed_at":"2025-08-25T22:40:07.000Z","size":113,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-26T00:28:49.030Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phantomcyber.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-08T17:27:27.000Z","updated_at":"2025-08-22T19:37:57.000Z","dependencies_parsed_at":"2025-08-26T00:17:17.493Z","dependency_job_id":"819d92a0-efc2-4a5d-b3cd-a6667e0d5fa0","html_url":"https://github.com/phantomcyber/soar-app-linter","commit_stats":null,"previous_names":["phantomcyber/soar-app-linter"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/phantomcyber/soar-app-linter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phantomcyber%2Fsoar-app-linter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phantomcyber%2Fsoar-app-linter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phantomcyber%2Fsoar-app-linter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phantomcyber%2Fsoar-app-linter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phantomcyber","download_url":"https://codeload.github.com/phantomcyber/soar-app-linter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phantomcyber%2Fsoar-app-linter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28679117,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T01:00:35.747Z","status":"online","status_checked_at":"2026-01-23T02:00:08.296Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-23T02:36:18.606Z","updated_at":"2026-01-23T02:36:19.190Z","avatar_url":"https://github.com/phantomcyber.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SOAR App Linter\n\nLint Splunk SOAR apps with pylint and SOAR-specific rules. Simple CLI, CI-friendly output.\n\n## Features\n\n- Pylint 3.3.6 (matches SOAR platform)\n- SOAR-specific pylint plugins\n- Auto-create missing `__init__.py` files\n- Text or JSON output; exit code 0/1 for CI\n- Python 3.13 compatible and app.json validation\n\n## Installation\n\n1. Use Python 3.13\n1. Create a venv and install:\n   ```bash\n   python3.13 -m venv .venv \u0026\u0026 source .venv/bin/activate\n   pip install uv  # if not already installed\n   uv pip install -e \".[dev]\"\n   ```\n\n## Quick start\n\n### Single repository (common)\n\n- Errors only (CI-friendly):\n\n```bash\nsoar-app-linter --single-repo ./googlepeople --message-level error\n```\n\n- JSON output:\n\n```bash\nsoar-app-linter --single-repo /path/to/app --output-format json\n```\n\n### Multiple repositories (optional)\n\n```bash\nsoar-app-linter /path/to/apps\n```\n\n## CLI options (most used)\n\n- `target` (positional): directory to app or apps to lint (default: `.`)\n- `--single-repo`: treat target as one app repo\n- `--message-level {info,error}`: minimum messages to show (default: info)\n- `--output-format {text,json}`: output format (default: text)\n- `--no-deps`: skip dependency install and ignore import errors (disables E0401)\n- `-v, --verbose`: verbose logs\n\nAdvanced:\n\n- `--only-import-errors`: show only import errors (E0401)\n- `--json-failures`: JSON with repos and their error messages\n- `--disable-app-json-validation`: skip app.json validation\n\n## Development\n\nRun tests:\n\n```bash\npytest -v\n```\n\n## Pre-commit hook\n\nCan use this tool with `pre-commit`:\n\n1. Add to your project's `.pre-commit-config.yaml`:\n\n```yaml\nrepos:\n  - repo: https://github.com/splunk/soar-app-linter\n    rev: v1.0.0 # Or whatever the current tag is\n    hooks:\n      - id: soar-app-linter\n        args: [\"--single-repo\", \"--message-level\", \"error\"]\n```\n\n## License\n\nApache License 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphantomcyber%2Fsoar-app-linter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphantomcyber%2Fsoar-app-linter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphantomcyber%2Fsoar-app-linter/lists"}