{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Creates and starts a new vulnerability scan. The response may include non-fatal warnings in the `messages` array.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/vuln_scanner_identifier","description":"Account identifier."}},"required":["account_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/vuln_scanner_create-scan-request"}},"required":["path","body"],"additionalProperties":false,"definitions":{"vuln_scanner_identifier":{"description":"Identifier.","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"vuln_scanner_create-scan-request":{"description":"Create a new vulnerability scan. The `scan_type` discriminator\nselects the scan variant and its required context fields.\n","oneOf":[{"$ref":"#/definitions/vuln_scanner_create-bola-scan-request"}]},"vuln_scanner_create-bola-scan-request":{"type":"object","properties":{"credential_sets":{"$ref":"#/definitions/vuln_scanner_bola-credential-sets"},"open_api":{"description":"OpenAPI schema definition for the API under test. The scanner\nuses this to discover endpoints and construct requests.\n","type":"string"},"scan_type":{"type":"string","enum":["bola"]},"target_environment_id":{"description":"The target environment to scan.","type":"string","format":"uuid"}},"required":["target_environment_id","scan_type","open_api","credential_sets"]},"vuln_scanner_bola-credential-sets":{"description":"Credential set references for a BOLA scan. The scanner uses the\n`owner` credentials for legitimate requests and the `attacker`\ncredentials to attempt unauthorized access.\n","type":"object","properties":{"attacker":{"description":"Credential set ID for the attacker.","type":"string","format":"uuid"},"owner":{"description":"Credential set ID for the resource owner.","type":"string","format":"uuid"}},"required":["owner","attacker"]}}},"name":"Create scan","id":"cloudflare.create-scan","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353"},"body":{"target_environment_id":"00000000-0000-4000-8000-000000000000","scan_type":"bola","open_api":"example","credential_sets":{"owner":"00000000-0000-4000-8000-000000000000","attacker":"00000000-0000-4000-8000-000000000000"}}},"maxRequests":1,"summary":false}}