{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Updates an existing scan configuration in Cloudforce One's network scanning service.","properties":{"path":{"type":"object","properties":{"account_id":{"description":"Defines the Account ID.","type":"string"},"config_id":{"description":"Defines the Config ID.","type":"string"}},"required":["account_id","config_id"],"additionalProperties":false},"body":{"type":"object","properties":{"frequency":{"$ref":"#/definitions/cloudforce-one-port-scan-api_frequency"},"ips":{"$ref":"#/definitions/cloudforce-one-port-scan-api_ips"},"ports":{"$ref":"#/definitions/cloudforce-one-port-scan-api_ports"}}}},"required":["path"],"additionalProperties":false,"definitions":{"cloudforce-one-port-scan-api_frequency":{"description":"Defines the number of days between each scan (0 = One-off scan).","type":"number","title":"Frequency","examples":[7]},"cloudforce-one-port-scan-api_ips":{"description":"Defines a list of IP addresses or CIDR blocks to scan. The maximum number of total IP addresses allowed is 5000.","type":"array","items":{"description":"Defines a list of IP addresses or CIDR blocks to scan. The maximum number of total IP addresses allowed is 5000.","type":"string"},"title":"IP List","examples":[["1.1.1.1","2606:4700:4700::1111"]]},"cloudforce-one-port-scan-api_ports":{"description":"Defines a list of ports to scan. Valid values are:\"default\", \"all\", or a comma-separated list of ports or range of ports (e.g. [\"1-80\", \"443\"]). \"default\" scans the 100 most commonly open ports.","type":"array","items":{"description":"Defines a list of ports to scan. Valid values are:\"default\", \"all\", or a comma-separated list of ports or range of ports (e.g. [\"1-80\", \"443\"]). \"default\" scans the 100 most commonly open ports.","type":"string"},"title":"Port List","examples":[["default"]]}}},"name":"Update an existing Scan Config","id":"cloudflare.post_configupdate","example":{"path":{"account_id":"example","config_id":"example"}},"maxRequests":1,"summary":false}}