Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloud Security API 24.9.2 #741

Merged
merged 10 commits into from
Sep 20, 2024
145 changes: 67 additions & 78 deletions openapi-specs/cspm/AssetMicroService.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{
"openapi": "3.0.1",
"info": {
"title": "Prisma Cloud Unified Asset Inventory",
"description": "All assets known to Prisma Cloud with a comprehensive Asset Service",
"title": "APIs to query unified asset",
"description": "APIs to query data from Unified Asset Inventory (UAI)",
jrdevore marked this conversation as resolved.
Show resolved Hide resolved
"contact": {
"name": "Slack Us",
"url": "https://panw-rnd.slack.com/archives/C01DQJBJ7LJ",
"email": "pcs-scrum-platform-da-aaaacvlzsrzhfngxbqrn5mqpre@paloaltonetworks.org.slack.com"
"name": "Platform-Ironman",
"url": ""
},
"version": "V1"
},
Expand Down Expand Up @@ -57,14 +56,19 @@
"url": "https://api.fr.prismacloud.io"
}
],
"security": [
{
"bearerAuth": []
}
],
"tags": [
{
"name": "Asset Lookup",
"description": "All assets known to Prisma Cloud with a comprehensive Asset Service"
"description": "Asset Loopup APIs to query data from Unified Asset Inventory (UAI)"
},
{
"name": "Id Translations",
"description": "All assets known to Prisma Cloud with a comprehensive Asset Service"
"description": "Id Translation APIs to query data from Unified Asset Inventory (UAI)"
}
],
"paths": {
Expand Down Expand Up @@ -157,11 +161,7 @@
"type": "object",
"properties": {
"ids": {
"maximum": 200,
"minimum": 1,
"type": "array",
"format": "IdLookup",
"example": "[d49d2177f00f7ce4ab24bb86655efad4]",
"items": {
"maximum": 200,
"minimum": 1,
Expand All @@ -174,22 +174,13 @@
"description": "Request object for id translation"
},
"Problem": {
"required": [
"createdTs",
"parameters"
],
"type": "object",
"properties": {
"type": {
"type": "string",
"format": "uri"
},
"title": {
"type": "string"
},
"status": {
"type": "integer",
"format": "int32"
"$ref": "#/components/schemas/StatusType"
},
"detail": {
"type": "string"
Expand All @@ -198,9 +189,9 @@
"type": "string",
"format": "uri"
},
"createdTs": {
"type": "integer",
"format": "int64"
"type": {
"type": "string",
"format": "uri"
},
"parameters": {
"type": "object",
Expand Down Expand Up @@ -230,12 +221,12 @@
"StatusType": {
"type": "object",
"properties": {
"reasonPhrase": {
"type": "string"
},
"statusCode": {
"type": "integer",
"format": "int32"
},
"reasonPhrase": {
"type": "string"
}
}
},
Expand Down Expand Up @@ -321,12 +312,6 @@
"items": {
"type": "object"
}
},
"ipAddresses": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
Expand All @@ -337,11 +322,7 @@
"type": "object",
"properties": {
"ids": {
"maximum": 200,
"minimum": 1,
"type": "array",
"format": "String",
"example": "[rrn:xxx:xx:xx-xx-x:xxx:xxx:x-xxxx]",
"items": {
"maximum": 200,
"minimum": 1,
Expand All @@ -355,10 +336,7 @@
},
"AssetRequest": {
"required": [
"alertIds",
"assetId",
"attackPathIds",
"prismaCloudFindingsOnly",
"type"
],
"type": "object",
Expand Down Expand Up @@ -397,7 +375,9 @@
"vulnerabilities_group_by_type",
"asset_cwp_vulns",
"app_contexts",
"attributes"
"attributes",
"data_security",
"data_security_summary"
]
},
"findingType": {
Expand Down Expand Up @@ -673,37 +653,10 @@
"$ref": "#/components/schemas/AssetWrapper"
},
"errors": {
"required": [
"locations",
"message",
"path",
"pathAsString"
],
"type": "object",
"properties": {
"message": {
"type": "string"
},
"path": {
"type": "array",
"items": {
"type": "object"
}
},
"locations": {
"type": "array",
"items": {
"type": "object"
}
},
"extensions": {
"$ref": "#/components/schemas/GraphQLErrorExtensions"
},
"pathAsString": {
"type": "string"
}
},
"description": "Error Object."
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphQLError"
}
}
},
"description": "Asset object"
Expand Down Expand Up @@ -939,6 +892,39 @@
}
}
},
"GraphQLError": {
"required": [
"locations",
"message",
"path",
"pathAsString"
],
"type": "object",
"properties": {
"message": {
"type": "string"
},
"path": {
"type": "array",
"items": {
"type": "object"
}
},
"locations": {
"type": "array",
"items": {
"type": "object"
}
},
"extensions": {
"$ref": "#/components/schemas/GraphQLErrorExtensions"
},
"pathAsString": {
"type": "string"
}
},
"description": "Error Object."
},
"GraphQLErrorDebugInfo": {
"required": [
"subquery",
Expand Down Expand Up @@ -1138,12 +1124,6 @@
"hasExtFindingRiskFactors": {
"type": "boolean"
},
"assetClassId": {
"type": "string"
},
"assetClass": {
"type": "string"
},
"alertsCount": {
"type": "array",
"items": {
Expand All @@ -1163,6 +1143,9 @@
"assetCategory": {
"type": "string"
},
"dataSecurityServiceProviderId": {
"type": "string"
},
"problem": {
"type": "array",
"items": {
Expand Down Expand Up @@ -1448,6 +1431,12 @@
},
"trueInternetExposure": {
"type": "string"
},
"dataSecurity": {
"type": "object",
"additionalProperties": {
"type": "object"
}
}
},
"description": "Asset Domain Service Object type."
Expand Down
Loading
Loading