{"id":27628094,"url":"https://github.com/umutphp/gitlabci-npm-audit-script","last_synced_at":"2025-04-23T14:03:09.328Z","repository":{"id":114188547,"uuid":"162346306","full_name":"umutphp/gitlabci-npm-audit-script","owner":"umutphp","description":"The script for adding \"npm audit\" as a step to GitlabCI pipeline.","archived":false,"fork":false,"pushed_at":"2019-06-18T06:30:17.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-05T21:41:14.364Z","etag":null,"topics":["audit-script","gitlab-ci","gitlabci-pipeline","npm","npm-audit","shell","shell-script"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/umutphp.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,"zenodo":null}},"created_at":"2018-12-18T21:17:44.000Z","updated_at":"2019-06-18T06:30:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"5f792969-cace-4d44-b62c-4927165237ae","html_url":"https://github.com/umutphp/gitlabci-npm-audit-script","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umutphp%2Fgitlabci-npm-audit-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umutphp%2Fgitlabci-npm-audit-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umutphp%2Fgitlabci-npm-audit-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umutphp%2Fgitlabci-npm-audit-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/umutphp","download_url":"https://codeload.github.com/umutphp/gitlabci-npm-audit-script/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250447303,"owners_count":21432161,"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":["audit-script","gitlab-ci","gitlabci-pipeline","npm","npm-audit","shell","shell-script"],"created_at":"2025-04-23T14:03:01.885Z","updated_at":"2025-04-23T14:03:09.324Z","avatar_url":"https://github.com/umutphp.png","language":"Shell","readme":"# gitlabci-npm-audit-script\nThe script is for adding 'npm audit' as a step to GitlabCI pipeline. [stedolan/jq/](https://github.com/stedolan/jq/) is used to parse the json on bash.\n\nThe script parses the 'npm audit' result json and gives the proper exit code. When 'Exit 1' is fired, a summary and a detailed json is displayed.\n\nA sample step definition in .gitlab-ci.yml would be;\n\n```\ntest_async:\n  stage: check\n  image:node\n  script:\n   - bash /path/to/npm-audit-step.sh\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumutphp%2Fgitlabci-npm-audit-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumutphp%2Fgitlabci-npm-audit-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumutphp%2Fgitlabci-npm-audit-script/lists"}