[{"data":1,"prerenderedAt":669},["ShallowReactive",2],{"page-\u002Fbh\u002Fexamples":3,"all-pages":338},{"id":4,"title":5,"body":6,"description":328,"extension":329,"meta":330,"navigation":331,"path":332,"robots":333,"seo":334,"sitemap":335,"stem":336,"__hash__":337},"content\u002F12.bh\u002F3.examples.md","BH CLI Examples",{"type":7,"value":8,"toc":319},"minimark",[9,14,51,61,65,119,123,207,211,263,266,270,299,307,315],[10,11,13],"h2",{"id":12},"prerequisites","Prerequisites",[15,16,21],"pre",{"className":17,"code":18,"language":19,"meta":20,"style":20},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export BOUNTYHUB_TOKEN=\"\u003Cyour_personal_access_token_here>\"\n","bash","",[22,23,24],"code",{"__ignoreMap":20},[25,26,29,33,37,41,44,48],"span",{"class":27,"line":28},"line",1,[25,30,32],{"class":31},"spNyl","export",[25,34,36],{"class":35},"sTEyZ"," BOUNTYHUB_TOKEN",[25,38,40],{"class":39},"sMK4o","=",[25,42,43],{"class":39},"\"",[25,45,47],{"class":46},"sfazB","\u003Cyour_personal_access_token_here>",[25,49,50],{"class":39},"\"\n",[52,53,54,55,60],"p",{},"See ",[56,57,59],"a",{"href":58},"\u002Fdeveloper\u002Fpersonal-access-tokens","Personal Access Tokens"," for creating\na scoped token.",[10,62,64],{"id":63},"dispatch-a-scan","Dispatch a Scan",[15,66,68],{"className":17,"code":67,"language":19,"meta":20,"style":20},"bh scan dispatch --scan-id \"\u003CREVISION_ID>:\u003CACTIVITY>\" \\\n  --input-string \"domain=acme-example.com\" --input-bool \"aggressive=false\"\n",[22,69,70,96],{"__ignoreMap":20},[25,71,72,76,79,82,85,88,91,93],{"class":27,"line":28},[25,73,75],{"class":74},"sBMFI","bh",[25,77,78],{"class":46}," scan",[25,80,81],{"class":46}," dispatch",[25,83,84],{"class":46}," --scan-id",[25,86,87],{"class":39}," \"",[25,89,90],{"class":46},"\u003CREVISION_ID>:\u003CACTIVITY>",[25,92,43],{"class":39},[25,94,95],{"class":35}," \\\n",[25,97,99,102,104,107,109,112,114,117],{"class":27,"line":98},2,[25,100,101],{"class":46},"  --input-string",[25,103,87],{"class":39},[25,105,106],{"class":46},"domain=acme-example.com",[25,108,43],{"class":39},[25,110,111],{"class":46}," --input-bool",[25,113,87],{"class":39},[25,115,116],{"class":46},"aggressive=false",[25,118,50],{"class":39},[10,120,122],{"id":121},"pull-run-artifacts","Pull Run Artifacts",[15,124,126],{"className":17,"code":125,"language":19,"meta":20,"style":20},"bh artifact download --run-id \"\u003CRUN_ID>\" --name \"\u003CNAME>\" -o findings.txt\nbh artifact delete --run-id \"\u003CRUN_ID>\" --name \"\u003CNAME>\"\nbh scan run delete \"\u003CRUN_ID>\"\n",[22,127,128,164,189],{"__ignoreMap":20},[25,129,130,132,135,138,141,143,146,148,151,153,156,158,161],{"class":27,"line":28},[25,131,75],{"class":74},[25,133,134],{"class":46}," artifact",[25,136,137],{"class":46}," download",[25,139,140],{"class":46}," --run-id",[25,142,87],{"class":39},[25,144,145],{"class":46},"\u003CRUN_ID>",[25,147,43],{"class":39},[25,149,150],{"class":46}," --name",[25,152,87],{"class":39},[25,154,155],{"class":46},"\u003CNAME>",[25,157,43],{"class":39},[25,159,160],{"class":46}," -o",[25,162,163],{"class":46}," findings.txt\n",[25,165,166,168,170,173,175,177,179,181,183,185,187],{"class":27,"line":98},[25,167,75],{"class":74},[25,169,134],{"class":46},[25,171,172],{"class":46}," delete",[25,174,140],{"class":46},[25,176,87],{"class":39},[25,178,145],{"class":46},[25,180,43],{"class":39},[25,182,150],{"class":46},[25,184,87],{"class":39},[25,186,155],{"class":46},[25,188,50],{"class":39},[25,190,192,194,196,199,201,203,205],{"class":27,"line":191},3,[25,193,75],{"class":74},[25,195,78],{"class":46},[25,197,198],{"class":46}," run",[25,200,172],{"class":46},[25,202,87],{"class":39},[25,204,145],{"class":46},[25,206,50],{"class":39},[10,208,210],{"id":209},"manage-blobs","Manage Blobs",[15,212,214],{"className":17,"code":213,"language":19,"meta":20,"style":20},"bh blob upload --src .\u002Fwordlist.txt --dst \"wordlists\u002Fdirs.txt\"\nbh blob download --src \"wordlists\u002Fdirs.txt\" --dst .\u002Fdirs.txt\n",[22,215,216,242],{"__ignoreMap":20},[25,217,218,220,223,226,229,232,235,237,240],{"class":27,"line":28},[25,219,75],{"class":74},[25,221,222],{"class":46}," blob",[25,224,225],{"class":46}," upload",[25,227,228],{"class":46}," --src",[25,230,231],{"class":46}," .\u002Fwordlist.txt",[25,233,234],{"class":46}," --dst",[25,236,87],{"class":39},[25,238,239],{"class":46},"wordlists\u002Fdirs.txt",[25,241,50],{"class":39},[25,243,244,246,248,250,252,254,256,258,260],{"class":27,"line":98},[25,245,75],{"class":74},[25,247,222],{"class":46},[25,249,137],{"class":46},[25,251,228],{"class":46},[25,253,87],{"class":39},[25,255,239],{"class":46},[25,257,43],{"class":39},[25,259,234],{"class":46},[25,261,262],{"class":46}," .\u002Fdirs.txt\n",[52,264,265],{},"Blob storage is managed from the CLI; it is not yet readable from inside a workflow step.",[10,267,269],{"id":268},"register-a-runner","Register a Runner",[15,271,273],{"className":17,"code":272,"language":19,"meta":20,"style":20},"bh runner registration token\nbh runner registration command\n",[22,274,275,288],{"__ignoreMap":20},[25,276,277,279,282,285],{"class":27,"line":28},[25,278,75],{"class":74},[25,280,281],{"class":46}," runner",[25,283,284],{"class":46}," registration",[25,286,287],{"class":46}," token\n",[25,289,290,292,294,296],{"class":27,"line":98},[25,291,75],{"class":74},[25,293,281],{"class":46},[25,295,284],{"class":46},[25,297,298],{"class":46}," command\n",[52,300,301,302,306],{},"Then follow ",[56,303,305],{"href":304},"\u002Frunners\u002Fgetting-started","Getting Started"," to install and start\nthe runner.",[52,308,309,310,314],{},"Full command syntax: ",[56,311,313],{"href":312},"\u002Fbh\u002Fcommands","BH Commands",".",[316,317,318],"style",{},"html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":20,"searchDepth":320,"depth":321,"links":322},5,4,[323,324,325,326,327],{"id":12,"depth":98,"text":13},{"id":63,"depth":98,"text":64},{"id":121,"depth":98,"text":122},{"id":209,"depth":98,"text":210},{"id":268,"depth":98,"text":269},"Task-based bh examples: dispatch scans, pull artifacts, and manage blobs and runners.","md",{},true,"\u002Fbh\u002Fexamples",null,{"title":5,"description":328},{"loc":332},"12.bh\u002F3.examples","3iMkQlFbD1sDvunJlzxaGincIRZHZs26PEZWEmQWWDE",[339,402,418,436,471,487,499,510,521,532,556,573,589,600,611],{"title":340,"path":341,"stem":342,"children":343},"Workflows","\u002Fworkflows","01.workflows",[344,346,350,354,358,362,366,370,374,378,382,386,390,394,398],{"title":340,"path":341,"stem":345},"01.workflows\u002Findex",{"title":347,"path":348,"stem":349},"Workflow Quick Reference","\u002Fworkflows\u002Fquick-reference","01.workflows\u002F00.quick-reference",{"title":351,"path":352,"stem":353},"Workflows Overview","\u002Fworkflows\u002Foverview","01.workflows\u002F01.overview",{"title":355,"path":356,"stem":357},"Workflow Syntax Reference","\u002Fworkflows\u002Fsyntax-reference","01.workflows\u002F02.syntax-reference",{"title":359,"path":360,"stem":361},"Steps","\u002Fworkflows\u002Fsteps","01.workflows\u002F03.steps",{"title":363,"path":364,"stem":365},"Step Outputs","\u002Fworkflows\u002Fstep-outputs","01.workflows\u002F04.step-outputs",{"title":367,"path":368,"stem":369},"Concurrency","\u002Fworkflows\u002Fconcurrency","01.workflows\u002F05.concurrency",{"title":371,"path":372,"stem":373},"Transforms","\u002Fworkflows\u002Ftransforms","01.workflows\u002F06.transforms",{"title":375,"path":376,"stem":377},"For Each","\u002Fworkflows\u002Ffor-each","01.workflows\u002F07.for-each",{"title":379,"path":380,"stem":381},"Modules","\u002Fworkflows\u002Fmodules","01.workflows\u002F08.modules",{"title":383,"path":384,"stem":385},"Agents","\u002Fworkflows\u002Fagents","01.workflows\u002F09.agents",{"title":387,"path":388,"stem":389},"Decisions","\u002Fworkflows\u002Fdecisions","01.workflows\u002F10.decisions",{"title":391,"path":392,"stem":393},"Configuration References","\u002Fworkflows\u002Fconfig","01.workflows\u002F11.config",{"title":395,"path":396,"stem":397},"Comparison With Other Automation Systems","\u002Fworkflows\u002Fcomparison","01.workflows\u002F12.comparison",{"title":399,"path":400,"stem":401},"Generate with AI","\u002Fworkflows\u002Fai-generation","01.workflows\u002F13.ai-generation",{"title":403,"path":404,"stem":405,"children":406},"Projects","\u002Fprojects","02.projects",[407,410,414],{"title":408,"path":404,"stem":409},"Projects & Runs","02.projects\u002Findex",{"title":411,"path":412,"stem":413},"Projects Overview","\u002Fprojects\u002Foverview","02.projects\u002F1.overview",{"title":415,"path":416,"stem":417},"Runs & Artifacts","\u002Fprojects\u002Fruns-artifacts","02.projects\u002F2.runs-artifacts",{"title":419,"path":420,"stem":421,"children":422},"Runners","\u002Frunners","03.runners",[423,425,429,432],{"title":419,"path":420,"stem":424},"03.runners\u002Findex",{"title":426,"path":427,"stem":428},"Runner Overview","\u002Frunners\u002Foverview","03.runners\u002F1.overview",{"title":430,"path":304,"stem":431},"Getting Started with Runners","03.runners\u002F2.getting-started",{"title":433,"path":434,"stem":435},"Custom Runner Images","\u002Frunners\u002Fcustom-image","03.runners\u002F3.custom-image",{"title":437,"path":438,"stem":439,"children":440},"Datasets","\u002Fdatasets","04.datasets",[441,443,447,451,455,459,463,467],{"title":437,"path":438,"stem":442},"04.datasets\u002Findex",{"title":444,"path":445,"stem":446},"Datasets Overview","\u002Fdatasets\u002Foverview","04.datasets\u002F1.overview",{"title":448,"path":449,"stem":450},"Dataset Schemas and Identity","\u002Fdatasets\u002Fschema","04.datasets\u002F2.schema",{"title":452,"path":453,"stem":454},"Pushing and Reading Dataset Rows","\u002Fdatasets\u002Fworkflows","04.datasets\u002F3.workflows",{"title":456,"path":457,"stem":458},"Dataset SQL Reference","\u002Fdatasets\u002Fsql","04.datasets\u002F4.sql",{"title":460,"path":461,"stem":462},"Dataset Structured Filters","\u002Fdatasets\u002Ffilters","04.datasets\u002F5.filters",{"title":464,"path":465,"stem":466},"Dataset Saved Views","\u002Fdatasets\u002Fviews","04.datasets\u002F6.views",{"title":468,"path":469,"stem":470},"Datasets API and CLI","\u002Fdatasets\u002Fapi-cli","04.datasets\u002F7.api-cli",{"title":472,"path":473,"stem":474,"children":475},"Agent","\u002Fagent","05.agent",[476,479,483],{"title":477,"path":473,"stem":478},"BH Agent","05.agent\u002Findex",{"title":480,"path":481,"stem":482},"BH Agent Overview","\u002Fagent\u002Foverview","05.agent\u002F1.overview",{"title":484,"path":485,"stem":486},"MCP servers","\u002Fagent\u002Fmcp-servers","05.agent\u002F2.mcp-servers",{"title":488,"path":489,"stem":490,"children":491},"Bhlast","\u002Fbhlast","06.bhlast",[492,495],{"title":493,"path":489,"stem":494},"Bhlast Servers","06.bhlast\u002Findex",{"title":496,"path":497,"stem":498},"Bhlast servers overview","\u002Fbhlast\u002Foverview","06.bhlast\u002F1.overview",{"title":500,"path":501,"stem":502,"children":503},"Notifications","\u002Fnotifications","07.notifications",[504,506],{"title":500,"path":501,"stem":505},"07.notifications\u002Findex",{"title":507,"path":508,"stem":509},"Notifications Overview","\u002Fnotifications\u002Foverview","07.notifications\u002F1.overview",{"title":511,"path":512,"stem":513,"children":514},"Blob Storage","\u002Fblob-storage","08.blob-storage",[515,517],{"title":511,"path":512,"stem":516},"08.blob-storage\u002Findex",{"title":518,"path":519,"stem":520},"Blob Storage Overview","\u002Fblob-storage\u002Foverview","08.blob-storage\u002F1.overview",{"title":522,"path":523,"stem":524,"children":525},"Payloads","\u002Fpayloads","09.payloads",[526,528],{"title":522,"path":523,"stem":527},"09.payloads\u002Findex",{"title":529,"path":530,"stem":531},"Payloads overview","\u002Fpayloads\u002Foverview","09.payloads\u002F1.overview",{"title":533,"path":534,"stem":535,"children":536},"Cve Watcher","\u002Fcve-watcher","10.cve-watcher",[537,540,544,548,552],{"title":538,"path":534,"stem":539},"CVE Watcher","10.cve-watcher\u002Findex",{"title":541,"path":542,"stem":543},"CVE Watcher Overview","\u002Fcve-watcher\u002Foverview","10.cve-watcher\u002F1.overview",{"title":545,"path":546,"stem":547},"CVE Watcher Search and Filters","\u002Fcve-watcher\u002Fsearch","10.cve-watcher\u002F2.search",{"title":549,"path":550,"stem":551},"CVE Watcher Push Notifications","\u002Fcve-watcher\u002Fnotifications","10.cve-watcher\u002F3.notifications",{"title":553,"path":554,"stem":555},"CVE Watcher API and Scopes","\u002Fcve-watcher\u002Fapi","10.cve-watcher\u002F4.api",{"title":557,"path":558,"stem":559,"children":560},"Developer","\u002Fdeveloper","11.developer",[561,563,567,571],{"title":557,"path":558,"stem":562},"11.developer\u002Findex",{"title":564,"path":565,"stem":566},"Developer Overview","\u002Fdeveloper\u002Foverview","11.developer\u002F1.overview",{"title":568,"path":569,"stem":570},"Personal Access Token Scopes","\u002Fdeveloper\u002Fscopes","11.developer\u002F2.scopes",{"title":59,"path":58,"stem":572},"11.developer\u002F3.personal-access-tokens",{"title":574,"path":575,"stem":576,"children":577},"Bh","\u002Fbh","12.bh",[578,581,585,588],{"title":579,"path":575,"stem":580},"BH CLI","12.bh\u002Findex",{"title":582,"path":583,"stem":584},"BH CLI Overview","\u002Fbh\u002Foverview","12.bh\u002F1.overview",{"title":586,"path":312,"stem":587},"BH CLI Commands","12.bh\u002F2.commands",{"title":5,"path":332,"stem":336},{"title":590,"path":591,"stem":592,"children":593},"Billing","\u002Fbilling","13.billing",[594,596],{"title":590,"path":591,"stem":595},"13.billing\u002Findex",{"title":597,"path":598,"stem":599},"Billing Overview","\u002Fbilling\u002Foverview","13.billing\u002F1.overview",{"title":601,"path":602,"stem":603,"children":604},"Tools","\u002Ftools","14.tools",[605,607],{"title":601,"path":602,"stem":606},"14.tools\u002Findex",{"title":608,"path":609,"stem":610},"Cookie Lab","\u002Ftools\u002Fcookie-lab","14.tools\u002F1.cookie-lab",{"title":612,"path":613,"stem":614,"children":615},"Site Policies","\u002Fsite-policies","99.site-policies",[616,618,631,635,639,643,647,651,655],{"title":612,"path":613,"stem":617},"99.site-policies\u002Findex",{"title":619,"path":620,"stem":621,"children":622},"Privacy Policy","\u002Fsite-policies\u002Fprivacy-policy","99.site-policies\u002F1.privacy-policy",[623,627],{"title":624,"path":625,"stem":626},"Company Processors","\u002Fsite-policies\u002Fprivacy-policy\u002Fcompany-processors","99.site-policies\u002Fprivacy-policy\u002F1.company-processors",{"title":628,"path":629,"stem":630},"Data Export Instructions","\u002Fsite-policies\u002Fprivacy-policy\u002Fdata-export-instructions","99.site-policies\u002Fprivacy-policy\u002F2.data-export-instructions",{"title":632,"path":633,"stem":634},"Terms of Service","\u002Fsite-policies\u002Fterms-of-service","99.site-policies\u002F2.terms-of-service",{"title":636,"path":637,"stem":638},"California Resident Notice at Collection","\u002Fsite-policies\u002Fccpa","99.site-policies\u002F3.ccpa",{"title":640,"path":641,"stem":642},"Cancellation Policy","\u002Fsite-policies\u002Fcancellation-policy","99.site-policies\u002F4.cancellation-policy",{"title":644,"path":645,"stem":646},"Refund Policy","\u002Fsite-policies\u002Frefund-policy","99.site-policies\u002F5.refund-policy",{"title":648,"path":649,"stem":650},"Taxes on Services","\u002Fsite-policies\u002Ftaxes-on-services","99.site-policies\u002F6.taxes-on-services",{"title":652,"path":653,"stem":654},"Disclaimer","\u002Fsite-policies\u002Fdisclaimer","99.site-policies\u002F7.disclaimer",{"title":656,"path":657,"stem":658,"children":659},"Security","\u002Fsite-policies\u002Fsecurity","99.site-policies\u002Fsecurity\u002Findex",[660,661,665],{"title":656,"path":657,"stem":658},{"title":662,"path":663,"stem":664},"Security Overview","\u002Fsite-policies\u002Fsecurity\u002Fsecurity-overview","99.site-policies\u002Fsecurity\u002F1.security-overview",{"title":666,"path":667,"stem":668},"Security Response","\u002Fsite-policies\u002Fsecurity\u002Fsecurity-response","99.site-policies\u002Fsecurity\u002F2.security-response",1794410312376]