{"id":13714104,"url":"https://github.com/bethdevopsbunny/tvd","last_synced_at":"2025-05-07T01:32:13.343Z","repository":{"id":182984502,"uuid":"533664781","full_name":"bethdevopsbunny/tvd","owner":"bethdevopsbunny","description":"tenable vulnerability diff - a pipeline utility leveraging tenable api to check you haven't introduced new vulnerabilities into your deployment.","archived":false,"fork":false,"pushed_at":"2022-10-01T17:47:42.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-14T01:33:12.927Z","etag":null,"topics":["cicd","cybersecurity","go","tenable"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bethdevopsbunny.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}},"created_at":"2022-09-07T07:57:17.000Z","updated_at":"2022-09-13T21:48:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"92e097f8-962f-43ca-8a7d-59df38a275ad","html_url":"https://github.com/bethdevopsbunny/tvd","commit_stats":null,"previous_names":["bethdevopsbunny/tvd"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bethdevopsbunny%2Ftvd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bethdevopsbunny%2Ftvd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bethdevopsbunny%2Ftvd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bethdevopsbunny%2Ftvd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bethdevopsbunny","download_url":"https://codeload.github.com/bethdevopsbunny/tvd/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252795901,"owners_count":21805460,"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":["cicd","cybersecurity","go","tenable"],"created_at":"2024-08-02T23:01:52.308Z","updated_at":"2025-05-07T01:32:13.118Z","avatar_url":"https://github.com/bethdevopsbunny.png","language":"Go","funding_links":[],"categories":["Repositories"],"sub_categories":[],"readme":"# tvd - tenable vulnerability diff\n\ntenable vulnerability diff is a pipeline utility leveraging [tenable api](https://developer.tenable.com/reference/navigate)\nto check you haven't introduced new vulnerabilities into your deployment.\n\n![190847683-b2d78322-f1fa-45c5-a5b2-00e36ea789d2](https://user-images.githubusercontent.com/80027170/190847760-86c7ece8-2ea1-48d8-8066-9d5f13ca6478.png)\n\n\n## authentication\n authentication is handled by storing a tenable api key in an environment variable TENABLE_API_KEY\n\n`export TENABLE_API_KEY='accessKey=accesskey;secretKey=secretkey'`\n\n[how to generate api key](docs/HowToGenerateAPIKey.md)\n\n## arguments\n\n\n### run \n\ntvd run [flags]\n\n\n| flags        | short hand | type   |description                                                            | default | mandatory |\n|--------------|------------|--------|----------------------------------------------------------------------|---------|-----------|\n| --help       |  ------          |  ------      |help for this command                                                  |    ------     |    ------       |\n| --scan-name  | -s         | string |target scan you wish to diff                                           |    ------     | yes       |\n| --critical   | -c         | bool   |if set to false will omit critical results                             | true    | no        |\n| --high       | -h         | bool   |if set to false will omit high results                                 | true    | no        |\n| --medium     | -m         | bool   |if set to false will omit medium results                               | true    | no        |\n| --low        | -l         | bool   |if set to false will omit low results                                  | true    | no        |\n| --exit-with-error | -e         | bool   |returns errorcode 1 if increase to vulnerabilities                     | false   | no        |\n| --top        | -t         | int    |clamp the number of vulnerabilities \u003cbr/\u003e returned in NewVulnerabilities | 30      | no        |\n| --verbose    | -v         | int    |Displays Logging                                        | 0       | no        |\n| flags        | short hand | type   |description                                                            | default | mandatory |\n| --no-scan    | -n         | bool   |runs the diff without triggering a new scan                           | false   | no        |\n\n### ci example\n\n```\nversion: 2.1\njobs:\n  launch_tvd:\n    docker:\n      - image: cimg/go:1.19.1\n    steps:\n\n      - checkout\n\n      - run:\n          name: \"tvd download\"\n          command: |\n            sudo wget https://github.com/bethdevopsbunny/tvd/releases/download/v0.1/tvd.linux -O /usr/local/bin/tvd\n            sudo chmod +x /usr/local/bin/tvd\n\n      - run:\n          name: \"tvd run\"\n          command: |\n           tvd run --scan-name \u003c\u003c pipeline.scan-name \u003e\u003e --no-scan=true --verbose=1 --exit-with-error=true | jq  \n\nworkflows:\n  version: 2\n  build:\n    jobs:\n      - launch_tvd\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbethdevopsbunny%2Ftvd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbethdevopsbunny%2Ftvd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbethdevopsbunny%2Ftvd/lists"}