{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Creates a CSV export for Finding instances and accepts optional filters in the payload.\n\nIdentify the finding as `<integration_id>-<finding_type_id>`: join the `integration.id` and\n`finding.id` of the finding (from the List posture findings response) with a hyphen.\n","properties":{"path":{"type":"object","properties":{"account_id":{"type":"string","examples":["46148281d8a93d002ef242d8b0d5f9f6"],"description":"Cloudflare account ID for the user making the request."},"storage_namespace_id":{"type":"string","pattern":"^[\\da-f]{8}-([\\da-f]{4}-){3}[\\da-f]{12}-[\\da-f]{8}-([\\da-f]{4}-){3}[\\da-f]{12}$","examples":["00000000-0000-0000-0000-000000000001-00000000-0000-0000-0000-000000000002"],"description":"Identifies the finding whose instances to export, in the form `<integration_id>-<finding_type_id>`.\nTake `integration.id` and `finding.id` from the finding in the List posture findings response\nand join them with a hyphen."}},"required":["account_id","storage_namespace_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/posture-api_FindingInstanceExportFilterRequest"}},"required":["path"],"additionalProperties":false,"definitions":{"posture-api_FindingInstanceExportFilterRequest":{"description":"Filter specification for finding instance exports.","type":"object","properties":{"archived":{"description":"Filter for archived status.","type":"boolean","examples":[false]},"max_affliction_date":{"description":"Filter to view findings that occurred on or before the affliction date. Can be a date-time in ISO 8601 format or an epoch timestamp.","type":"string","format":"date-time","examples":["2024-01-01T00:00:00Z"]},"min_affliction_date":{"description":"Filter to view findings that occurred on or after the affliction date. Can be a date-time in ISO 8601 format or an epoch timestamp.","type":"string","format":"date-time","examples":["2023-01-01T00:00:00Z"]},"orders":{"description":"Ordering specifications for the export.","type":"array","items":{"$ref":"#/definitions/posture-api_FindingInstanceExportOrderFilterRequest"},"default":[]},"search":{"description":"A search term.","type":"string","examples":["sensitive data"]}}},"posture-api_FindingInstanceExportOrderFilterRequest":{"description":"Order specification for finding instance exports.","type":"object","properties":{"direction":{"$ref":"#/definitions/posture-api_DirectionEnum"},"name":{"description":"Which field to use when ordering the finding instances.","type":"string","enum":["asset.name","affliction_date"],"examples":["asset.name"]}},"required":["direction","name"]},"posture-api_DirectionEnum":{"description":"Sort direction.","type":"string","enum":["asc","desc"],"examples":["asc"]}}},"name":"Create a finding instances export","id":"cloudflare.createfindinginstancesexportcsv","example":{"path":{"account_id":"46148281d8a93d002ef242d8b0d5f9f6","storage_namespace_id":"00000000-0000-0000-0000-000000000001-00000000-0000-0000-0000-000000000002"}},"maxRequests":1,"summary":false}}