{"id":21392213,"url":"https://github.com/sysdiglabs/falco-analyzer","last_synced_at":"2025-06-17T00:33:55.868Z","repository":{"id":98014186,"uuid":"303990363","full_name":"sysdiglabs/falco-analyzer","owner":"sysdiglabs","description":"Falco rules analyzer script","archived":false,"fork":false,"pushed_at":"2020-11-17T15:43:10.000Z","size":27,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-07T15:52:47.743Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sysdiglabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2020-10-14T11:12:53.000Z","updated_at":"2021-10-22T09:03:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"8824a381-5f75-4c4b-bf85-b44565a21edb","html_url":"https://github.com/sysdiglabs/falco-analyzer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sysdiglabs/falco-analyzer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysdiglabs%2Ffalco-analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysdiglabs%2Ffalco-analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysdiglabs%2Ffalco-analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysdiglabs%2Ffalco-analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sysdiglabs","download_url":"https://codeload.github.com/sysdiglabs/falco-analyzer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysdiglabs%2Ffalco-analyzer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260268578,"owners_count":22983600,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-22T13:39:37.142Z","updated_at":"2025-06-17T00:33:55.852Z","avatar_url":"https://github.com/sysdiglabs.png","language":"Python","readme":"# Falco rules analyzer script\n\nThis script has utilities to help analyze and extract information from Falco rules files.\n\n## Requirements\n\nYou need [Python 3.7+](https://www.python.org/), and [Poetry](https://python-poetry.org/docs/#installation) to install dependencies and create a virtual environment.\n\n```console\n$ python --version\nPython 3.7.8\n\n$ poetry -V\nPoetry version 1.1.4\n```\n\n## Set up\n\nClone this repository, and use `Poetry` inside it to install dependencies in an automatically created virtual environment.\n\n```console\n$ git clone https://github.com/sysdiglabs/falco_analyzer.git\n$ cd falco_analyzer\n$ poetry install\n```\n\nThen you can execute this script with:\n```console\n$ poetry run python3 falco_analyzer.py help\n```\n\n### Virtual environment and Poetry\n\nThe default poetry behaviour is to create a virtual environment in `{cache-dir}/virtualenvs`. You can run commands using that environment with `poetry run ...` or activate it with `poetry shell`. For more information, check [Poetry official documentation](https://python-poetry.org/docs/basic-usage/).\n\n\n## Usage\n\n```\npoetry run python3 falco_analyzer.py [command] [parameters]\n\nExample:\npoetry run python3 falco_analyzer.py merge_tags rule_file.yaml tag_file.yaml output_file.yaml\n\nCommands\n\n  help\n     Show this help\n\n  merge_tags [input_falco_rules_file] [tags_file] [output_file]\n     Merges tags to rules from input file, and outputs new rules to a new file.\n\n  get_csv_tags [input_falco_rules_file] [output_csv_file]\n     Writes a CSV file with a Falco rule per row, with different tags used on each one\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsysdiglabs%2Ffalco-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsysdiglabs%2Ffalco-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsysdiglabs%2Ffalco-analyzer/lists"}