{"id":13787933,"url":"https://github.com/sysdiglabs/vscode-falco","last_synced_at":"2025-07-13T18:30:55.407Z","repository":{"id":98014671,"uuid":"307765001","full_name":"sysdiglabs/vscode-falco","owner":"sysdiglabs","description":"Falco Rules helpers for VSCode","archived":false,"fork":false,"pushed_at":"2023-07-19T00:10:02.000Z","size":288,"stargazers_count":12,"open_issues_count":7,"forks_count":0,"subscribers_count":12,"default_branch":"main","last_synced_at":"2024-11-18T01:39:20.727Z","etag":null,"topics":["falco","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/sysdiglabs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2020-10-27T16:40:06.000Z","updated_at":"2023-10-30T07:54:39.000Z","dependencies_parsed_at":"2024-01-07T03:51:51.864Z","dependency_job_id":"4484a683-c096-48c5-949e-d13d5f1d4e03","html_url":"https://github.com/sysdiglabs/vscode-falco","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysdiglabs%2Fvscode-falco","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysdiglabs%2Fvscode-falco/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysdiglabs%2Fvscode-falco/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysdiglabs%2Fvscode-falco/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sysdiglabs","download_url":"https://codeload.github.com/sysdiglabs/vscode-falco/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225908222,"owners_count":17543468,"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":["falco","vscode","vscode-extension"],"created_at":"2024-08-03T21:00:33.498Z","updated_at":"2024-11-22T13:39:14.621Z","avatar_url":"https://github.com/sysdiglabs.png","language":"TypeScript","readme":"# Falco Rules for VS Code\n\nA simple extension that assists in wrtting, editing and testing [Falco rule files](https://falco.org/docs/rules/).\n\nTake a look at the [Changelog](CHANGELOG.md) to learn about new features.\n\n## Features\n\n### IntelliSense\nAutocompletion and tooltips for the following top-level code snippets:\n- **rule** Creates the scaffold for a new rule:\n\n    ~~~\n    # OPTIONAL RULE COMMENTS\n    - rule: Rule Name with Capital Initial Letters\n      desc: Rule description (begins with 'Detect' and ends with full stop).\n      enabled: true\n      append: false\n      condition:\n        Condition(s)\n      output:\n        Output message\n      priority: DEBUG\n      tags: [inline comma separated tag list]\n      source: syscall\n    ~~~\n\n- **list** Creates the scaffold for a new list:\n\n    ~~~\n    # OPTIONAL LIST COMMENTS\n    - list: list_name\n      append: false\n      items: [inline comma separated list]\n    ~~~\n\n- **macro** Creates the scaffold for a new macro:\n\n    ~~~\n    # OPTIONAL MACRO COMMENTS\n    - macro: macro_name\n      append: false\n      condition: macro condition\n    ~~~\n\nAutocompletion and tooltips for the most usual access to events:\n- **jevt** Generic ways to access _json_ events: `jevt.time`, `jevt.rawtime`, `jevt.value`, `jevt.obj`.\n- **ka** Access _K8s Audit Log_ events: `ka.auditid`, `ka.auth.decision`, `ka.auth.reason`, `ka.impuser.name`, `ka.req.binding.role`, `ka.req.binding.subjects`, `ka.req.binding.subject.has_name`, `ka.req.configmap.name`, `ka.req.configmap.obj`, `ka.req.container.host_network`, `ka.req.container.image`, `ka.req.container.image.repository`, `ka.req.container.privileged`, `ka.req.role.rules`, `ka.req.role.rules.apiGroups`, `ka.req.role.rules.nonResourceURLs`, `ka.req.role.rules.resources`, `ka.req.role.rules.verbs`, `ka.req.service.type`, `ka.req.service.ports`, `ka.req.volume.hostpath`, `ka.resp.name`, `ka.response.code`, `ka.response.reason`, `ka.stage`, `ka.target.name`, `ka.target.namespace`, `ka.target.resource`, `ka.target.subresource`, `ka.uri`, `ka.uri.param`, `ka.user.name`, `ka.user.groups`, `ka.verb`.\n\nSyntax highlighting\n- Highlights rule keywords: `rule`, `list`, `items`, `macro`, `condition`, `desc`, `output`, `priority`, `enabled`, `append`, `tags`, `warn_evttypes`, `skip-if-unknown-filter`, `source`.\n\nHover tooltips\n- Shows tooltips when hovering over rule keywords: `rule`, `list`, `items`, `macro`, `condition`, `desc`, `output`, `priority`, `enabled`, `append`, `tags`, `warn_evttypes`, `skip-if-unknown-filter`, `source`.\n\nPriority levels coloring\n- Shows priority levels in different colors: `EMERGENCY`, `ALERT`, `CRITICAL`, `ERROR`, `WARNING`, `NOTICE`, `INFO`, `DEBUG`.\n\n### Rule validation\n`Validate Rule` command will launch a falco container to validate the rule file.\n\n### File icon\nHelps identifying rule files.\n\n### File tidying up\nAppends _new line character_ if the rule file doesn't end with one (this is work in progress).\n\n## Requirements\nRequires Docker to be installed.\n","funding_links":[],"categories":["IDE and Editor Integrations"],"sub_categories":["Blogs"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsysdiglabs%2Fvscode-falco","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsysdiglabs%2Fvscode-falco","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsysdiglabs%2Fvscode-falco/lists"}