{"id":25120528,"url":"https://github.com/devsecstack/jf-devsecstack-plugin","last_synced_at":"2025-04-02T14:41:25.092Z","repository":{"id":268385695,"uuid":"904181034","full_name":"DevSecStack/jf-devsecstack-plugin","owner":"DevSecStack","description":"DevSecStack plugin for Jfrog CLI that helps developers to secure their applications by providing a set of security tools and best practices.","archived":false,"fork":false,"pushed_at":"2024-12-16T12:10:37.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-08T05:29:48.455Z","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/DevSecStack.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":"2024-12-16T12:00:31.000Z","updated_at":"2024-12-16T12:10:40.000Z","dependencies_parsed_at":"2024-12-16T13:23:45.644Z","dependency_job_id":"fd3fabd1-fe83-46d7-8416-87965dfa4105","html_url":"https://github.com/DevSecStack/jf-devsecstack-plugin","commit_stats":null,"previous_names":["devsecstack/jf-devsecstack-plugin"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevSecStack%2Fjf-devsecstack-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevSecStack%2Fjf-devsecstack-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevSecStack%2Fjf-devsecstack-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevSecStack%2Fjf-devsecstack-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevSecStack","download_url":"https://codeload.github.com/DevSecStack/jf-devsecstack-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246834237,"owners_count":20841506,"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":"2025-02-08T05:29:50.736Z","updated_at":"2025-04-02T14:41:25.064Z","avatar_url":"https://github.com/DevSecStack.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🐸 JFrog CLI DevSecStack Plugin\n\nThe JFrog DevSecStack Plugin is a custom plugin for JFrog CLI that adds DevSec related capabilities to your pipeline. \n\n## Features\n\n- Add Cargo (🦀 Rust) dependencies to build-info from Cargo.lock file.\n\n## Installation\n\nTo install the plugin, follow these steps:\n\n1. Clone the repository:\n    ```sh\n    git clone https://github.com/devsecstack/jf-devsecstack-plugin.git\n    cd jf-devsecstack-plugin\n    ```\n\n2. Build the plugin:\n    ```sh\n    go build -o jf-devsecstack-plugin\n    ```\n\n3. Publish the plugin:\n    ```sh\n    export JFROG_CLI_PLUGINS_SERVER=\u003cSERVER_ID\u003e\n    jf plugin publish devsecstack v1.0.0\n    ```\n4. Install the plugin:\n    ```sh\n    export JFROG_CLI_PLUGINS_SERVER=\u003cSERVER_ID\u003e\n    jf plugin install devsecstack\n    ```\n\n\n### 🦀 Cargo Add Dependencies\n\nTo use the plugin, run the following command:\n\n```sh\njf devsecstack cargo-add-dependencies [flags]\n```\n#### Example\n\n```sh\njf devsecstack cad --build-name my-build --build-number 1\n```\n#### Flags\n\n- `--build-name` (required): Build name.\n- `--build-number` (required): Build number.\n- `--project` (optional): JFrog project key.\n- `--module` (optional): Optional module name in the build-info for adding the dependency.\n- `--server` (required): Artifactory server ID.\n- `--dry-run` (optional): Set to true to disable communication with Artifactory. Default is false.\n\n#### Environment Variables\n\n- `CARGO_SKIP` (optional): Set to true to skip crago commands (```cargo generate-lockfile```). Default is false.\n- `CARGO_LOCKFILE` (optional): Path to the Cargo.lock file. Default is `Cargo.lock`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevsecstack%2Fjf-devsecstack-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevsecstack%2Fjf-devsecstack-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevsecstack%2Fjf-devsecstack-plugin/lists"}