{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:aliyun-accessanalyzer/apply-archive-rule":{"post":{"operationId":"cloud_aliyun_accessanalyzer_apply_archive_rule","summary":"Archives findings that match the specified archive rule","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["RuleName","AnalyzerName"],"properties":{"RuleName":{"type":"string","description":"The name of the archive rule"},"AnalyzerName":{"type":"string","description":"The name of the analyzer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-accessanalyzer/create-analyzer":{"post":{"operationId":"cloud_aliyun_accessanalyzer_create_analyzer","summary":"Creates a new Analyzer to analyze over-privileged access or external access for an account or resource…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AnalyzerName"],"properties":{"AnalyzerName":{"type":"string","description":"The name of the Analyzer"},"Type":{"type":"string","enum":["ExternalAccess","OverPrivileged"],"description":"The type of the Analyzer. Valid values: ExternalAccess: external access OverPrivileged: over-privileged access"},"Scope":{"type":"string","enum":["Account","ResourceDirectory"],"description":"The scan scope of the Analyzer. Valid values: Account: account ResourceDirectory: resource directory"},"Configuration":{"type":"string","description":"The configuration information of the Analyzer instance (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-accessanalyzer/create-archive-rule":{"post":{"operationId":"cloud_aliyun_accessanalyzer_create_archive_rule","summary":"Creates an archive rule for an analyzer to automatically archive findings that meet the specified conditions","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Filter","RuleName","AnalyzerName"],"properties":{"Filter":{"type":"string","description":"The list of filter conditions (JSON-encoded)"},"RuleName":{"type":"string","description":"The name of the archive rule"},"AnalyzerName":{"type":"string","description":"The name of the analyzer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-accessanalyzer/delete-analyzer":{"post":{"operationId":"cloud_aliyun_accessanalyzer_delete_analyzer","summary":"Deletes an Analyzer with the specified name","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AnalyzerName"],"properties":{"AnalyzerName":{"type":"string","description":"The analyzer name"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-accessanalyzer/delete-archive-rule":{"post":{"operationId":"cloud_aliyun_accessanalyzer_delete_archive_rule","summary":"Deletes an archive rule under a specified Analyzer","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["RuleName","AnalyzerName"],"properties":{"RuleName":{"type":"string","description":"The name of the archive rule"},"AnalyzerName":{"type":"string","description":"The name of the analyzer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-accessanalyzer/generate-finding-recommendation":{"post":{"operationId":"cloud_aliyun_accessanalyzer_generate_finding_recommendation","summary":"Generates governance recommendations based on the specified analyzer and finding","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AnalyzerName","FindingId"],"properties":{"AnalyzerName":{"type":"string","description":"The name of the analyzer"},"FindingId":{"type":"string","description":"The ID of the finding"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-accessanalyzer/get-analyzed-resource":{"post":{"operationId":"cloud_aliyun_accessanalyzer_get_analyzed_resource","summary":"Queries the analysis details of a specified resource in Analyzer","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ResourceArn","AnalyzerName"],"properties":{"ResourceArn":{"type":"string","description":"The resource ARN"},"AnalyzerName":{"type":"string","description":"The analyzer name"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-accessanalyzer/get-analyzer":{"post":{"operationId":"cloud_aliyun_accessanalyzer_get_analyzer","summary":"Queries the details of an Analyzer with the specified name","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AnalyzerName"],"properties":{"AnalyzerName":{"type":"string","description":"The Analyzer name"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-accessanalyzer/get-archive-rule":{"post":{"operationId":"cloud_aliyun_accessanalyzer_get_archive_rule","summary":"Queries the details of an archive rule under a specified analyzer","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["RuleName","AnalyzerName"],"properties":{"RuleName":{"type":"string","description":"The name of the archive rule"},"AnalyzerName":{"type":"string","description":"The name of the analyzer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-accessanalyzer/get-finding":{"post":{"operationId":"cloud_aliyun_accessanalyzer_get_finding","summary":"Queries the details of a specified finding","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["FindingId","AnalyzerName"],"properties":{"FindingId":{"type":"string","description":"The ID of the finding"},"AnalyzerName":{"type":"string","description":"The name of the analyzer to which the finding belongs"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-accessanalyzer/get-finding-recommendation":{"post":{"operationId":"cloud_aliyun_accessanalyzer_get_finding_recommendation","summary":"Queries the governance recommendations generated for a specified finding","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AnalyzerName","FindingId"],"properties":{"AnalyzerName":{"type":"string","description":"The analyzer name"},"FindingId":{"type":"string","description":"The ID of the finding"},"MaxResults":{"type":"integer","description":"The maximum number of governance recommendations to return in a single request"},"NextToken":{"type":"string","description":"The pagination token for the next page of data. If this parameter is empty, the first page is returned"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-accessanalyzer/get-findings-statistics":{"post":{"operationId":"cloud_aliyun_accessanalyzer_get_findings_statistics","summary":"Retrieves the findings statistics information for a specified analyzer","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AnalyzerName"],"properties":{"AnalyzerName":{"type":"string","description":"The name of the analyzer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-accessanalyzer/list-analyzed-resources":{"post":{"operationId":"cloud_aliyun_accessanalyzer_list_analyzed_resources","summary":"Lists the analyzed resources","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AnalyzerName"],"properties":{"AnalyzerName":{"type":"string","description":"The analyzer name"},"MaxResults":{"type":"integer","description":"The maximum resource count to return in a single request"},"NextToken":{"type":"string","description":"The pagination token. Leave this parameter empty for the first request. For subsequent requests, use the NextToken value returned in the…"},"ResourceType":{"type":"string","description":"The resource type supported by the analyzer. You can use this parameter to filter resources by type"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-accessanalyzer/list-analyzers":{"post":{"operationId":"cloud_aliyun_accessanalyzer_list_analyzers","summary":"Lists all analyzers and supports filtering results by conditions","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"MaxResults":{"type":"integer","description":"The maximum number of analyzers to return in a single request"},"NextToken":{"type":"string","description":"The pagination token"},"Type":{"type":"string","enum":["ExternalAccess","OverPrivileged"],"description":"Filters analyzers by type"},"Scope":{"type":"string","enum":["Account","ResourceDirectory"],"description":"Filters analyzers by scan scope"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-accessanalyzer/list-archive-rules":{"post":{"operationId":"cloud_aliyun_accessanalyzer_list_archive_rules","summary":"Queries all archive rules under a specified analyzer","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AnalyzerName"],"properties":{"AnalyzerName":{"type":"string","description":"The analyzer name"},"MaxResults":{"type":"integer","description":"The maximum number of archive rules to return in a single request"},"NextToken":{"type":"string","description":"The pagination token. Leave this parameter empty for the first request. For subsequent requests, use the NextToken value returned in the…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-accessanalyzer/list-findings":{"post":{"operationId":"cloud_aliyun_accessanalyzer_list_findings","summary":"Lists all findings under a specified analyzer. You can filter results by specifying filter conditions","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AnalyzerName"],"properties":{"Filter":{"type":"string","description":"The list of filter conditions (JSON-encoded)"},"AnalyzerName":{"type":"string","description":"The analyzer name"},"MaxResults":{"type":"integer","description":"The maximum number of findings to return in a single request. Default value: 100"},"NextToken":{"type":"string","description":"The pagination token. Leave this parameter empty for the first request. For subsequent requests, use the NextToken value returned in the…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-accessanalyzer/start-resource-scan":{"post":{"operationId":"cloud_aliyun_accessanalyzer_start_resource_scan","summary":"Initiates an analysis scan for a specified resource","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ResourceArn","AnalyzerName"],"properties":{"ResourceArn":{"type":"string","description":"The ARN of the resource to scan"},"AnalyzerName":{"type":"string","description":"The name of the analyzer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-accessanalyzer/update-archive-rule":{"post":{"operationId":"cloud_aliyun_accessanalyzer_update_archive_rule","summary":"Updates an existing archive rule","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Filter","RuleName","AnalyzerName"],"properties":{"Filter":{"type":"string","description":"The list of filter conditions (JSON-encoded)"},"RuleName":{"type":"string","description":"The name of the archive rule to update"},"AnalyzerName":{"type":"string","description":"The name of the analyzer to which the archive rule belongs"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-accessanalyzer/update-findings":{"post":{"operationId":"cloud_aliyun_accessanalyzer_update_findings","summary":"Modifies the status of one or more specified findings. Findings with a resolved status cannot be modified","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AnalyzerName","Status"],"properties":{"FindingIds":{"type":"string","description":"The list of finding IDs to update (JSON-encoded)"},"AnalyzerName":{"type":"string","description":"The analyzer name"},"Status":{"type":"string","enum":["Archived","Active"],"description":"The target status to update to"},"ResourceArn":{"type":"string","description":"Updates the status of all findings under the specified resource by resource ARN"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-accessanalyzer/validate-policy":{"post":{"operationId":"cloud_aliyun_accessanalyzer_validate_policy","summary":"Validates an access policy and returns a list of analysis results","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PolicyDocument","PolicyType"],"properties":{"PolicyDocument":{"type":"string","description":"The content of the access policy to validate. The maximum length is 61,440 characters"},"PolicyType":{"type":"string","enum":["IdentityBasedPolicy","ResourceBasedPolicy"],"description":"The policy type"},"ValidatePolicyResourceType":{"type":"string","description":"The resource type. This parameter can be specified only when PolicyType is set to ResourceBasedPolicy. This parameter is used for more…"},"MaxResults":{"type":"integer","description":"The maximum number of validation results to return in a single request"},"NextToken":{"type":"string","description":"The pagination token. Leave this parameter empty for the first request. For subsequent requests, use the NextToken value returned in the…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-accessanalyzer/version":{"post":{"operationId":"cloud_aliyun_accessanalyzer_version","summary":"version","description":"POST /","tags":["cloud"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}