{"id":20382603,"url":"https://github.com/archerysec/archerysec-cli","last_synced_at":"2025-08-16T13:49:06.489Z","repository":{"id":47183693,"uuid":"155881473","full_name":"archerysec/archerysec-cli","owner":"archerysec","description":" A commandline tool that wraps the Archerysec REST API for controlling Archery and executing quick, targeted scans.","archived":false,"fork":false,"pushed_at":"2024-05-30T11:57:59.000Z","size":85,"stargazers_count":11,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T08:53:54.852Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/archerysec.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2018-11-02T14:58:49.000Z","updated_at":"2024-07-26T23:56:53.000Z","dependencies_parsed_at":"2024-11-15T02:18:36.705Z","dependency_job_id":"d8b327fb-5ee3-486a-b462-889b2c741ff0","html_url":"https://github.com/archerysec/archerysec-cli","commit_stats":{"total_commits":80,"total_committers":3,"mean_commits":"26.666666666666668","dds":"0.025000000000000022","last_synced_commit":"f96e7e2b3c1417de31ff4d9a8c22ed66968fca50"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/archerysec%2Farcherysec-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/archerysec%2Farcherysec-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/archerysec%2Farcherysec-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/archerysec%2Farcherysec-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/archerysec","download_url":"https://codeload.github.com/archerysec/archerysec-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248543882,"owners_count":21121838,"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-15T02:18:16.300Z","updated_at":"2025-04-12T08:54:00.274Z","avatar_url":"https://github.com/archerysec.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Archery CLI\n\nA commandline tool that wraps the Archerysec REST API for controlling Archery and executing quick, targeted scans.\n\n## Installation\n\nTo install the latest release from PyPI, you can run the following command:\n\n```\npip install archerysec-cli\n```\nTo install the latest development version of Archerysec CLI, you can run the following:\n\n```\n$ git clone https://github.com/archerysec/archerysec-cli.git\n$ cd archerysec-cli\n$ pip install -r requirements.txt\n\n```\n## Usage\n\nTo use Archery CLI, you need to set the port Archery runs on (defaults to 8000) and the path to the folder in which Archery is installed. \nYou can Use Archery installation instruction from [Archery DOC](https://docs.archerysec.com/#quick-start)\n\nArchery CLI can then be used with the following commands:\n```\n                   _                      _____\n     /\\            | |                    / ____|\n    /  \\   _ __ ___| |__   ___ _ __ _   _| (___   ___  ___\n   / /\\ \\ | '__/ __| '_ \\ / _ \\ '__| | | |\\___ \\ / _ \\/ __|\n  / ____ \\| | | (__| | | |  __/ |  | |_| |____) |  __/ (__\n /_/    \\_\\_|  \\___|_| |_|\\___|_|   \\__, |_____/ \\___|\\___|\n                                     __/ |\n                                    |___/\n\n Copyright (C) 2021 ArcherySec CLI v2.0.1\n\nUsage: cli.py [OPTIONS]\n\nOptions:\n  -h, --host TEXT        Provide ArcherySec End Point Address.\n  -t, --token TEXT       Provide Auth token from ArcherySec.\n  -p, --path TEXT        Report File input\n  --file-type TEXT       File type\n  --target TEXT          target name or url\n  -s, --scanner TEXT     Select scanners ( zap_scan, burp_scan, arachni,\n                         acunetix, netsparker, webinspect,\n                         banditscan,dependencycheck,findbugs, checkmarx,\n                         clair, trivy, gitlabsca, gitlabsast,\n                         gitlabcontainerscan, npmaudit, nodejsscan,\n                         semgrepscan, tfsec, whitesource, inspec, dockle,\n                         nessus, openvas, nikto, twistlock, brakeman, )\n\n  -th, --threshold TEXT  threshold type (ex. fail, pass)\n  --project TEXT         Project ID\n  --cicd_id TEXT         CICD Policies ID\n  --upload               Upload Report\n  --project-create       Create New Project\n  --bandit               Run Bandit Scan\n  --dependency-check     Run dependency-check Scan\n  --project-name TEXT    Create New Project\n  --project-disc TEXT    Create New Project\n  --code_path TEXT       Path of the source code\n  --report_path TEXT     Path of the Report\n  --help                 Show this message and exit.\n```\n\n### Create Project:\n\n```bash\n$ archerysec-cli -h http://127.0.0.1:8000 -t VpVSD99bX25yW27f-yv8q562U9ObZfbWnBLVkjfRjQ-FR52p4GlhjpYuCJwY56_x --createproject --project_name=\"test_project\" --project_disc=\"test project\"\n```\n\n### Upload ZAP Scan:\n\n```bash\n$ archerysec-cli -h http://127.0.0.1:8000 -t VpVSD99bX25yW27f-yv8q562U9ObZfbWnBLVkjfRjQ-FR52p4GlhjpYuCJwY56_x -p /report/sample/OWASP-ZAP-v2.7.0.xml --file-type=XML --target=ASFLKSF --scanner=zap_scan --project=eaf6f89e-56ee-4ef7-8257-07b7136c9e31 --upload\n```\n\n### Upload Burp Scan:\n\n```bash\n$ archerysec-cli -h http://127.0.0.1:8000 -t VpVSD99bX25yW27f-yv8q562U9ObZfbWnBLVkjfRjQ-FR52p4GlhjpYuCJwY56_x -p /report/sample/Burp_Report.xml --file-type=XML --target=ASFLKSF --scanner=burp_scan --project=eaf6f89e-56ee-4ef7-8257-07b7136c9e31 --upload\n```\n\n### Upload arachni Scan:\n\n```bash\n$ archerysec-cli  -h http://127.0.0.1:8000 -t VpVSD99bX25yW27f-yv8q562U9ObZfbWnBLVkjfRjQ-FR52p4GlhjpYuCJwY56_x -p /report/sample/Arachni_v1.3.xml --file-type=XML --target=ASFLKSF --scanner=arachni --project=eaf6f89e-56ee-4ef7-8257-07b7136c9e31 --upload\n```\n\n### Upload acunetix Scan:\n\n```bash\n$ archerysec-cli -h http://127.0.0.1:8000 -t VpVSD99bX25yW27f-yv8q562U9ObZfbWnBLVkjfRjQ-FR52p4GlhjpYuCJwY56_x -p /report/sample/Acunetix_report_sample.xml --file-type=XML --target=ASFLKSF --scanner=acunetix --project=eaf6f89e-56ee-4ef7-8257-07b7136c9e31 --upload\n```\n\n### Upload netsparker Scan:\n\n```bash\n$ archerysec-cli -h http://127.0.0.1:8000 -t VpVSD99bX25yW27f-yv8q562U9ObZfbWnBLVkjfRjQ-FR52p4GlhjpYuCJwY56_x -p /report/sample/Netsparker_report.xml --file-type=XML --target=ASFLKSF --scanner=netsparker --project=eaf6f89e-56ee-4ef7-8257-07b7136c9e31 --upload\n```\n\n### Upload webinspect scan:\n\n```bash\n$ archerysec-cli -h http://127.0.0.1:8000 -t VpVSD99bX25yW27f-yv8q562U9ObZfbWnBLVkjfRjQ-FR52p4GlhjpYuCJwY56_x -p /report/sample/webinspect.xml --file-type=XML --target=ASFLKSF --scanner=webinspect --project=eaf6f89e-56ee-4ef7-8257-07b7136c9e31 --upload\n```\n\n### Upload banditscan scan\n\n```bash\n$ archerysec-cli -h http://127.0.0.1:8000 -t VpVSD99bX25yW27f-yv8q562U9ObZfbWnBLVkjfRjQ-FR52p4GlhjpYuCJwY56_x -p /report/sample/banditscan.json --file-type=JSON --target=ASFLKSF --scanner=banditscan --project=eaf6f89e-56ee-4ef7-8257-07b7136c9e31 --upload\n```\n\n### Upload dependencycheck scan\n\n```bash\n$ archerysec-cli -h http://127.0.0.1:8000 -t VpVSD99bX25yW27f-yv8q562U9ObZfbWnBLVkjfRjQ-FR52p4GlhjpYuCJwY56_x -p /report/sample/dependencycheck.xml --file-type=XML --target=ASFLKSF --scanner=dependencycheck --project=eaf6f89e-56ee-4ef7-8257-07b7136c9e31 --upload\n```\n\n### Upload findbugs scan\n\n```bash\n$ archerysec-cli -h http://127.0.0.1:8000 -t VpVSD99bX25yW27f-yv8q562U9ObZfbWnBLVkjfRjQ-FR52p4GlhjpYuCJwY56_x -p /report/sample/findbugs.xml --file-type=XML --target=ASFLKSF --scanner=findbugs --project=eaf6f89e-56ee-4ef7-8257-07b7136c9e31 --upload\n```\n\n### Upload checkmarx scan\n\n```bash\n$ archerysec-cli -h http://127.0.0.1:8000 -t VpVSD99bX25yW27f-yv8q562U9ObZfbWnBLVkjfRjQ-FR52p4GlhjpYuCJwY56_x -p /report/sample/checkmarx.xml --file-type=XML --target=ASFLKSF --scanner=checkmarx --project=eaf6f89e-56ee-4ef7-8257-07b7136c9e31 --upload\n```\n\n### Upload clair scan\n\n```bash\n$ archerysec-cli -h http://127.0.0.1:8000 -t VpVSD99bX25yW27f-yv8q562U9ObZfbWnBLVkjfRjQ-FR52p4GlhjpYuCJwY56_x -p /report/sample/clair.json --file-type=JSON --target=ASFLKSF --scanner=clair --project=eaf6f89e-56ee-4ef7-8257-07b7136c9e31 --upload\n```\n\n### Upload trivy scan\n\n```bash\n$ archerysec-cli -h http://127.0.0.1:8000 -t VpVSD99bX25yW27f-yv8q562U9ObZfbWnBLVkjfRjQ-FR52p4GlhjpYuCJwY56_x -p /report/sample/trivy.json --file-type=JSON --target=ASFLKSF --scanner=trivy --project=eaf6f89e-56ee-4ef7-8257-07b7136c9e31 --upload\n```\n\n### Upload Git Lab SCA scan\n\n```bash\n$ archerysec-cli -h http://127.0.0.1:8000 -t VpVSD99bX25yW27f-yv8q562U9ObZfbWnBLVkjfRjQ-FR52p4GlhjpYuCJwY56_x -p /report/sample/gitlabsca.json --file-type=JSON --target=ASFLKSF --scanner=gitlabsca --project=eaf6f89e-56ee-4ef7-8257-07b7136c9e31 --upload\n```\n\n### Upload Git Lab SAST scan\n\n```bash\n$ archerysec-cli -h http://127.0.0.1:8000 -t VpVSD99bX25yW27f-yv8q562U9ObZfbWnBLVkjfRjQ-FR52p4GlhjpYuCJwY56_x -p /report/sample/gitlabsast.json --file-type=JSON --target=ASFLKSF --scanner=gitlabsast --project=eaf6f89e-56ee-4ef7-8257-07b7136c9e31 --upload\n```\n\n### Upload Git Lab Container scan\n\n```bash\n$ archerysec-cli -h http://127.0.0.1:8000 -t VpVSD99bX25yW27f-yv8q562U9ObZfbWnBLVkjfRjQ-FR52p4GlhjpYuCJwY56_x -p /report/sample/gitlabcontainerscan.json --file-type=JSON --target=ASFLKSF --scanner=gitlabcontainerscan --project=eaf6f89e-56ee-4ef7-8257-07b7136c9e31 --upload\n```\n\n### Upload npmaudit scan\n\n```bash\n$ archerysec-cli -h http://127.0.0.1:8000 -t VpVSD99bX25yW27f-yv8q562U9ObZfbWnBLVkjfRjQ-FR52p4GlhjpYuCJwY56_x -p /report/sample/npmaudit.json --file-type=JSON --target=ASFLKSF --scanner=npmaudit --project=eaf6f89e-56ee-4ef7-8257-07b7136c9e31 --upload\n```\n\n### Upload nodejsscan scan\n\n```bash\n$ archerysec-cli -h http://127.0.0.1:8000 -t VpVSD99bX25yW27f-yv8q562U9ObZfbWnBLVkjfRjQ-FR52p4GlhjpYuCJwY56_x -p /report/sample/nodejsscan.json --file-type=JSON --target=ASFLKSF --scanner=nodejsscan --project=eaf6f89e-56ee-4ef7-8257-07b7136c9e31 --upload\n```\n\n### Upload netsparker scan\n\n```bash\n$ archerysec-cli -h http://127.0.0.1:8000 -t VpVSD99bX25yW27f-yv8q562U9ObZfbWnBLVkjfRjQ-FR52p4GlhjpYuCJwY56_x -p /report/sample/semgrepscan.json --file-type=JSON --target=ASFLKSF --scanner=netsparker --project=eaf6f89e-56ee-4ef7-8257-07b7136c9e31 --upload\n```\n\n### Upload tfsec scan\n\n```bash\n$ archerysec-cli -h http://127.0.0.1:8000 -t VpVSD99bX25yW27f-yv8q562U9ObZfbWnBLVkjfRjQ-FR52p4GlhjpYuCJwY56_x -p /report/sample/tfsec.json --file-type=JSON --target=ASFLKSF --scanner=tfsec --project=eaf6f89e-56ee-4ef7-8257-07b7136c9e31 --upload\n```\n\n### Upload whitesource scan\n\n```bash\n$ archerysec-cli -h http://127.0.0.1:8000 -t VpVSD99bX25yW27f-yv8q562U9ObZfbWnBLVkjfRjQ-FR52p4GlhjpYuCJwY56_x -p /report/sample/whitesource.xml --file-type=XML --target=ASFLKSF --scanner=whitesource --project=eaf6f89e-56ee-4ef7-8257-07b7136c9e31 --upload\n```\n\n### Upload inspec scan\n\n```bash\n$ archerysec-cli -h http://127.0.0.1:8000 -t VpVSD99bX25yW27f-yv8q562U9ObZfbWnBLVkjfRjQ-FR52p4GlhjpYuCJwY56_x -p /report/sample/inspec.json --file-type=JSON --target=ASFLKSF --scanner=inspec --project=eaf6f89e-56ee-4ef7-8257-07b7136c9e31 --upload\n```\n\n### Upload dockle scan\n\n```bash\n$ archerysec-cli -h http://127.0.0.1:8000 -t VpVSD99bX25yW27f-yv8q562U9ObZfbWnBLVkjfRjQ-FR52p4GlhjpYuCJwY56_x -p /report/sample/dockle.json --file-type=JSON --target=ASFLKSF --scanner=dockle --project=eaf6f89e-56ee-4ef7-8257-07b7136c9e31 --upload\n```\n\n### Upload nessus scan\n\n```bash\n$ archerysec-cli -h http://127.0.0.1:8000 -t VpVSD99bX25yW27f-yv8q562U9ObZfbWnBLVkjfRjQ-FR52p4GlhjpYuCJwY56_x -p /report/sample/nessus.xml --file-type=XML --target=ASFLKSF --scanner=nessus --project=eaf6f89e-56ee-4ef7-8257-07b7136c9e31 --upload\n```\n\n### Upload openvas scan\n\n```bash\n$ archerysec-cli -h http://127.0.0.1:8000 -t VpVSD99bX25yW27f-yv8q562U9ObZfbWnBLVkjfRjQ-FR52p4GlhjpYuCJwY56_x -p /report/sample/openvas.xml --file-type=XML --target=ASFLKSF --scanner=openvas --project=eaf6f89e-56ee-4ef7-8257-07b7136c9e31 --upload\n```\n\n### Upload twistlock scan\n\n```bash\narcherysec-cli -h http://127.0.0.1:8000 -t VpVSD99bX25yW27f-yv8q562U9ObZfbWnBLVkjfRjQ-FR52p4GlhjpYuCJwY56_x -p /report/sample/twistlock.json --file-type=JSON --target=ASFLKSF --scanner=twistlock --project=eaf6f89e-56ee-4ef7-8257-07b7136c9e31 --upload\n```\n\n### Upload brakeman scan\n\n```bash\narcherysec-cli -h http://127.0.0.1:8000 -t VpVSD99bX25yW27f-yv8q562U9ObZfbWnBLVkjfRjQ-FR52p4GlhjpYuCJwY56_x -p /report/sample/brakeman.json --file-type=JSON --target=ASFLKSF --scanner=brakeman --project=eaf6f89e-56ee-4ef7-8257-07b7136c9e31 --upload\n```\n\n### Upload Prisma Cloud CSPM\n\n```\ncherysec-cli -h http://127.0.0.1:8000 -t 2L_EWKqpeoncNXAI1fefGRl8UYu6oyP2lxw056PrQdVLYQ_Z0DIgr2EhZdj_KMqN -p  /report-sample/Prisma\\ CSPM/prisma-report-sample.csv --file-type=CSV --target=ASFLKSF --scanner=prisma_cspm --project=fa8afe05-d074-4ab8-b7be-3c0626f2cc19 --upload\n```\n\n### Upload scoutsuite\n\n```\narcherysec-cli -h http://127.0.0.1:8000 -t 2L_EWKqpeoncNXAI1fefGRl8UYu6oyP2lxw056PrQdVLYQ_Z0DIgr2EhZdj_KMqN -p /report-sample/ScoutSuite/sample-report.js --file-type=JSON --target=ASFLKSF --scanner=scoutsuite --project=fa8afe05-d074-4ab8-b7be-3c0626f2cc19 --upload\n\n```\n\n### Upload Wiz Report \n\n```\narcherysec-cli -h http://127.0.0.1:8000 -t 2L_EWKqpeoncNXAI1fefGRl8UYu6oyP2lxw056PrQdVLYQ_Z0DIgr2EhZdj_KMqN -p /report-sample/Wiz/wiz-sample-report.csv --file-type=CSV --target=ASFLKSF --scanner=wiz --project=fa8afe05-d074-4ab8-b7be-3c0626f2cc19 --upload\n\n```\n\n### Upload Bearer html report \n\n```commandline\n\narcherysec-cli -h http://127.0.0.1:8000 -t 2L_EWKqpeoncNXAI1fefGRl8UYu6oyP2lxw056PrQdVLYQ_Z0DIgr2EhZdj_KMqN -p ../archerysec_2.0/report-sample/Bearer/report.html  --file-type=HTML --target=ASFLKSF --scanner=Bearer --project=fa8afe05-d074-4ab8-b7be-3c0626f2cc19  --upload\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farcherysec%2Farcherysec-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farcherysec%2Farcherysec-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farcherysec%2Farcherysec-cli/lists"}