Skip to content

Commit

Permalink
Merge pull request #741 from PaloAltoNetworks/24.9.2
Browse files Browse the repository at this point in the history
Cloud Security API 24.9.2
  • Loading branch information
manukumar6 authored Sep 20, 2024
2 parents e64bfef + 9f0d080 commit 08e0c34
Show file tree
Hide file tree
Showing 4 changed files with 3,517 additions and 1,667 deletions.
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)",
"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

0 comments on commit 08e0c34

Please sign in to comment.