Only controls whose updated_at is at or after this time. Leen bumps updated_at whenever any field changes, so this is the incremental-sync filter. Example: 2021-01-01T00:00:00+00:00.
Include the rules each control cites, with the counts the tool publishes for each, as rules. With includeFindings, each finding also names the rule it failed.
Opaque position of the previous page, for walking backwards. Null on the first page.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Leen.dev Unified API for Security","colors":{"primary":"#8C43EA","light":"#B5FF56","dark":"#8C43EA"},"favicon":"https://mintcdn.com/leen/vQ2Rhs44KY1LGMJC/favicon.png?fit=max\u0026auto=format\u0026n=vQ2Rhs44KY1LGMJC\u0026q=85\u0026s=00c30a06bc8cf54ffc2eaafd1c8a90d5","logo":{"light":"https://mintcdn.com/leen/0MpnNXrQ3mRuduqT/logo/light.svg?fit=max\u0026auto=format\u0026n=0MpnNXrQ3mRuduqT\u0026q=85\u0026s=f622048d909cda879d6dc25b3331a9a8","dark":"https://mintcdn.com/leen/0MpnNXrQ3mRuduqT/logo/dark.svg?fit=max\u0026auto=format\u0026n=0MpnNXrQ3mRuduqT\u0026q=85\u0026s=53e1f792b0c80b645b1350397e708e18"},"api":{"openapi":["openapi.json","openapi_v2.json"]},"appearance":{"default":"light","strict":false},"background":{"decoration":null,"color":{"light":"#F6F5EF","dark":"#090d0e"}},"navbar":{"links":[{"label":"Support","href":"mailto:contact@leen.dev"}],"primary":null},"integrations":{"ga4":{"measurementId":"G-0RXD479LK7"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"leen","hasAudioNarration":false,"actualSubdomain":"leen","customDomains":["docs.leen.dev"],"gitSource":{"type":"github","owner":"leeninc","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae0b2830b083cd94624604d","collectionId":"e851f5a8-ffd6-45a3-ae99-ed44311df306","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae0b2830b083cd94624604d"},"entitlements":{},"buildId":"6ae0b2830b083cd94624604d","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"default","tag":"API Reference","count":91},{"language":"default","tag":"Documentation","count":64},{"language":"default","tag":"Integrations","count":54},{"language":"default","tag":"Setup Instructions","count":36},{"language":"default","tag":"ITSM","count":23},{"language":"default","tag":"Identity Provider (IDP)","count":13},{"language":"default","tag":"Provisioning","count":11},{"language":"default","tag":"Application Security (AppSec)","count":11},{"language":"default","tag":"GRC","count":9},{"language":"default","tag":"Vulnerability Management (VMS)","count":9}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/cspm/get-compliance-data","slug":"/api-reference/cspm/get-compliance-data","pageMetadata":{"openapi":"get /cspm/compliance","title":"List Compliance Data with Conditional Findings","description":"Retrieve compliance frameworks and their controls, each with the findings that determine whether the control passes.","href":"/api-reference/cspm/get-compliance-data"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Retrieve compliance frameworks and their controls, each with the findings that determine whether the control passes.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"get /cspm/compliance","title":"List Compliance Data with Conditional Findings","description":"Retrieve compliance frameworks and their controls, each with the findings that determine whether the control passes.","href":"/api-reference/cspm/get-compliance-data"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Retrieve compliance frameworks and their controls, each with the findings that determine whether the control passes.","operationId":"get_cspm_compliance_data","parameters":["0f31a995-6956-4ee1-96a5-4c4570624e1b","061a6147-ce63-4af9-b871-f098d126ba53","ff8a1578-17fe-431d-9c7d-3c0375d2a4b6","fe3cbb51-5081-4b40-a942-800ada63b4aa","e2955306-a750-41ee-ad95-b8c74d4c3ab0","a6c6ec04-95fd-48da-acae-ee69dcea2ad1","c93220cd-173d-4062-b206-d9698bf9aef4"],"responses":{"200":"45af8bc6-3465-4962-91c9-2474c302a278","422":"a8104b32-4c05-4aa7-afd5-73067979b268"},"security":["6e39443e-f645-42aa-8e9f-fe724396b962"],"summary":"List Compliance Data with Conditional Findings","tags":["cspm"],"method":"get","type":"path","servers":["f90a6b90-72d5-4b55-b234-2914fbc62d65","3361ee71-d73f-428e-a454-e36776673607","5e7aafd1-736a-4f52-bc35-6f2fa35bc169"],"path":"/cspm/compliance","baseUrlOptions":["https://api.leen.dev/v1","https://api.eu-c1.leen.dev/v1","https://api.ap-se2.leen.dev/v1"],"title":"List Compliance Data with Conditional Findings","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"0f31a995-6956-4ee1-96a5-4c4570624e1b":{"description":"Only controls whose `updated_at` is at or after this time. Leen bumps `updated_at` whenever any field changes, so this is the incremental-sync filter. Example: `2021-01-01T00:00:00+00:00`.","in":"query","name":"updatedSince","required":false,"schema":{"oneOf":[{"type":"string","title":"Updatedsince","description":"Only controls whose `updated_at` is at or after this time. Leen bumps `updated_at` whenever any field changes, so this is the incremental-sync filter. Example: `2021-01-01T00:00:00+00:00`.","format":"date-time","example":"2021-01-01T00:00:00+00:00","uniqueKey":"oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Updatedsince","description":"Only controls whose `updated_at` is at or after this time. Leen bumps `updated_at` whenever any field changes, so this is the incremental-sync filter. Example: `2021-01-01T00:00:00+00:00`.","example":"2021-01-01T00:00:00+00:00","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string\u003cdate-time> | null"}},"061a6147-ce63-4af9-b871-f098d126ba53":{"description":"Opaque position of the next page, taken from the previous response. Ignore its contents; it encodes where the walk had reached.","in":"query","name":"cursor","required":false,"schema":{"oneOf":[{"type":"string","title":"Cursor","description":"Opaque position of the next page, taken from the previous response. Ignore its contents; it encodes where the walk had reached.","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Cursor","description":"Opaque position of the next page, taken from the previous response. Ignore its contents; it encodes where the walk had reached.","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"}},"ff8a1578-17fe-431d-9c7d-3c0375d2a4b6":{"description":"How many records to return per page. The walk is the same either way; a larger page means fewer round trips and more memory per response.","in":"query","name":"limit","required":false,"schema":{"default":100,"description":"How many records to return per page. The walk is the same either way; a larger page means fewer round trips and more memory per response.","maximum":500,"minimum":1,"title":"Limit","type":"integer","isRequired":false,"uniqueKey":"","typeLabel":"integer"}},"fe3cbb51-5081-4b40-a942-800ada63b4aa":{"description":"Include findings data (only for FAIL status compliances)","in":"query","name":"includeFindings","required":false,"schema":{"default":false,"description":"Include findings data (only for FAIL status compliances)","title":"Includefindings","type":"boolean","isRequired":false,"uniqueKey":"","typeLabel":"boolean"}},"e2955306-a750-41ee-ad95-b8c74d4c3ab0":{"description":"Filter by one or more compliance status. Valid values: PASS, FAIL, NOT_APPLICABLE, DELETED","in":"query","name":"complianceStatus","required":false,"schema":{"oneOf":[{"type":"string","title":"Compliancestatus","description":"Filter by one or more compliance status. Valid values: PASS, FAIL, NOT_APPLICABLE, DELETED","example":"PASS, FAIL","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Compliancestatus","description":"Filter by one or more compliance status. Valid values: PASS, FAIL, NOT_APPLICABLE, DELETED","example":"PASS, FAIL","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"}},"a6c6ec04-95fd-48da-acae-ee69dcea2ad1":{"description":"Filter by one or more standard (partial match, case insensitive)","in":"query","name":"standard","required":false,"schema":{"oneOf":[{"type":"string","title":"Standard","description":"Filter by one or more standard (partial match, case insensitive)","example":"AWS Best Practices, CIS","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Standard","description":"Filter by one or more standard (partial match, case insensitive)","example":"AWS Best Practices, CIS","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"}},"c93220cd-173d-4062-b206-d9698bf9aef4":{"description":"Include the rules each control cites, with the counts the tool publishes for each, as `rules`. With `includeFindings`, each finding also names the rule it failed.","in":"query","name":"includeRules","required":false,"schema":{"default":false,"description":"Include the rules each control cites, with the counts the tool publishes for each, as `rules`. With `includeFindings`, each finding also names the rule it failed.","title":"Includerules","type":"boolean","isRequired":false,"uniqueKey":"","typeLabel":"boolean"}}},"responses":{"45af8bc6-3465-4962-91c9-2474c302a278":{"content":{"application/json":{"schema":{"properties":{"items":{"description":"The records on this page.","items":{"description":"Compliance-centric response model with conditional findings","properties":{"control":{"description":"The control being evaluated, as the standard names it.","title":"Control","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].control","typeLabel":"string"},"id":{"description":"Leen's identifier for this control result.","format":"uuid","title":"Id","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"is_enabled":{"description":"Whether the control is switched on in the tool. A disabled control is reported rather than hidden, so its absence from results is distinguishable from it passing.","title":"Is Enabled","type":"boolean","isRequired":true,"uniqueKey":"\\items.items.[INDEX].is_enabled","typeLabel":"boolean"},"requirements":{"description":"Requirements within the standard that this control satisfies.","items":{"type":"string","uniqueKey":"\\items.items.[INDEX].requirements.items.[INDEX]","typeLabel":"string"},"title":"Requirements","type":"array","isRequired":true,"uniqueKey":"\\items.items.[INDEX].requirements","typeLabel":"string[]"},"standard":{"description":"The compliance standard the control belongs to, e.g. `CIS`, `PCI-DSS`.","title":"Standard","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].standard","typeLabel":"string"},"status":{"description":"Status, normalised across tools. For the tool's own wording see `vendor_status`.","title":"Status","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].status","typeLabel":"string"},"status_changed_at":{"description":"When `status` last changed.","format":"date-time","title":"Status Changed At","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].status_changed_at","typeLabel":"string\u003cdate-time>"},"vendor":{"description":"Connector that produced this result.","title":"Vendor","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].vendor","typeLabel":"string"},"vendor_id":{"description":"The tool's own identifier for the control.","title":"Vendor Id","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].vendor_id","typeLabel":"string"},"vendor_status":{"description":"Status exactly as the tool words it.","title":"Vendor Status","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].vendor_status","typeLabel":"string"},"findings":{"oneOf":[{"type":"array","items":{"description":"Simplified finding model for inclusion in compliance responses","properties":{"description":{"description":"What the check looked for and what it found.","title":"Description","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].description","typeLabel":"string"},"id":{"description":"Leen's identifier for this finding.","format":"uuid","title":"Id","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"remediation":{"description":"How the tool says to fix it.","title":"Remediation","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].remediation","typeLabel":"string"},"severity":{"description":"Severity, normalised across tools so it can be compared and filtered. For the tool's own wording see `vendor_severity`.","title":"Severity","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].severity","typeLabel":"string"},"start_time":{"description":"When the tool first raised this finding.","format":"date-time","title":"Start Time","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].start_time","typeLabel":"string\u003cdate-time>"},"status":{"description":"Status, normalised across tools. For the tool's own wording see `vendor_status`.","title":"Status","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].status","typeLabel":"string"},"status_changed_at":{"description":"When `status` last changed -- when it passed, failed, or was suppressed.","format":"date-time","title":"Status Changed At","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].status_changed_at","typeLabel":"string\u003cdate-time>"},"title":{"description":"Finding title, as the tool states it.","title":"Title","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].title","typeLabel":"string"},"vendor_id":{"description":"The tool's own identifier for the finding.","title":"Vendor Id","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].vendor_id","typeLabel":"string"},"vendor_severity":{"description":"Severity exactly as the tool words it. Not comparable across tools -- one vendor's confidence level is another's numeric score -- but it is what their console shows.","title":"Vendor Severity","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].vendor_severity","typeLabel":"string"},"vendor_status":{"description":"Status exactly as the tool words it.","title":"Vendor Status","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].vendor_status","typeLabel":"string"},"resource_id":{"oneOf":[{"type":"string","title":"Resource Id","description":"The cloud resource this finding is about, by the provider's id.","uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].resource_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Resource Id","description":"The cloud resource this finding is about, by the provider's id.","uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].resource_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].resource_id","typeLabel":"string | null"},"resource_name":{"oneOf":[{"type":"string","title":"Resource Name","description":"Human-readable name of the resource, where the provider has one.","uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].resource_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Resource Name","description":"Human-readable name of the resource, where the provider has one.","uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].resource_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].resource_name","typeLabel":"string | null"},"resource_region":{"oneOf":[{"type":"string","title":"Resource Region","description":"Provider region the resource lives in.","uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].resource_region.oneOf.0","typeLabel":"string"},{"type":"null","title":"Resource Region","description":"Provider region the resource lives in.","uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].resource_region.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].resource_region","typeLabel":"string | null"},"resource_type":{"oneOf":[{"type":"string","title":"Resource Type","description":"What kind of resource it is, as the provider names it.","uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].resource_type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Resource Type","description":"What kind of resource it is, as the provider names it.","uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].resource_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].resource_type","typeLabel":"string | null"},"rule":{"oneOf":[{"type":"object","title":"CSPMRuleRef","description":"The rule this finding failed. Present only when the request sets `includeRules`; null when the tool names no rule for the finding.","required":["id","vendor_id","name"],"properties":{"id":{"description":"Leen's identifier for this rule.","format":"uuid","title":"Id","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].rule.oneOf.0.id","typeLabel":"string\u003cuuid>"},"name":{"description":"The criterion, as the tool states it.","title":"Name","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].rule.oneOf.0.name","typeLabel":"string"},"vendor_id":{"description":"The tool's own identifier for the rule.","title":"Vendor Id","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].rule.oneOf.0.vendor_id","typeLabel":"string"}},"uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].rule.oneOf.0","typeLabel":"CSPMRuleRef · object"},{"type":"null","description":"The rule this finding failed. Present only when the request sets `includeRules`; null when the tool names no rule for the finding.","uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].rule.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX].rule","typeLabel":"CSPMRuleRef · object | null"}},"required":["id","vendor_id","title","description","remediation","status","vendor_status","severity","vendor_severity","start_time","status_changed_at"],"title":"CSPMComplianceFindingForCompliance","type":"object","uniqueKey":"\\items.items.[INDEX].findings.oneOf.0.items.[INDEX]","typeLabel":"CSPMComplianceFindingForCompliance · object"},"title":"Findings","description":"The failing findings behind this control. Present only when the request asked for them and the control is failing.","uniqueKey":"\\items.items.[INDEX].findings.oneOf.0","typeLabel":"CSPMComplianceFindingForCompliance · object[]"},{"type":"null","title":"Findings","description":"The failing findings behind this control. Present only when the request asked for them and the control is failing.","uniqueKey":"\\items.items.[INDEX].findings.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].findings","typeLabel":"CSPMComplianceFindingForCompliance · object[] | null"},"rule_counts":{"oneOf":[{"type":"object","title":"CSPMRuleCounts","description":"How many of `rules` pass, fail or do not apply: a count of rules, where each rule's own counts are of resources. Present only when the request sets `includeRules`. For Microsoft Defender for Cloud, the control's `vendor_data.passed_resources`, `failed_resources` and `skipped_resources` are the tool's own counts of the same thing, rules (assessments) under the control rather than resources, whatever their names say.","required":["total","passed","failed","not_applicable","unknown"],"properties":{"failed":{"description":"Rules whose `state` under this control is `FAIL`.","minimum":0,"title":"Failed","type":"integer","isRequired":true,"uniqueKey":"\\items.items.[INDEX].rule_counts.oneOf.0.failed","typeLabel":"integer"},"not_applicable":{"description":"Rules whose `state` under this control is `NOT_APPLICABLE`: skipped, or unable to evaluate the control's resources.","minimum":0,"title":"Not Applicable","type":"integer","isRequired":true,"uniqueKey":"\\items.items.[INDEX].rule_counts.oneOf.0.not_applicable","typeLabel":"integer"},"passed":{"description":"Rules whose `state` under this control is `PASS`.","minimum":0,"title":"Passed","type":"integer","isRequired":true,"uniqueKey":"\\items.items.[INDEX].rule_counts.oneOf.0.passed","typeLabel":"integer"},"total":{"description":"Rules this control cites. Equal to `passed` + `failed` + `not_applicable` + `unknown`.","minimum":0,"title":"Total","type":"integer","isRequired":true,"uniqueKey":"\\items.items.[INDEX].rule_counts.oneOf.0.total","typeLabel":"integer"},"unknown":{"description":"Rules with no `state` under this control: the tool published none. Counted separately so the other three plus this one always sum to `total`.","minimum":0,"title":"Unknown","type":"integer","isRequired":true,"uniqueKey":"\\items.items.[INDEX].rule_counts.oneOf.0.unknown","typeLabel":"integer"}},"uniqueKey":"\\items.items.[INDEX].rule_counts.oneOf.0","typeLabel":"CSPMRuleCounts · object"},{"type":"null","description":"How many of `rules` pass, fail or do not apply: a count of rules, where each rule's own counts are of resources. Present only when the request sets `includeRules`. For Microsoft Defender for Cloud, the control's `vendor_data.passed_resources`, `failed_resources` and `skipped_resources` are the tool's own counts of the same thing, rules (assessments) under the control rather than resources, whatever their names say.","uniqueKey":"\\items.items.[INDEX].rule_counts.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].rule_counts","typeLabel":"CSPMRuleCounts · object | null"},"rules":{"oneOf":[{"type":"array","items":{"description":"A rule as one control cites it, with the counts the tool publishes for it there.","properties":{"description":{"description":"What the rule checks, as the tool describes it. Empty when the tool publishes no description.","title":"Description","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].rules.oneOf.0.items.[INDEX].description","typeLabel":"string"},"id":{"description":"Leen's identifier for this rule.","format":"uuid","title":"Id","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].rules.oneOf.0.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"name":{"description":"The criterion, as the tool states it.","title":"Name","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].rules.oneOf.0.items.[INDEX].name","typeLabel":"string"},"remediation":{"description":"How the tool says to fix a resource that fails this rule. Empty when the tool publishes none.","title":"Remediation","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].rules.oneOf.0.items.[INDEX].remediation","typeLabel":"string"},"rule_kind":{"description":"The tool's own classification of the rule -- for Microsoft Defender for Cloud the assessment type, which says whether policy logic sits behind it. Empty when the tool publishes none.","title":"Rule Kind","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].rules.oneOf.0.items.[INDEX].rule_kind","typeLabel":"string"},"severity":{"description":"Severity, normalised across tools. `NONE` when the tool does not rate the rule.","title":"Severity","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].rules.oneOf.0.items.[INDEX].severity","typeLabel":"string"},"vendor_id":{"description":"The tool's own identifier for the rule.","title":"Vendor Id","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].rules.oneOf.0.items.[INDEX].vendor_id","typeLabel":"string"},"failed_resources":{"oneOf":[{"type":"integer","title":"Failed Resources","description":"Resources that fail this rule under this control, as the tool counts them. Null when the tool publishes no count.","uniqueKey":"\\items.items.[INDEX].rules.oneOf.0.items.[INDEX].failed_resources.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Failed Resources","description":"Resources that fail this rule under this control, as the tool counts them. Null when the tool publishes no count.","uniqueKey":"\\items.items.[INDEX].rules.oneOf.0.items.[INDEX].failed_resources.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].rules.oneOf.0.items.[INDEX].failed_resources","typeLabel":"integer | null"},"logic_language":{"oneOf":[{"type":"string","title":"Logic Language","description":"The language of the rule's logic where the tool exposes it: `AZURE_POLICY_JSON`, `REGO`, `LQL` or `WIZ_GRAPH_QUERY`.","uniqueKey":"\\items.items.[INDEX].rules.oneOf.0.items.[INDEX].logic_language.oneOf.0","typeLabel":"string"},{"type":"null","title":"Logic Language","description":"The language of the rule's logic where the tool exposes it: `AZURE_POLICY_JSON`, `REGO`, `LQL` or `WIZ_GRAPH_QUERY`.","uniqueKey":"\\items.items.[INDEX].rules.oneOf.0.items.[INDEX].logic_language.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].rules.oneOf.0.items.[INDEX].logic_language","typeLabel":"string | null"},"passed_resources":{"oneOf":[{"type":"integer","title":"Passed Resources","description":"Resources that pass this rule under this control, as the tool counts them. Null when the tool publishes no count.","uniqueKey":"\\items.items.[INDEX].rules.oneOf.0.items.[INDEX].passed_resources.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Passed Resources","description":"Resources that pass this rule under this control, as the tool counts them. Null when the tool publishes no count.","uniqueKey":"\\items.items.[INDEX].rules.oneOf.0.items.[INDEX].passed_resources.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].rules.oneOf.0.items.[INDEX].passed_resources","typeLabel":"integer | null"},"skipped_resources":{"oneOf":[{"type":"integer","title":"Skipped Resources","description":"Resources the tool skipped for this rule under this control. Null when the tool publishes no count.","uniqueKey":"\\items.items.[INDEX].rules.oneOf.0.items.[INDEX].skipped_resources.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Skipped Resources","description":"Resources the tool skipped for this rule under this control. Null when the tool publishes no count.","uniqueKey":"\\items.items.[INDEX].rules.oneOf.0.items.[INDEX].skipped_resources.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].rules.oneOf.0.items.[INDEX].skipped_resources","typeLabel":"integer | null"},"state":{"oneOf":[{"type":"string","title":"State","description":"Whether this rule passes under this control, normalised across tools.","uniqueKey":"\\items.items.[INDEX].rules.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"type":"null","title":"State","description":"Whether this rule passes under this control, normalised across tools.","uniqueKey":"\\items.items.[INDEX].rules.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].rules.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"unsupported_resources":{"oneOf":[{"type":"integer","title":"Unsupported Resources","description":"Resources this rule cannot evaluate under this control. Null when the tool publishes no count.","uniqueKey":"\\items.items.[INDEX].rules.oneOf.0.items.[INDEX].unsupported_resources.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Unsupported Resources","description":"Resources this rule cannot evaluate under this control. Null when the tool publishes no count.","uniqueKey":"\\items.items.[INDEX].rules.oneOf.0.items.[INDEX].unsupported_resources.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].rules.oneOf.0.items.[INDEX].unsupported_resources","typeLabel":"integer | null"}},"required":["id","vendor_id","name","description","remediation","severity","rule_kind"],"title":"CSPMRuleForCompliance","type":"object","uniqueKey":"\\items.items.[INDEX].rules.oneOf.0.items.[INDEX]","typeLabel":"CSPMRuleForCompliance · object"},"title":"Rules","description":"The rules this control cites, each with the counts the tool publishes for it under this control. Present only when the request sets `includeRules`.","uniqueKey":"\\items.items.[INDEX].rules.oneOf.0","typeLabel":"CSPMRuleForCompliance · object[]"},{"type":"null","title":"Rules","description":"The rules this control cites, each with the counts the tool publishes for it under this control. Present only when the request sets `includeRules`.","uniqueKey":"\\items.items.[INDEX].rules.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].rules","typeLabel":"CSPMRuleForCompliance · object[] | null"},"vendor_data":{"oneOf":[{"type":"object","title":"Vendor Data","description":"Vendor specific pass through data, values can vary based on vendor","additionalProperties":true,"uniqueKey":"\\items.items.[INDEX].vendor_data.oneOf.0","typeLabel":"Vendor Data · object"},{"type":"null","title":"Vendor Data","description":"Vendor specific pass through data, values can vary based on vendor","uniqueKey":"\\items.items.[INDEX].vendor_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].vendor_data","typeLabel":"Vendor Data · object | null"}},"required":["id","vendor_id","vendor","control","standard","requirements","status","vendor_status","is_enabled","status_changed_at"],"title":"CSPMComplianceData","type":"object","uniqueKey":"\\items.items.[INDEX]","typeLabel":"CSPMComplianceData · object"},"title":"Items","type":"array","isRequired":true,"uniqueKey":"\\items","typeLabel":"CSPMComplianceData · object[]"},"next_cursor":{"oneOf":[{"type":"string","title":"Next Cursor","description":"Opaque position of the next page. Pass it back as `cursor` to continue; null when this is the last page.","uniqueKey":"next_cursor.oneOf.0","typeLabel":"string"},{"type":"null","title":"Next Cursor","description":"Opaque position of the next page. Pass it back as `cursor` to continue; null when this is the last page.","uniqueKey":"next_cursor.oneOf.1","typeLabel":"null"}],"uniqueKey":"next_cursor","typeLabel":"string | null"},"previous_cursor":{"oneOf":[{"type":"string","title":"Previous Cursor","description":"Opaque position of the previous page, for walking backwards. Null on the first page.","uniqueKey":"previous_cursor.oneOf.0","typeLabel":"string"},{"type":"null","title":"Previous Cursor","description":"Opaque position of the previous page, for walking backwards. Null on the first page.","uniqueKey":"previous_cursor.oneOf.1","typeLabel":"null"}],"uniqueKey":"previous_cursor","typeLabel":"string | null"}},"required":["items"],"title":"KeySetPaginatedResponse[CSPMComplianceDataRespModel]","type":"object","uniqueKey":"","typeLabel":"KeySetPaginatedResponse[CSPMComplianceDataRespModel] · object"},"examples":{"Example":{"title":"Example","value":{"items":[{"control":"\u003cstring>","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","is_enabled":true,"requirements":["\u003cstring>"],"standard":"\u003cstring>","status":"\u003cstring>","status_changed_at":"2023-11-07T05:31:56Z","vendor":"\u003cstring>","vendor_id":"\u003cstring>","vendor_status":"\u003cstring>","findings":[{"description":"\u003cstring>","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","remediation":"\u003cstring>","severity":"\u003cstring>","start_time":"2023-11-07T05:31:56Z","status":"\u003cstring>","status_changed_at":"2023-11-07T05:31:56Z","title":"\u003cstring>","vendor_id":"\u003cstring>","vendor_severity":"\u003cstring>","vendor_status":"\u003cstring>","resource_id":"\u003cstring>","resource_name":"\u003cstring>","resource_region":"\u003cstring>","resource_type":"\u003cstring>","rule":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","vendor_id":"\u003cstring>"}}],"rule_counts":{"failed":1,"not_applicable":1,"passed":1,"total":1,"unknown":1},"rules":[{"description":"\u003cstring>","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","remediation":"\u003cstring>","rule_kind":"\u003cstring>","severity":"\u003cstring>","vendor_id":"\u003cstring>","failed_resources":123,"logic_language":"\u003cstring>","passed_resources":123,"skipped_resources":123,"state":"\u003cstring>","unsupported_resources":123}],"vendor_data":{}}],"next_cursor":"\u003cstring>","previous_cursor":"\u003cstring>"}}},"exampleType":"generated"}},"description":"Successful Response","exampleType":"generated"},"a8104b32-4c05-4aa7-afd5-73067979b268":{"content":{"application/json":{"schema":{"properties":{"code":{"description":"Error code","title":"Code","type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"description":"List of error dictionaries","items":{"additionalProperties":true,"type":"object","uniqueKey":"detail.items.[INDEX]","typeLabel":"object"},"title":"Detail","type":"array","isRequired":true,"uniqueKey":"detail","typeLabel":"Detail · object[]"},"message":{"description":"Error message","title":"Message","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"description":"Type of error","title":"Type","type":"string","isRequired":true,"uniqueKey":"type","typeLabel":"string"}},"required":["type","code","message","detail"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","detail":[{}],"message":"\u003cstring>","type":"\u003cstring>"}}},"exampleType":"generated"}},"description":"Unprocessable Content","exampleType":"generated"}},"security":{"6e39443e-f645-42aa-8e9f-fe724396b962":{"API-Key":{"in":"header","name":"X-API-KEY","type":"apiKey","scopes":[],"schemeName":"API-Key"},"Connection-ID":{"in":"header","name":"X-CONNECTION-ID","type":"apiKey","scopes":[],"schemeName":"Connection-ID"}}},"servers":{"f90a6b90-72d5-4b55-b234-2914fbc62d65":{"description":"Production API (US)","url":"https://api.leen.dev/v1"},"3361ee71-d73f-428e-a454-e36776673607":{"description":"Production API (EU)","url":"https://api.eu-c1.leen.dev/v1"},"5e7aafd1-736a-4f52-bc35-6f2fa35bc169":{"description":"Production API (APAC)","url":"https://api.ap-se2.leen.dev/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"in":"header","name":"X-API-KEY","type":"apiKey","scopes":[],"schemeName":"API-Key"},"schema":{"title":"X-API-KEY","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"API-Key","name":"X-API-KEY"},{"scheme":{"in":"header","name":"X-CONNECTION-ID","type":"apiKey","scopes":[],"schemeName":"Connection-ID"},"schema":{"title":"X-CONNECTION-ID","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"Connection-ID","name":"X-CONNECTION-ID"}],"title":"API-Key \u0026 Connection-ID"}]},"originalFileLocation":"openapi.json"},"subdomain":"leen","siteName":"Leen.dev Unified API for Security","title":"List Compliance Data with Conditional Findings - Leen.dev Unified API for Security","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-02T23:43:28.694Z","originalFileLocation":"api-reference/cspm/get-compliance-data.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Retrieve compliance frameworks and their controls, each with the findings that determine whether the control passes.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Leen.dev Unified API for Security\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/leen/a1H8fw6GLH0gddpy/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/leen/a1H8fw6GLH0gddpy/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/leen/a1H8fw6GLH0gddpy/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/leen/a1H8fw6GLH0gddpy/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/leen/a1H8fw6GLH0gddpy/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/leen/a1H8fw6GLH0gddpy/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/leen/a1H8fw6GLH0gddpy/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/leen/a1H8fw6GLH0gddpy/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/leen/a1H8fw6GLH0gddpy/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"List Compliance Data with Conditional Findings - Leen.dev Unified API for Security\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve compliance frameworks and their controls, each with the findings that determine whether the control passes.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Leen.dev Unified API for Security\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.leen.dev/api-reference/cspm/get-compliance-data\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://leen.mintlify.app/_mintlify/api/og/v2?division=CSPM\u0026amp;title=List+Compliance+Data+with+Conditional+Findings\u0026amp;description=Retrieve+compliance+frameworks+and+their+controls%2C+each+with+the+findings+that+determine+whether+the+control+passes.\u0026amp;theme=b89b0bc9fdd6330beb9cfeda\u0026amp;signature=41b340b3ac13e68d073d8b590dda3f1423543ea8d4fdd56eeb68977b4e41ff04\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"List Compliance Data with Conditional Findings - Leen.dev Unified API for Security\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve compliance frameworks and their controls, each with the findings that determine whether the control passes.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://leen.mintlify.app/_mintlify/api/og/v2?division=CSPM\u0026amp;title=List+Compliance+Data+with+Conditional+Findings\u0026amp;description=Retrieve+compliance+frameworks+and+their+controls%2C+each+with+the+findings+that+determine+whether+the+control+passes.\u0026amp;theme=b89b0bc9fdd6330beb9cfeda\u0026amp;signature=41b340b3ac13e68d073d8b590dda3f1423543ea8d4fdd56eeb68977b4e41ff04\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/leen/a1H8fw6GLH0gddpy/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Leen.dev Unified API for Security\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8C43EA\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.leen.dev/api-reference/cspm/get-compliance-data\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/cspm/get-compliance-data.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.leen.dev/#organization\",\"name\":\"Leen.dev Unified API for Security\",\"url\":\"https://docs.leen.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/leen/0MpnNXrQ3mRuduqT/logo/light.svg?fit=max\u0026auto=format\u0026n=0MpnNXrQ3mRuduqT\u0026q=85\u0026s=f622048d909cda879d6dc25b3331a9a8\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.leen.dev#website\",\"name\":\"Leen.dev Unified API for Security\",\"url\":\"https://docs.leen.dev\",\"publisher\":{\"@id\":\"https://docs.leen.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.leen.dev/api-reference/cspm/get-compliance-data#webpage\",\"url\":\"https://docs.leen.dev/api-reference/cspm/get-compliance-data\",\"name\":\"List Compliance Data with Conditional Findings\",\"description\":\"Retrieve compliance frameworks and their controls, each with the findings that determine whether the control passes.\",\"dateModified\":\"2026-09-02T23:43:28.694Z\",\"isPartOf\":{\"@id\":\"https://docs.leen.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.leen.dev/api-reference/cspm/get-compliance-data#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.leen.dev/api-reference/cspm/get-compliance-data#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"CSPM\",\"item\":\"https://docs.leen.dev/api-reference/cspm/supported-connectors\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"List Compliance Data with Conditional Findings\",\"item\":\"https://docs.leen.dev/api-reference/cspm/get-compliance-data\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.leen.dev/api-reference/cspm/get-compliance-data#apireference\",\"headline\":\"List Compliance Data with Conditional Findings\",\"name\":\"List Compliance Data with Conditional Findings\",\"description\":\"Retrieve compliance frameworks and their controls, each with the findings that determine whether the control passes.\",\"url\":\"https://docs.leen.dev/api-reference/cspm/get-compliance-data\",\"mainEntityOfPage\":{\"@id\":\"https://docs.leen.dev/api-reference/cspm/get-compliance-data#webpage\"},\"dateModified\":\"2026-09-02T23:43:28.694Z\",\"publisher\":{\"@id\":\"https://docs.leen.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.leen.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Leen.dev Unified API for Security\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Leen.dev Unified API for Security","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/intro/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Creating a new connection","href":"/api-reference/creating-a-connection"},{"title":"Cursor Pagination","href":"/api-reference/pagination"},{"title":"Connection Health","href":"/api-reference/connection-health"}]},{"group":"AppSec","pages":[{"title":"AppSec Connectors","icon":"grid-2","href":"/api-reference/appsec/supported-connectors"},{"openapi":"get /appsec/issues","title":"List Issues","href":"/api-reference/appsec/get-issues"},{"openapi":"get /appsec/issues/{issue_id}","title":"Get Issue by ID","href":"/api-reference/appsec/get-issue-by-id"}]},{"group":"EDR","pages":[{"title":"EDR Connectors","icon":"grid-2","href":"/api-reference/edr/supported-connectors"},{"openapi":"get /edr/alerts","title":"List Alerts","href":"/api-reference/edr/get-alerts"},{"openapi":"get /edr/alerts/{alert_id}","title":"Get Alert by ID","href":"/api-reference/edr/get-alert-by-id"},{"openapi":"get /edr/policies","title":"List Policies","href":"/api-reference/edr/get-policies"}]},{"group":"VMS","pages":[{"title":"VMS Connectors","icon":"grid-2","href":"/api-reference/vms/supported-connectors"},{"openapi":"get /vms/vulnerabilities","title":"List Vulnerabilities","href":"/api-reference/vms/get-vulnerabilities"},{"openapi":"get /vms/vulnerabilities/{vuln_id}","title":"Get Vulnerability by ID","href":"/api-reference/vms/get-vulnerability-by-id"},{"openapi":"get /vms/scan-configurations","title":"List VMS Scan Configurations","href":"/api-reference/vms/get-scan-configurations"},{"openapi":"get /vms/scan-configurations/{scan_config_id}","title":"Get VMS Scan Configuration by ID","href":"/api-reference/vms/get-scan-configuration-by-id"}]},{"group":"CSPM","pages":[{"title":"CSPM Connectors","icon":"grid-2","href":"/api-reference/cspm/supported-connectors"},{"openapi":"get /cspm/alerts","title":"List Alerts","href":"/api-reference/cspm/get-alerts"},{"openapi":"get /cspm/compliance_findings","title":"List Compliance Findings","description":"Retrieve individual compliance findings — one per resource evaluated against one control.","href":"/api-reference/cspm/get-compliance-findings"},{"openapi":"get /cspm/compliance","title":"List Compliance Data with Conditional Findings","href":"/api-reference/cspm/get-compliance-data"}]},{"group":"Identity Provider (IDP)","pages":[{"title":"IDP Connectors","description":"Supported IDP connectors for the IDP endpoints","icon":"grid-2","href":"/api-reference/idp/supported-connector"},{"openapi":"get /idp/users","title":"List IDP Users","href":"/api-reference/idp/list-users"},{"openapi":"get /idp/groups","title":"List IDP Groups","href":"/api-reference/idp/list-groups"},{"openapi":"get /idp/applications","title":"List IDP Applications","href":"/api-reference/idp/list-applications"},{"openapi":"get /idp/alerts","title":"List IDP Alerts","href":"/api-reference/idp/list-alerts"},{"openapi":"get /idp/policies","title":"List IDP Policies","href":"/api-reference/idp/list-policies"},{"openapi":"get /idp/policies/{policy_id}/groups","title":"List Groups for IDP Policy","href":"/api-reference/idp/list-policy-groups"},{"openapi":"get /idp/policies/{policy_id}/applications","title":"List Applications for IDP Policy","href":"/api-reference/idp/list-policy-applications"},{"openapi":"get /idp/policies/{policy_id}/users","title":"List Users for IDP Policy","href":"/api-reference/idp/list-policy-users"}]},{"group":"TPRM","pages":[{"title":"TPRM Connectors","icon":"grid-2","href":"/api-reference/tprm/supported-connectors"},{"group":"Companies","pages":[{"openapi":"get /tprm/companies","title":"List TPRM Companies","href":"/api-reference/tprm/companies/get-companies"},{"openapi":"get /tprm/companies/{company_id}","title":"Get TPRM Company by ID","href":"/api-reference/tprm/companies/get-company-by-id"}]},{"group":"Findings","pages":[{"openapi":"get /tprm/findings","title":"List TPRM Findings","href":"/api-reference/tprm/findings/get-findings"},{"openapi":"get /tprm/findings/{finding_id}","title":"Get TPRM Finding by ID","href":"/api-reference/tprm/findings/get-finding-by-id"}]}]},{"group":"GRC","pages":[{"title":"GRC Connectors","icon":"grid-2","href":"/api-reference/grc/supported-connectors"},{"group":"Entities","pages":[{"openapi":"get /grc/entities","title":"List GRC entities","href":"/api-reference/grc/entities/get-entities"},{"openapi":"get /grc/entities/{entity_id}","title":"Get GRC entity by ID","href":"/api-reference/grc/entities/get-entity-by-id"}]},{"group":"Controls","pages":[{"openapi":"get /grc/controls","title":"List GRC Controls","href":"/api-reference/grc/controls/get-controls"},{"openapi":"get /grc/controls/{control_id}","title":"Get GRC Control","href":"/api-reference/grc/controls/get-control-by-id"}]},{"group":"Assessments","pages":[{"openapi":"get /grc/assessments","title":"List GRC Assessments","href":"/api-reference/grc/assessments/get-assessments"},{"openapi":"get /grc/assessments/{assessment_id}","title":"Get GRC Assessment","href":"/api-reference/grc/assessments/get-assessment-by-id"},{"openapi":"post /grc/assessments/response","title":"Submit GRC Assessment","href":"/api-reference/grc/assessments/post-assessment-response"}]},{"group":"Evidences","pages":[{"openapi":"get /grc/evidences","title":"List GRC Evidences","href":"/api-reference/grc/evidences/get-evidences"}]}]},{"group":"ITSM","pages":[{"title":"ITSM Connectors","icon":"grid-2","href":"/api-reference/itsm/supported-connectors"},{"group":"Tickets","pages":[{"openapi":"post /itsm/tickets","title":"Create ITSM Ticket","href":"/api-reference/itsm/create-ticket"},{"openapi":"get /itsm/tickets","title":"List ITSM Tickets","href":"/api-reference/itsm/get-tickets"},{"openapi":"get /itsm/tickets/{ticket_id}","title":"Get ITSM Ticket by ID","href":"/api-reference/itsm/get-ticket-by-id"},{"openapi":"patch /itsm/tickets/{ticket_id}","title":"Update ITSM Ticket by ID","href":"/api-reference/itsm/update-ticket-by-id"},{"openapi":"get /itsm/tickets/by-identifier/{identifier}","title":"Get ITSM Ticket by Identifier","href":"/api-reference/itsm/get-ticket-by-identifier"},{"openapi":"post /itsm/tickets/bulk","title":"Bulk Create ITSM Tickets (Async)","href":"/api-reference/itsm/create-ticket-bulk"},{"openapi":"post /itsm/tickets/bulk/sync","title":"Bulk Create ITSM Tickets (Sync)","href":"/api-reference/itsm/create-ticket-bulk-sync"},{"openapi":"post /itsm/tickets/bulk/update","title":"Bulk Update ITSM Tickets (Async)","href":"/api-reference/itsm/update-ticket-bulk"}]},{"group":"Projects","pages":[{"openapi":"get /itsm/projects","title":"List ITSM Projects","href":"/api-reference/itsm/get-projects"},{"openapi":"get /itsm/projects/{project_id}","title":"Get ITSM Project by ID","href":"/api-reference/itsm/get-project-by-id"}]},{"group":"Comments","pages":[{"openapi":"get /itsm/comments","title":"List ITSM Comments","href":"/api-reference/itsm/get-comments"},{"openapi":"get /itsm/comments/{comment_id}","title":"Get ITSM Comment by ID","href":"/api-reference/itsm/get-comment-by-id"}]},{"group":"Attachments","pages":[{"openapi":"get /itsm/attachments","title":"List ITSM Attachments","href":"/api-reference/itsm/get-attachments"},{"openapi":"get /itsm/attachments/{attachment_id}","title":"Get ITSM Attachment by ID","href":"/api-reference/itsm/get-attachment-by-id"}]},{"group":"Users","pages":[{"openapi":"get /itsm/users","title":"List ITSM Users","href":"/api-reference/itsm/get-users"},{"openapi":"get /itsm/users/{user_id}","title":"Get ITSM User by ID","href":"/api-reference/itsm/get-user-by-id"}]},{"group":"Groups","pages":[{"openapi":"get /itsm/groups","title":"List ITSM Groups","href":"/api-reference/itsm/get-groups"},{"openapi":"get /itsm/groups/{group_id}","title":"Get ITSM Group by ID","href":"/api-reference/itsm/get-group-by-id"}]},{"group":"Passthrough","pages":[{"openapi":"get /itsm/passthrough/projects","title":"List Projects (Passthrough)","href":"/api-reference/itsm/passthrough-projects"},{"openapi":"get /itsm/passthrough/projects/{project_key}/issue-types","title":"List Issue Types for a Project (Passthrough)","href":"/api-reference/itsm/passthrough-issue-types"},{"openapi":"get /itsm/passthrough/tickets/search","title":"Search Tickets (Passthrough)","href":"/api-reference/itsm/passthrough-tickets-search"},{"openapi":"get /itsm/passthrough/projects/{project_key}/assignable-users","title":"List Assignable Users for a Project (Passthrough)","href":"/api-reference/itsm/passthrough-assignable-users"}]}]},{"group":"Entities","pages":[{"title":"Device Connectors","icon":"grid-2","href":"/api-reference/entities/supported-connectors"},{"openapi":"get /entities/devices","title":"List Devices","href":"/api-reference/entities/get-devices"},{"openapi":"get /entities/devices/{device_id}","title":"Get Device by ID","href":"/api-reference/entities/get-device-by-id"},{"openapi":"get /entities/device-groups","title":"List Device Groups","href":"/api-reference/entities/get-device-groups"}]},{"group":"Configuration","pages":[{"title":"Configuration Connectors","icon":"grid-2","href":"/api-reference/configuration/supported-connectors"},{"openapi":"get /configuration/users","title":"List Configuration Users","href":"/api-reference/configuration/get-configuration-users"},{"openapi":"get /configuration/users/{user_id}","title":"Get Configuration User by ID","href":"/api-reference/configuration/get-configuration-user-by-id"}]},{"group":"Provisioning","pages":[{"openapi":"post /provisioning/organizations","title":"Create Organization","href":"/api-reference/provisioning/add-organization"},{"openapi":"get /provisioning/organizations","title":"List Organizations","href":"/api-reference/provisioning/list-organizations"},{"openapi":"get /provisioning/organizations/{organization_id}","title":"Get Organization by ID","href":"/api-reference/provisioning/get-organization"},{"openapi":"delete /provisioning/organizations/{organization_id}","title":"Delete Organization by ID","href":"/api-reference/provisioning/delete-organization"},{"openapi":"post /provisioning/organizations/{organization_id}/connections","title":"Create Connection","href":"/api-reference/provisioning/add-new-connection"},{"openapi":"get /provisioning/organizations/{organization_id}/connections","title":"List Connections","href":"/api-reference/provisioning/list-connections"},{"openapi":"get /provisioning/organizations/{organization_id}/connections/{connection_id}","title":"Get Connection by ID","href":"/api-reference/provisioning/get-connection"},{"openapi":"get /provisioning/organizations/{organization_id}/connections/{connection_id}/jobs","title":"List Jobs by Connection ID","href":"/api-reference/provisioning/get-connection-jobs"},{"openapi":"get /provisioning/organizations/{organization_id}/connections/{connection_id}/test","title":"Test Connection Credentials by Connection ID","href":"/api-reference/provisioning/test-connection"},{"openapi":"delete /provisioning/organizations/{organization_id}/connections/{connection_id}","title":"Delete Connection","href":"/api-reference/provisioning/delete-connection"},{"openapi":"patch /provisioning/organizations/{organization_id}/connections/{connection_id}","title":"Update Connection by ID and Organization ID","href":"/api-reference/provisioning/update-connection"}]},{"group":"Connectors","pages":[{"openapi":"get /connectors","title":"Get Integrations","href":"/api-reference/connectors"}]},{"group":"Integration Details","pages":[{"title":"List Integration Details","openapi":"get /integrations/","href":"/api-reference/integration-details/list-integration-details"},{"title":"Get Integration Details by ID","openapi":"get /integrations/{id}","href":"/api-reference/integration-details/get-integration-details-by-id"}]},{"group":"OnRamp","pages":[{"openapi":"post /provisioning/organizations/{organization_id}/connection-invite-tokens","title":"Create Connection Invite Token","href":"/api-reference/onramp/create-connection-invite-token"},{"openapi":"get /provisioning/organizations/{organization_id}/connection-invite-tokens","title":"List Connection Invite Tokens","href":"/api-reference/onramp/get-connection-invite-tokens"}]},{"group":"Enrichments","pages":[{"openapi":"get /enrichments/nvd","title":"Get NVD Enrichment Data for CVEs","href":"/api-reference/enrichments/nvd"}]},{"group":"Outbound Jobs","pages":[{"openapi":"get /outbound-jobs/{job_id}","title":"Get Outbound job by id","href":"/api-reference/outbound-job"}]}]},{"tab":"(BETA) API Reference V2","pages":[{"title":"(BETA) API Reference V2","href":"/api-reference-v2/supported-connectors"}]}]},"title":"List Compliance Data with Conditional Findings - Leen.dev Unified API for Security","buildId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","deploymentId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-26-lDe7V.js","utils-CWQmgYtH.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-4-Aw3rSD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C2zjXYA5.js","snippetPresets-DFmpFA7C.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-FJpQavWq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D_GvPF7k.js","shallow-Bs2ZB0NO.js","getApiPlaygroundDisplay-DCcqJJk-.js","CodeSnippet-DzDxawVe.js","CodeSnippets-aUr7fU-7.js","Page-CT9uE8Ip.js","getPastedJson-Y1fKsj_I.js","icon-DI4zTsDr.js","MethodPill-C0nDlmSQ.js","DuplicateIcon-NUXbx2nQ.js","createIcon-BdTHrPAi.js","DynamicMarkdown-CtpgKJwj.js","SectionHeading-B3x35tOt.js","axios-vUo_bRtp.js","Markdown-3OmurJMP.js","clsx-DMKzROTp.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-1ms6tsT-.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Ke9xIMFx.js"]}