{"id":18131658,"url":"https://github.com/mrtc0/debugdefsec","last_synced_at":"2025-04-06T15:29:56.718Z","repository":{"id":57690892,"uuid":"477056098","full_name":"mrtc0/debugdefsec","owner":"mrtc0","description":"defsec parser debugger","archived":false,"fork":false,"pushed_at":"2022-04-11T00:55:33.000Z","size":72,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T22:05:36.042Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/mrtc0.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}},"created_at":"2022-04-02T13:02:04.000Z","updated_at":"2022-04-02T13:06:58.000Z","dependencies_parsed_at":"2022-09-26T20:52:48.868Z","dependency_job_id":null,"html_url":"https://github.com/mrtc0/debugdefsec","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrtc0%2Fdebugdefsec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrtc0%2Fdebugdefsec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrtc0%2Fdebugdefsec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrtc0%2Fdebugdefsec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrtc0","download_url":"https://codeload.github.com/mrtc0/debugdefsec/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247502708,"owners_count":20949311,"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-01T12:08:32.565Z","updated_at":"2025-04-06T15:29:56.691Z","avatar_url":"https://github.com/mrtc0.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# debugdefsec\n\nDump the result of parsing by [defsec](https://github.com/aquasecurity/defsec).  \n\n# Install\n\n```shell\n$ go install github.com/mrtc0/debugdefsec@latest\n```\n\n# Usage\n\n```shell\n$ debugdefsec dockerfile testdata/Dockerfile | jq\n{\n  \"Stages\": {\n    \"hub.example.com/ubuntu:20.04\": [\n      {\n        \"Cmd\": \"from\",\n        \"SubCmd\": \"\",\n        \"Flags\": [],\n        \"Value\": [\n          \"hub.example.com/ubuntu:20.04\"\n        ],\n        \"Original\": \"FROM hub.example.com/ubuntu:20.04\",\n        \"JSON\": false,\n        \"Stage\": 0,\n        \"Path\": \"testdata/Dockerfile\",\n        \"StartLine\": 2,\n        \"EndLine\": 2\n      },\n      {\n        \"Cmd\": \"run\",\n        \"SubCmd\": \"\",\n        \"Flags\": [],\n        \"Value\": [\n          \"apt-get update \u0026\u0026 apt-get install curl\"\n        ],\n        \"Original\": \"RUN apt-get update \u0026\u0026 apt-get install curl\",\n        \"JSON\": false,\n        \"Stage\": 0,\n        \"Path\": \"testdata/Dockerfile\",\n        \"StartLine\": 4,\n        \"EndLine\": 4\n      },\n      {\n        \"Cmd\": \"expose\",\n        \"SubCmd\": \"\",\n        \"Flags\": [],\n        \"Value\": [\n          \"22\"\n        ],\n        \"Original\": \"EXPOSE 22\",\n        \"JSON\": false,\n        \"Stage\": 0,\n        \"Path\": \"testdata/Dockerfile\",\n        \"StartLine\": 5,\n        \"EndLine\": 5\n      }\n    ]\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrtc0%2Fdebugdefsec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrtc0%2Fdebugdefsec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrtc0%2Fdebugdefsec/lists"}