From 22fc02c33d9a9e78d3069499cb0b34cc46676533 Mon Sep 17 00:00:00 2001 From: Avinash Bharti Date: Fri, 3 Jan 2025 12:59:31 +0530 Subject: [PATCH 1/2] added changes for asset simfilter api --- .../parameters/affectedAssetsCount_query.yaml | 34 ++++++++++ .../parameters/allAnomaliesCount_query.yaml | 34 ++++++++++ .../v1/parameters/allEventsCount_query.yaml | 34 ++++++++++ .../v1/parameters/allFindingsCount_query.yaml | 34 ++++++++++ .../parameters/allMisconfigCount_query.yaml | 34 ++++++++++ .../v1/parameters/allThreatsCount_query.yaml | 34 ++++++++++ .../v1/parameters/allVulnCount_query.yaml | 34 ++++++++++ .../v1/parameters/assetName_query.yaml | 8 +++ .../parameters/configEventsCount_query.yaml | 34 ++++++++++ .../v1/parameters/controlId_path.yaml | 9 +++ .../parameters/criticalEventsCount_query.yaml | 34 ++++++++++ .../parameters/criticalVulnCount_query.yaml | 34 ++++++++++ .../dataChangeEventsCount_query.yaml | 34 ++++++++++ .../v1/parameters/filterKey_path.yaml | 9 +++ .../parameters/highMisconfigCount_query.yaml | 34 ++++++++++ .../v1/parameters/highVulnCount_query.yaml | 34 ++++++++++ .../iamChangeEventsCount_query.yaml | 34 ++++++++++ .../v1/parameters/infoVulnCount_query.yaml | 34 ++++++++++ .../security/v1/parameters/isRisky_query.yaml | 9 +++ .../parameters/lowMisconfigCount_query.yaml | 34 ++++++++++ .../v1/parameters/lowVulnCount_query.yaml | 34 ++++++++++ .../mediumMisconfigCount_query.yaml | 34 ++++++++++ .../v1/parameters/mediumVulnCount_query.yaml | 34 ++++++++++ .../v1/parameters/ordering_query.yaml | 8 +++ .../security/v1/parameters/ruleName_path.yaml | 8 +++ .../security/v1/paths/complianceName.yaml | 27 ++++++++ api/services/security/v1/paths/controlId.yaml | 28 ++++++++ api/services/security/v1/paths/filterKey.yaml | 68 +++++++++++++++++++ api/services/security/v1/paths/ruleName.yaml | 31 +++++++++ .../security/v1/schemas/AssetFilters.yaml | 10 +++ .../schemas/AssetSimFilterResponseModel.yaml | 7 ++ .../BaseResponse_ComplianceModel_.yaml | 20 ++++++ .../schemas/BaseResponse_ControlModel_.yaml | 20 ++++++ .../v1/schemas/BaseResponse_RulesModel_.yaml | 20 ++++++ .../security/v1/schemas/Ordering.yaml | 54 +++++++++++++++ ...Response_AssetSimFilterResponseModel_.yaml | 23 +++++++ ...sponse_BaseResponse_ComplianceModel__.yaml | 17 +++++ ...tResponse_BaseResponse_ControlModel__.yaml | 17 +++++ ...potResponse_BaseResponse_RulesModel__.yaml | 17 +++++ ...esponse_AssetSimFilterResponseModel__.yaml | 17 +++++ api/spot.yaml | 6 +- 41 files changed, 1078 insertions(+), 1 deletion(-) create mode 100644 api/services/security/v1/parameters/affectedAssetsCount_query.yaml create mode 100644 api/services/security/v1/parameters/allAnomaliesCount_query.yaml create mode 100644 api/services/security/v1/parameters/allEventsCount_query.yaml create mode 100644 api/services/security/v1/parameters/allFindingsCount_query.yaml create mode 100644 api/services/security/v1/parameters/allMisconfigCount_query.yaml create mode 100644 api/services/security/v1/parameters/allThreatsCount_query.yaml create mode 100644 api/services/security/v1/parameters/allVulnCount_query.yaml create mode 100644 api/services/security/v1/parameters/assetName_query.yaml create mode 100644 api/services/security/v1/parameters/configEventsCount_query.yaml create mode 100644 api/services/security/v1/parameters/controlId_path.yaml create mode 100644 api/services/security/v1/parameters/criticalEventsCount_query.yaml create mode 100644 api/services/security/v1/parameters/criticalVulnCount_query.yaml create mode 100644 api/services/security/v1/parameters/dataChangeEventsCount_query.yaml create mode 100644 api/services/security/v1/parameters/filterKey_path.yaml create mode 100644 api/services/security/v1/parameters/highMisconfigCount_query.yaml create mode 100644 api/services/security/v1/parameters/highVulnCount_query.yaml create mode 100644 api/services/security/v1/parameters/iamChangeEventsCount_query.yaml create mode 100644 api/services/security/v1/parameters/infoVulnCount_query.yaml create mode 100644 api/services/security/v1/parameters/isRisky_query.yaml create mode 100644 api/services/security/v1/parameters/lowMisconfigCount_query.yaml create mode 100644 api/services/security/v1/parameters/lowVulnCount_query.yaml create mode 100644 api/services/security/v1/parameters/mediumMisconfigCount_query.yaml create mode 100644 api/services/security/v1/parameters/mediumVulnCount_query.yaml create mode 100644 api/services/security/v1/parameters/ordering_query.yaml create mode 100644 api/services/security/v1/parameters/ruleName_path.yaml create mode 100644 api/services/security/v1/paths/complianceName.yaml create mode 100644 api/services/security/v1/paths/controlId.yaml create mode 100644 api/services/security/v1/paths/filterKey.yaml create mode 100644 api/services/security/v1/paths/ruleName.yaml create mode 100644 api/services/security/v1/schemas/AssetFilters.yaml create mode 100644 api/services/security/v1/schemas/AssetSimFilterResponseModel.yaml create mode 100644 api/services/security/v1/schemas/BaseResponse_ComplianceModel_.yaml create mode 100644 api/services/security/v1/schemas/BaseResponse_ControlModel_.yaml create mode 100644 api/services/security/v1/schemas/BaseResponse_RulesModel_.yaml create mode 100644 api/services/security/v1/schemas/Ordering.yaml create mode 100644 api/services/security/v1/schemas/PaginatedResponse_AssetSimFilterResponseModel_.yaml create mode 100644 api/services/security/v1/schemas/SpotResponse_BaseResponse_ComplianceModel__.yaml create mode 100644 api/services/security/v1/schemas/SpotResponse_BaseResponse_ControlModel__.yaml create mode 100644 api/services/security/v1/schemas/SpotResponse_BaseResponse_RulesModel__.yaml create mode 100644 api/services/security/v1/schemas/SpotResponse_PaginatedResponse_AssetSimFilterResponseModel__.yaml diff --git a/api/services/security/v1/parameters/affectedAssetsCount_query.yaml b/api/services/security/v1/parameters/affectedAssetsCount_query.yaml new file mode 100644 index 00000000..e9f3969c --- /dev/null +++ b/api/services/security/v1/parameters/affectedAssetsCount_query.yaml @@ -0,0 +1,34 @@ +description: "The number of neighboring assets affected by the finding.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n \n + \ \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than + equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " +in: query +name: affectedAssetsCount +required: false +schema: + description: "The number of neighboring assets affected by the finding.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater + than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " + title: Affectedassetscount + type: string diff --git a/api/services/security/v1/parameters/allAnomaliesCount_query.yaml b/api/services/security/v1/parameters/allAnomaliesCount_query.yaml new file mode 100644 index 00000000..7d4671d1 --- /dev/null +++ b/api/services/security/v1/parameters/allAnomaliesCount_query.yaml @@ -0,0 +1,34 @@ +description: "The total number of anomalies found for the asset.\n
\n Enter + either a number or prefix it with one of the following operators.\n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \
OperatorNotationExample
EqualsNo prefix or optionally + \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater than\\~gt\\~\\~gt\\~10
Greater than + equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than equals\\~lte\\~\\~lte\\~10
Between two + ranges\\~bt\\~\\~bt\\~10,20
\n " +in: query +name: allAnomaliesCount +required: false +schema: + description: "The total number of anomalies found for the asset.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater + than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " + title: Allanomaliescount + type: string diff --git a/api/services/security/v1/parameters/allEventsCount_query.yaml b/api/services/security/v1/parameters/allEventsCount_query.yaml new file mode 100644 index 00000000..f6f06a0c --- /dev/null +++ b/api/services/security/v1/parameters/allEventsCount_query.yaml @@ -0,0 +1,34 @@ +description: "The total number of events found for the asset.\n
\n Enter + either a number or prefix it with one of the following operators.\n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \
OperatorNotationExample
EqualsNo prefix or optionally + \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater than\\~gt\\~\\~gt\\~10
Greater than + equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than equals\\~lte\\~\\~lte\\~10
Between two + ranges\\~bt\\~\\~bt\\~10,20
\n " +in: query +name: allEventsCount +required: false +schema: + description: "The total number of events found for the asset.\n
\n Enter + either a number or prefix it with one of the following operators.\n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \
OperatorNotationExample
EqualsNo prefix or + optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater than\\~gt\\~\\~gt\\~10
Greater + than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than equals\\~lte\\~\\~lte\\~10
Between + two ranges\\~bt\\~\\~bt\\~10,20
\n " + title: Alleventscount + type: string diff --git a/api/services/security/v1/parameters/allFindingsCount_query.yaml b/api/services/security/v1/parameters/allFindingsCount_query.yaml new file mode 100644 index 00000000..5b40c152 --- /dev/null +++ b/api/services/security/v1/parameters/allFindingsCount_query.yaml @@ -0,0 +1,34 @@ +description: "Sum of vulnerabilities, misconfigurations, threats and anomalies\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n \n + \ \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than + equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " +in: query +name: allFindingsCount +required: false +schema: + description: "Sum of vulnerabilities, misconfigurations, threats and anomalies\n + \
\n Enter either a number or prefix it with one of the following + operators.\n \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater + than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " + title: Allfindingscount + type: string diff --git a/api/services/security/v1/parameters/allMisconfigCount_query.yaml b/api/services/security/v1/parameters/allMisconfigCount_query.yaml new file mode 100644 index 00000000..6eeffff5 --- /dev/null +++ b/api/services/security/v1/parameters/allMisconfigCount_query.yaml @@ -0,0 +1,34 @@ +description: "The total number of misconfigurations found for the asset.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n \n + \ \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than + equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " +in: query +name: allMisconfigCount +required: false +schema: + description: "The total number of misconfigurations found for the asset.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater + than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " + title: Allmisconfigcount + type: string diff --git a/api/services/security/v1/parameters/allThreatsCount_query.yaml b/api/services/security/v1/parameters/allThreatsCount_query.yaml new file mode 100644 index 00000000..1b8dd57b --- /dev/null +++ b/api/services/security/v1/parameters/allThreatsCount_query.yaml @@ -0,0 +1,34 @@ +description: "The total number of threats found for the asset.\n
\n Enter + either a number or prefix it with one of the following operators.\n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \
OperatorNotationExample
EqualsNo prefix or optionally + \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater than\\~gt\\~\\~gt\\~10
Greater than + equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than equals\\~lte\\~\\~lte\\~10
Between two + ranges\\~bt\\~\\~bt\\~10,20
\n " +in: query +name: allThreatsCount +required: false +schema: + description: "The total number of threats found for the asset.\n
\n Enter + either a number or prefix it with one of the following operators.\n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \
OperatorNotationExample
EqualsNo prefix or + optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater than\\~gt\\~\\~gt\\~10
Greater + than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than equals\\~lte\\~\\~lte\\~10
Between + two ranges\\~bt\\~\\~bt\\~10,20
\n " + title: Allthreatscount + type: string diff --git a/api/services/security/v1/parameters/allVulnCount_query.yaml b/api/services/security/v1/parameters/allVulnCount_query.yaml new file mode 100644 index 00000000..da534938 --- /dev/null +++ b/api/services/security/v1/parameters/allVulnCount_query.yaml @@ -0,0 +1,34 @@ +description: "The total number of vulnerabilities found for the asset.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n \n + \ \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than + equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " +in: query +name: allVulnCount +required: false +schema: + description: "The total number of vulnerabilities found for the asset.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater + than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " + title: Allvulncount + type: string diff --git a/api/services/security/v1/parameters/assetName_query.yaml b/api/services/security/v1/parameters/assetName_query.yaml new file mode 100644 index 00000000..acbd1f30 --- /dev/null +++ b/api/services/security/v1/parameters/assetName_query.yaml @@ -0,0 +1,8 @@ +description: The name of the asset ID. +in: query +name: assetName +required: false +schema: + description: The name of the asset ID. + title: Assetname + type: string diff --git a/api/services/security/v1/parameters/configEventsCount_query.yaml b/api/services/security/v1/parameters/configEventsCount_query.yaml new file mode 100644 index 00000000..2f1406de --- /dev/null +++ b/api/services/security/v1/parameters/configEventsCount_query.yaml @@ -0,0 +1,34 @@ +description: "The number of configuration events found for the asset.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n \n + \ \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than + equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " +in: query +name: configEventsCount +required: false +schema: + description: "The number of configuration events found for the asset.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater + than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " + title: Configeventscount + type: string diff --git a/api/services/security/v1/parameters/controlId_path.yaml b/api/services/security/v1/parameters/controlId_path.yaml new file mode 100644 index 00000000..a410cdb3 --- /dev/null +++ b/api/services/security/v1/parameters/controlId_path.yaml @@ -0,0 +1,9 @@ +description: The ID of the control defined in the compliance. +example: A1.2 +in: path +name: controlId +required: true +schema: + description: The ID of the control defined in the compliance. + title: Controlid + type: string diff --git a/api/services/security/v1/parameters/criticalEventsCount_query.yaml b/api/services/security/v1/parameters/criticalEventsCount_query.yaml new file mode 100644 index 00000000..7eafab77 --- /dev/null +++ b/api/services/security/v1/parameters/criticalEventsCount_query.yaml @@ -0,0 +1,34 @@ +description: "The number of critical events found for the asset.\n
\n Enter + either a number or prefix it with one of the following operators.\n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \
OperatorNotationExample
EqualsNo prefix or optionally + \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater than\\~gt\\~\\~gt\\~10
Greater than + equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than equals\\~lte\\~\\~lte\\~10
Between two + ranges\\~bt\\~\\~bt\\~10,20
\n " +in: query +name: criticalEventsCount +required: false +schema: + description: "The number of critical events found for the asset.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater + than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " + title: Criticaleventscount + type: string diff --git a/api/services/security/v1/parameters/criticalVulnCount_query.yaml b/api/services/security/v1/parameters/criticalVulnCount_query.yaml new file mode 100644 index 00000000..c9bb9da4 --- /dev/null +++ b/api/services/security/v1/parameters/criticalVulnCount_query.yaml @@ -0,0 +1,34 @@ +description: "The number of critical vulnerabilities found for the asset.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n \n + \ \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than + equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " +in: query +name: criticalVulnCount +required: false +schema: + description: "The number of critical vulnerabilities found for the asset.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater + than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " + title: Criticalvulncount + type: string diff --git a/api/services/security/v1/parameters/dataChangeEventsCount_query.yaml b/api/services/security/v1/parameters/dataChangeEventsCount_query.yaml new file mode 100644 index 00000000..9defa47f --- /dev/null +++ b/api/services/security/v1/parameters/dataChangeEventsCount_query.yaml @@ -0,0 +1,34 @@ +description: "The number of data change events found for the asset.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n \n + \ \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than + equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " +in: query +name: dataChangeEventsCount +required: false +schema: + description: "The number of data change events found for the asset.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater + than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " + title: Datachangeeventscount + type: string diff --git a/api/services/security/v1/parameters/filterKey_path.yaml b/api/services/security/v1/parameters/filterKey_path.yaml new file mode 100644 index 00000000..dcdbe251 --- /dev/null +++ b/api/services/security/v1/parameters/filterKey_path.yaml @@ -0,0 +1,9 @@ +description: The name of the filter +in: path +name: filterKey +required: true +schema: + allOf: + - $ref: "../schemas/AssetFilters.yaml" + description: The name of the filter + title: Filterkey diff --git a/api/services/security/v1/parameters/highMisconfigCount_query.yaml b/api/services/security/v1/parameters/highMisconfigCount_query.yaml new file mode 100644 index 00000000..ed35e017 --- /dev/null +++ b/api/services/security/v1/parameters/highMisconfigCount_query.yaml @@ -0,0 +1,34 @@ +description: "The number of high misconfigurations found for the asset.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n \n + \ \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than + equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " +in: query +name: highMisconfigCount +required: false +schema: + description: "The number of high misconfigurations found for the asset.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater + than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " + title: Highmisconfigcount + type: string diff --git a/api/services/security/v1/parameters/highVulnCount_query.yaml b/api/services/security/v1/parameters/highVulnCount_query.yaml new file mode 100644 index 00000000..3a734707 --- /dev/null +++ b/api/services/security/v1/parameters/highVulnCount_query.yaml @@ -0,0 +1,34 @@ +description: "The number of high vulnerabilities found for the asset.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n \n + \ \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than + equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " +in: query +name: highVulnCount +required: false +schema: + description: "The number of high vulnerabilities found for the asset.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater + than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " + title: Highvulncount + type: string diff --git a/api/services/security/v1/parameters/iamChangeEventsCount_query.yaml b/api/services/security/v1/parameters/iamChangeEventsCount_query.yaml new file mode 100644 index 00000000..34529706 --- /dev/null +++ b/api/services/security/v1/parameters/iamChangeEventsCount_query.yaml @@ -0,0 +1,34 @@ +description: "The number of IAM change events found for the asset.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n \n + \ \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than + equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " +in: query +name: iamChangeEventsCount +required: false +schema: + description: "The number of IAM change events found for the asset.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater + than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " + title: Iamchangeeventscount + type: string diff --git a/api/services/security/v1/parameters/infoVulnCount_query.yaml b/api/services/security/v1/parameters/infoVulnCount_query.yaml new file mode 100644 index 00000000..c9df5d64 --- /dev/null +++ b/api/services/security/v1/parameters/infoVulnCount_query.yaml @@ -0,0 +1,34 @@ +description: "The number of informational vulnerabilities found for the asset.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n \n + \ \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than + equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " +in: query +name: infoVulnCount +required: false +schema: + description: "The number of informational vulnerabilities found for the asset.\n + \
\n Enter either a number or prefix it with one of the following + operators.\n \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater + than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " + title: Infovulncount + type: string diff --git a/api/services/security/v1/parameters/isRisky_query.yaml b/api/services/security/v1/parameters/isRisky_query.yaml new file mode 100644 index 00000000..dfcaa082 --- /dev/null +++ b/api/services/security/v1/parameters/isRisky_query.yaml @@ -0,0 +1,9 @@ +description: True if there are findings discovered for the asset +example: 'true' +in: query +name: isRisky +required: false +schema: + description: True if there are findings discovered for the asset + title: Isrisky + type: boolean diff --git a/api/services/security/v1/parameters/lowMisconfigCount_query.yaml b/api/services/security/v1/parameters/lowMisconfigCount_query.yaml new file mode 100644 index 00000000..73aeb247 --- /dev/null +++ b/api/services/security/v1/parameters/lowMisconfigCount_query.yaml @@ -0,0 +1,34 @@ +description: "The number of low misconfigurations found for the asset.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n \n + \ \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than + equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " +in: query +name: lowMisconfigCount +required: false +schema: + description: "The number of low misconfigurations found for the asset.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater + than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " + title: Lowmisconfigcount + type: string diff --git a/api/services/security/v1/parameters/lowVulnCount_query.yaml b/api/services/security/v1/parameters/lowVulnCount_query.yaml new file mode 100644 index 00000000..0d1f144f --- /dev/null +++ b/api/services/security/v1/parameters/lowVulnCount_query.yaml @@ -0,0 +1,34 @@ +description: "The number of low vulnerabilities found for the asset.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n \n + \ \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than + equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " +in: query +name: lowVulnCount +required: false +schema: + description: "The number of low vulnerabilities found for the asset.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater + than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " + title: Lowvulncount + type: string diff --git a/api/services/security/v1/parameters/mediumMisconfigCount_query.yaml b/api/services/security/v1/parameters/mediumMisconfigCount_query.yaml new file mode 100644 index 00000000..65b32ecf --- /dev/null +++ b/api/services/security/v1/parameters/mediumMisconfigCount_query.yaml @@ -0,0 +1,34 @@ +description: "The number of medium misconfigurations found for the asset.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n \n + \ \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than + equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " +in: query +name: mediumMisconfigCount +required: false +schema: + description: "The number of medium misconfigurations found for the asset.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater + than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " + title: Mediummisconfigcount + type: string diff --git a/api/services/security/v1/parameters/mediumVulnCount_query.yaml b/api/services/security/v1/parameters/mediumVulnCount_query.yaml new file mode 100644 index 00000000..b886dfd2 --- /dev/null +++ b/api/services/security/v1/parameters/mediumVulnCount_query.yaml @@ -0,0 +1,34 @@ +description: "The number of medium vulnerabilities found for the asset.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n \n + \ \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than + equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " +in: query +name: mediumVulnCount +required: false +schema: + description: "The number of medium vulnerabilities found for the asset.\n
\n + \ Enter either a number or prefix it with one of the following operators.\n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n + \ \n \n \n \n + \ \n \n \n \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n \n \n + \ \n \n \n + \ \n \n \n \n + \ \n \n
OperatorNotationExample
EqualsNo prefix or optionally \\~eq\\~10 or \\~eq\\~10
Not equals\\~neq\\~\\~neq\\~10
Greater + than\\~gt\\~\\~gt\\~10
Greater than equals\\~gte\\~\\~gte\\~10
Less than\\~lt\\~\\~lt\\~10
Less than equals\\~lte\\~\\~lte\\~10
Between two ranges\\~bt\\~\\~bt\\~10,20
\n " + title: Mediumvulncount + type: string diff --git a/api/services/security/v1/parameters/ordering_query.yaml b/api/services/security/v1/parameters/ordering_query.yaml new file mode 100644 index 00000000..691e66fe --- /dev/null +++ b/api/services/security/v1/parameters/ordering_query.yaml @@ -0,0 +1,8 @@ +in: query +name: ordering +required: false +schema: + allOf: + - $ref: "../schemas/Ordering.yaml" + default: -allMisconfigCount + title: Ordering diff --git a/api/services/security/v1/parameters/ruleName_path.yaml b/api/services/security/v1/parameters/ruleName_path.yaml new file mode 100644 index 00000000..11e64175 --- /dev/null +++ b/api/services/security/v1/parameters/ruleName_path.yaml @@ -0,0 +1,8 @@ +description: The unique name of the rule. +in: path +name: ruleName +required: true +schema: + description: The unique name of the rule. + title: Rulename + type: string diff --git a/api/services/security/v1/paths/complianceName.yaml b/api/services/security/v1/paths/complianceName.yaml new file mode 100644 index 00000000..883a1657 --- /dev/null +++ b/api/services/security/v1/paths/complianceName.yaml @@ -0,0 +1,27 @@ +get: + description: Get details about a specific compliance. + operationId: get_compliance_v1_compliances__complianceName__get + parameters: + - $ref: "../parameters/complianceName_path.yaml" + responses: + '200': + content: + application/json: + schema: + $ref: "../schemas/SpotResponse_BaseResponse_ComplianceModel__.yaml" + description: Successful Response + '400': + content: {} + description: Bad Request + '404': + description: Not Found + '422': + content: + application/json: + schema: + $ref: "../schemas/HTTPValidationError.yaml" + description: Validation Error + summary: Get Compliance + tags: + - Compliance +parameters: [] diff --git a/api/services/security/v1/paths/controlId.yaml b/api/services/security/v1/paths/controlId.yaml new file mode 100644 index 00000000..aca11ed1 --- /dev/null +++ b/api/services/security/v1/paths/controlId.yaml @@ -0,0 +1,28 @@ +get: + description: Get details about a specific control. + operationId: get_compliance_control_v1_compliances__complianceName__controls__controlId__get + parameters: + - $ref: "../parameters/complianceName_path.yaml" + - $ref: "../parameters/controlId_path.yaml" + responses: + '200': + content: + application/json: + schema: + $ref: "../schemas/SpotResponse_BaseResponse_ControlModel__.yaml" + description: Successful Response + '400': + content: {} + description: Bad Request + '404': + description: Not Found + '422': + content: + application/json: + schema: + $ref: "../schemas/HTTPValidationError.yaml" + description: Validation Error + summary: Get Compliance Control + tags: + - Compliance +parameters: [] diff --git a/api/services/security/v1/paths/filterKey.yaml b/api/services/security/v1/paths/filterKey.yaml new file mode 100644 index 00000000..5f20863b --- /dev/null +++ b/api/services/security/v1/paths/filterKey.yaml @@ -0,0 +1,68 @@ +get: + description: 'This API returns the specification of supported filter keys and its + supported values. + + This API is useful for the frontend to show the filter keys and its supported + values.' + operationId: get_asset_sim_filter_v1_assets_filters__filterKey__get + parameters: + - $ref: "../parameters/filterKey_path.yaml" + - $ref: "../parameters/cloud_query.yaml" + - $ref: "../parameters/accountId_query.yaml" + - $ref: "../parameters/notAccountId_query.yaml" + - $ref: "../parameters/accountName_query.yaml" + - $ref: "../parameters/notAccountName_query.yaml" + - $ref: "../parameters/region_query.yaml" + - $ref: "../parameters/notRegion_query.yaml" + - $ref: "../parameters/date_query.yaml" + - $ref: "../parameters/service_query.yaml" + - $ref: "../parameters/notService_query.yaml" + - $ref: "../parameters/assetType_query.yaml" + - $ref: "../parameters/notAssetType_query.yaml" + - $ref: "../parameters/assetId_query.yaml" + - $ref: "../parameters/assetName_query.yaml" + - $ref: "../parameters/isRisky_query.yaml" + - $ref: "../parameters/allFindingsCount_query.yaml" + - $ref: "../parameters/allVulnCount_query.yaml" + - $ref: "../parameters/criticalVulnCount_query.yaml" + - $ref: "../parameters/highVulnCount_query.yaml" + - $ref: "../parameters/mediumVulnCount_query.yaml" + - $ref: "../parameters/lowVulnCount_query.yaml" + - $ref: "../parameters/infoVulnCount_query.yaml" + - $ref: "../parameters/allMisconfigCount_query.yaml" + - $ref: "../parameters/highMisconfigCount_query.yaml" + - $ref: "../parameters/mediumMisconfigCount_query.yaml" + - $ref: "../parameters/lowMisconfigCount_query.yaml" + - $ref: "../parameters/allEventsCount_query.yaml" + - $ref: "../parameters/configEventsCount_query.yaml" + - $ref: "../parameters/criticalEventsCount_query.yaml" + - $ref: "../parameters/dataChangeEventsCount_query.yaml" + - $ref: "../parameters/iamChangeEventsCount_query.yaml" + - $ref: "../parameters/affectedAssetsCount_query.yaml" + - $ref: "../parameters/allAnomaliesCount_query.yaml" + - $ref: "../parameters/allThreatsCount_query.yaml" + - $ref: "../parameters/ordering_query.yaml" + - $ref: "../parameters/paginationKey_query.yaml" + - $ref: "../parameters/paginationSize_query.yaml" + responses: + '200': + content: + application/json: + schema: + $ref: "../schemas/SpotResponse_PaginatedResponse_AssetSimFilterResponseModel__.yaml" + description: Successful Response + '400': + content: {} + description: Bad Request + '404': + description: Not Found + '422': + content: + application/json: + schema: + $ref: "../schemas/HTTPValidationError.yaml" + description: Validation Error + summary: Get Asset Sim Filter + tags: + - Assets +parameters: [] diff --git a/api/services/security/v1/paths/ruleName.yaml b/api/services/security/v1/paths/ruleName.yaml new file mode 100644 index 00000000..56bb4b47 --- /dev/null +++ b/api/services/security/v1/paths/ruleName.yaml @@ -0,0 +1,31 @@ +get: + description: Get details about a specific rule. + operationId: get_rule_v1_misconfigurations_rules__ruleName__get + parameters: + - $ref: "../parameters/ruleName_path.yaml" + - $ref: "../parameters/cloud_query.yaml" + - $ref: "../parameters/complianceName_query.yaml" + - $ref: "../parameters/controlId_query.yaml" + - $ref: "../parameters/service_query.yaml" + responses: + '200': + content: + application/json: + schema: + $ref: "../schemas/SpotResponse_BaseResponse_RulesModel__.yaml" + description: Successful Response + '400': + content: {} + description: Bad Request + '404': + description: Not Found + '422': + content: + application/json: + schema: + $ref: "../schemas/HTTPValidationError.yaml" + description: Validation Error + summary: Get Rule + tags: + - Misconfiguration +parameters: [] diff --git a/api/services/security/v1/schemas/AssetFilters.yaml b/api/services/security/v1/schemas/AssetFilters.yaml new file mode 100644 index 00000000..cfc54e14 --- /dev/null +++ b/api/services/security/v1/schemas/AssetFilters.yaml @@ -0,0 +1,10 @@ +enum: +- accountId +- accountName +- region +- assetId +- assetName +- service +- assetType +title: AssetFilters +type: string diff --git a/api/services/security/v1/schemas/AssetSimFilterResponseModel.yaml b/api/services/security/v1/schemas/AssetSimFilterResponseModel.yaml new file mode 100644 index 00000000..27d72726 --- /dev/null +++ b/api/services/security/v1/schemas/AssetSimFilterResponseModel.yaml @@ -0,0 +1,7 @@ +properties: + value: + description: The result of the request + title: Value + type: string +title: AssetSimFilterResponseModel +type: object diff --git a/api/services/security/v1/schemas/BaseResponse_ComplianceModel_.yaml b/api/services/security/v1/schemas/BaseResponse_ComplianceModel_.yaml new file mode 100644 index 00000000..5e4d0a1b --- /dev/null +++ b/api/services/security/v1/schemas/BaseResponse_ComplianceModel_.yaml @@ -0,0 +1,20 @@ +properties: + count: + default: 0 + description: The number of items. + title: Count + type: integer + items: + description: The array of objects in this response. The length of the array is + according to the 'count' attribute. + items: + $ref: ./ComplianceModel.yaml + title: Items + type: array + status: + $ref: ./StatusModel.yaml +required: +- status +- items +title: BaseResponse[ComplianceModel] +type: object diff --git a/api/services/security/v1/schemas/BaseResponse_ControlModel_.yaml b/api/services/security/v1/schemas/BaseResponse_ControlModel_.yaml new file mode 100644 index 00000000..67c746d3 --- /dev/null +++ b/api/services/security/v1/schemas/BaseResponse_ControlModel_.yaml @@ -0,0 +1,20 @@ +properties: + count: + default: 0 + description: The number of items. + title: Count + type: integer + items: + description: The array of objects in this response. The length of the array is + according to the 'count' attribute. + items: + $ref: ./ControlModel.yaml + title: Items + type: array + status: + $ref: ./StatusModel.yaml +required: +- status +- items +title: BaseResponse[ControlModel] +type: object diff --git a/api/services/security/v1/schemas/BaseResponse_RulesModel_.yaml b/api/services/security/v1/schemas/BaseResponse_RulesModel_.yaml new file mode 100644 index 00000000..56804de5 --- /dev/null +++ b/api/services/security/v1/schemas/BaseResponse_RulesModel_.yaml @@ -0,0 +1,20 @@ +properties: + count: + default: 0 + description: The number of items. + title: Count + type: integer + items: + description: The array of objects in this response. The length of the array is + according to the 'count' attribute. + items: + $ref: ./RulesModel.yaml + title: Items + type: array + status: + $ref: ./StatusModel.yaml +required: +- status +- items +title: BaseResponse[RulesModel] +type: object diff --git a/api/services/security/v1/schemas/Ordering.yaml b/api/services/security/v1/schemas/Ordering.yaml new file mode 100644 index 00000000..6fb024e2 --- /dev/null +++ b/api/services/security/v1/schemas/Ordering.yaml @@ -0,0 +1,54 @@ +enum: +- item +- -item +- accId +- -accId +- service +- -service +- assetType +- -assetType +- isRisky +- -isRisky +- colDate +- -colDate +- region +- -region +- allFindingsCount +- -allFindingsCount +- allVulnCount +- -allVulnCount +- criticalVulnCount +- -criticalVulnCount +- highVulnCount +- -highVulnCount +- mediumVulnCount +- -mediumVulnCount +- lowVulnCount +- -lowVulnCount +- infoVulnCount +- -infoVulnCount +- allMisconfigCount +- -allMisconfigCount +- highMisconfigCount +- -highMisconfigCount +- mediumMisconfigCount +- -mediumMisconfigCount +- lowMisconfigCount +- -lowMisconfigCount +- allEventsCount +- -allEventsCount +- configEventsCount +- -configEventsCount +- criticalEventsCount +- -criticalEventsCount +- dataChangeEventsCount +- -dataChangeEventsCount +- iamChangeEventsCount +- -iamChangeEventsCount +- affectedAssetsCount +- -affectedAssetsCount +- allAnomaliesCount +- -allAnomaliesCount +- allThreatsCount +title: Ordering +type: string diff --git a/api/services/security/v1/schemas/PaginatedResponse_AssetSimFilterResponseModel_.yaml b/api/services/security/v1/schemas/PaginatedResponse_AssetSimFilterResponseModel_.yaml new file mode 100644 index 00000000..45fcbbb0 --- /dev/null +++ b/api/services/security/v1/schemas/PaginatedResponse_AssetSimFilterResponseModel_.yaml @@ -0,0 +1,23 @@ +properties: + count: + default: 0 + description: The number of items. + title: Count + type: integer + items: + description: The array of objects in this response. The length of the array is + according to the 'count' attribute. + items: + $ref: ./AssetSimFilterResponseModel.yaml + title: Items + type: array + paginationInfo: + $ref: ./PaginationModel.yaml + status: + $ref: ./StatusModel.yaml +required: +- status +- items +- paginationInfo +title: PaginatedResponse[AssetSimFilterResponseModel] +type: object diff --git a/api/services/security/v1/schemas/SpotResponse_BaseResponse_ComplianceModel__.yaml b/api/services/security/v1/schemas/SpotResponse_BaseResponse_ComplianceModel__.yaml new file mode 100644 index 00000000..73944a9c --- /dev/null +++ b/api/services/security/v1/schemas/SpotResponse_BaseResponse_ComplianceModel__.yaml @@ -0,0 +1,17 @@ +properties: + error: + allOf: + - $ref: ./ErrorModel.yaml + title: Error + request: + $ref: ./RequestModel.yaml + response: + allOf: + - $ref: ./BaseResponse_ComplianceModel_.yaml + responseTime: + title: Responsetime + type: number +required: +- request +title: SpotResponse[BaseResponse[ComplianceModel]] +type: object diff --git a/api/services/security/v1/schemas/SpotResponse_BaseResponse_ControlModel__.yaml b/api/services/security/v1/schemas/SpotResponse_BaseResponse_ControlModel__.yaml new file mode 100644 index 00000000..002f30b7 --- /dev/null +++ b/api/services/security/v1/schemas/SpotResponse_BaseResponse_ControlModel__.yaml @@ -0,0 +1,17 @@ +properties: + error: + allOf: + - $ref: ./ErrorModel.yaml + title: Error + request: + $ref: ./RequestModel.yaml + response: + allOf: + - $ref: ./BaseResponse_ControlModel_.yaml + responseTime: + title: Responsetime + type: number +required: +- request +title: SpotResponse[BaseResponse[ControlModel]] +type: object diff --git a/api/services/security/v1/schemas/SpotResponse_BaseResponse_RulesModel__.yaml b/api/services/security/v1/schemas/SpotResponse_BaseResponse_RulesModel__.yaml new file mode 100644 index 00000000..43733227 --- /dev/null +++ b/api/services/security/v1/schemas/SpotResponse_BaseResponse_RulesModel__.yaml @@ -0,0 +1,17 @@ +properties: + error: + allOf: + - $ref: ./ErrorModel.yaml + title: Error + request: + $ref: ./RequestModel.yaml + response: + allOf: + - $ref: ./BaseResponse_RulesModel_.yaml + responseTime: + title: Responsetime + type: number +required: +- request +title: SpotResponse[BaseResponse[RulesModel]] +type: object diff --git a/api/services/security/v1/schemas/SpotResponse_PaginatedResponse_AssetSimFilterResponseModel__.yaml b/api/services/security/v1/schemas/SpotResponse_PaginatedResponse_AssetSimFilterResponseModel__.yaml new file mode 100644 index 00000000..4621742f --- /dev/null +++ b/api/services/security/v1/schemas/SpotResponse_PaginatedResponse_AssetSimFilterResponseModel__.yaml @@ -0,0 +1,17 @@ +properties: + error: + allOf: + - $ref: ./ErrorModel.yaml + title: Error + request: + $ref: ./RequestModel.yaml + response: + allOf: + - $ref: ./PaginatedResponse_AssetSimFilterResponseModel_.yaml + responseTime: + title: Responsetime + type: number +required: +- request +title: SpotResponse[PaginatedResponse[AssetSimFilterResponseModel]] +type: object diff --git a/api/spot.yaml b/api/spot.yaml index cac798f8..dfdcd932 100644 --- a/api/spot.yaml +++ b/api/spot.yaml @@ -224,6 +224,7 @@ x-tagGroups: tags: - Compliance - Misconfiguration + - Assets paths: /aws/ec2/group: @@ -951,6 +952,9 @@ paths: $ref: services/security/v1/paths/rules.yaml /security/v1/misconfigurations/rules/count: $ref: services/security/v1/paths/rules_count.yaml + /security/v1/assets/filters/{filterKey}: + $ref: services/security/v1/paths/filterKey.yaml + # /cbi/v1/setup/account: $ref: services/beci/setup/paths/cbiV1SetupAccount.yaml @@ -960,4 +964,4 @@ paths: $ref: services/beci/setup/paths/cloudBillingV1SetupAccount.yaml /cloudBilling/v1/setup/account/validation: $ref: services/beci/setup/paths/cloudBillingV1SetupAccountValidation.yaml - # + # \ No newline at end of file From 883d7d0a50c65f9fcb2a713525e1226f8875a030 Mon Sep 17 00:00:00 2001 From: Avinash Bharti Date: Mon, 6 Jan 2025 10:19:18 +0530 Subject: [PATCH 2/2] removed unused files --- .../v1/parameters/controlId_path.yaml | 9 ------ .../security/v1/parameters/ruleName_path.yaml | 8 ----- .../security/v1/paths/complianceName.yaml | 27 ---------------- api/services/security/v1/paths/controlId.yaml | 28 ----------------- api/services/security/v1/paths/ruleName.yaml | 31 ------------------- .../BaseResponse_ComplianceModel_.yaml | 20 ------------ .../schemas/BaseResponse_ControlModel_.yaml | 20 ------------ .../v1/schemas/BaseResponse_RulesModel_.yaml | 20 ------------ ...sponse_BaseResponse_ComplianceModel__.yaml | 17 ---------- ...tResponse_BaseResponse_ControlModel__.yaml | 17 ---------- ...potResponse_BaseResponse_RulesModel__.yaml | 17 ---------- api/spot.yaml | 2 +- 12 files changed, 1 insertion(+), 215 deletions(-) delete mode 100644 api/services/security/v1/parameters/controlId_path.yaml delete mode 100644 api/services/security/v1/parameters/ruleName_path.yaml delete mode 100644 api/services/security/v1/paths/complianceName.yaml delete mode 100644 api/services/security/v1/paths/controlId.yaml delete mode 100644 api/services/security/v1/paths/ruleName.yaml delete mode 100644 api/services/security/v1/schemas/BaseResponse_ComplianceModel_.yaml delete mode 100644 api/services/security/v1/schemas/BaseResponse_ControlModel_.yaml delete mode 100644 api/services/security/v1/schemas/BaseResponse_RulesModel_.yaml delete mode 100644 api/services/security/v1/schemas/SpotResponse_BaseResponse_ComplianceModel__.yaml delete mode 100644 api/services/security/v1/schemas/SpotResponse_BaseResponse_ControlModel__.yaml delete mode 100644 api/services/security/v1/schemas/SpotResponse_BaseResponse_RulesModel__.yaml diff --git a/api/services/security/v1/parameters/controlId_path.yaml b/api/services/security/v1/parameters/controlId_path.yaml deleted file mode 100644 index a410cdb3..00000000 --- a/api/services/security/v1/parameters/controlId_path.yaml +++ /dev/null @@ -1,9 +0,0 @@ -description: The ID of the control defined in the compliance. -example: A1.2 -in: path -name: controlId -required: true -schema: - description: The ID of the control defined in the compliance. - title: Controlid - type: string diff --git a/api/services/security/v1/parameters/ruleName_path.yaml b/api/services/security/v1/parameters/ruleName_path.yaml deleted file mode 100644 index 11e64175..00000000 --- a/api/services/security/v1/parameters/ruleName_path.yaml +++ /dev/null @@ -1,8 +0,0 @@ -description: The unique name of the rule. -in: path -name: ruleName -required: true -schema: - description: The unique name of the rule. - title: Rulename - type: string diff --git a/api/services/security/v1/paths/complianceName.yaml b/api/services/security/v1/paths/complianceName.yaml deleted file mode 100644 index 883a1657..00000000 --- a/api/services/security/v1/paths/complianceName.yaml +++ /dev/null @@ -1,27 +0,0 @@ -get: - description: Get details about a specific compliance. - operationId: get_compliance_v1_compliances__complianceName__get - parameters: - - $ref: "../parameters/complianceName_path.yaml" - responses: - '200': - content: - application/json: - schema: - $ref: "../schemas/SpotResponse_BaseResponse_ComplianceModel__.yaml" - description: Successful Response - '400': - content: {} - description: Bad Request - '404': - description: Not Found - '422': - content: - application/json: - schema: - $ref: "../schemas/HTTPValidationError.yaml" - description: Validation Error - summary: Get Compliance - tags: - - Compliance -parameters: [] diff --git a/api/services/security/v1/paths/controlId.yaml b/api/services/security/v1/paths/controlId.yaml deleted file mode 100644 index aca11ed1..00000000 --- a/api/services/security/v1/paths/controlId.yaml +++ /dev/null @@ -1,28 +0,0 @@ -get: - description: Get details about a specific control. - operationId: get_compliance_control_v1_compliances__complianceName__controls__controlId__get - parameters: - - $ref: "../parameters/complianceName_path.yaml" - - $ref: "../parameters/controlId_path.yaml" - responses: - '200': - content: - application/json: - schema: - $ref: "../schemas/SpotResponse_BaseResponse_ControlModel__.yaml" - description: Successful Response - '400': - content: {} - description: Bad Request - '404': - description: Not Found - '422': - content: - application/json: - schema: - $ref: "../schemas/HTTPValidationError.yaml" - description: Validation Error - summary: Get Compliance Control - tags: - - Compliance -parameters: [] diff --git a/api/services/security/v1/paths/ruleName.yaml b/api/services/security/v1/paths/ruleName.yaml deleted file mode 100644 index 56bb4b47..00000000 --- a/api/services/security/v1/paths/ruleName.yaml +++ /dev/null @@ -1,31 +0,0 @@ -get: - description: Get details about a specific rule. - operationId: get_rule_v1_misconfigurations_rules__ruleName__get - parameters: - - $ref: "../parameters/ruleName_path.yaml" - - $ref: "../parameters/cloud_query.yaml" - - $ref: "../parameters/complianceName_query.yaml" - - $ref: "../parameters/controlId_query.yaml" - - $ref: "../parameters/service_query.yaml" - responses: - '200': - content: - application/json: - schema: - $ref: "../schemas/SpotResponse_BaseResponse_RulesModel__.yaml" - description: Successful Response - '400': - content: {} - description: Bad Request - '404': - description: Not Found - '422': - content: - application/json: - schema: - $ref: "../schemas/HTTPValidationError.yaml" - description: Validation Error - summary: Get Rule - tags: - - Misconfiguration -parameters: [] diff --git a/api/services/security/v1/schemas/BaseResponse_ComplianceModel_.yaml b/api/services/security/v1/schemas/BaseResponse_ComplianceModel_.yaml deleted file mode 100644 index 5e4d0a1b..00000000 --- a/api/services/security/v1/schemas/BaseResponse_ComplianceModel_.yaml +++ /dev/null @@ -1,20 +0,0 @@ -properties: - count: - default: 0 - description: The number of items. - title: Count - type: integer - items: - description: The array of objects in this response. The length of the array is - according to the 'count' attribute. - items: - $ref: ./ComplianceModel.yaml - title: Items - type: array - status: - $ref: ./StatusModel.yaml -required: -- status -- items -title: BaseResponse[ComplianceModel] -type: object diff --git a/api/services/security/v1/schemas/BaseResponse_ControlModel_.yaml b/api/services/security/v1/schemas/BaseResponse_ControlModel_.yaml deleted file mode 100644 index 67c746d3..00000000 --- a/api/services/security/v1/schemas/BaseResponse_ControlModel_.yaml +++ /dev/null @@ -1,20 +0,0 @@ -properties: - count: - default: 0 - description: The number of items. - title: Count - type: integer - items: - description: The array of objects in this response. The length of the array is - according to the 'count' attribute. - items: - $ref: ./ControlModel.yaml - title: Items - type: array - status: - $ref: ./StatusModel.yaml -required: -- status -- items -title: BaseResponse[ControlModel] -type: object diff --git a/api/services/security/v1/schemas/BaseResponse_RulesModel_.yaml b/api/services/security/v1/schemas/BaseResponse_RulesModel_.yaml deleted file mode 100644 index 56804de5..00000000 --- a/api/services/security/v1/schemas/BaseResponse_RulesModel_.yaml +++ /dev/null @@ -1,20 +0,0 @@ -properties: - count: - default: 0 - description: The number of items. - title: Count - type: integer - items: - description: The array of objects in this response. The length of the array is - according to the 'count' attribute. - items: - $ref: ./RulesModel.yaml - title: Items - type: array - status: - $ref: ./StatusModel.yaml -required: -- status -- items -title: BaseResponse[RulesModel] -type: object diff --git a/api/services/security/v1/schemas/SpotResponse_BaseResponse_ComplianceModel__.yaml b/api/services/security/v1/schemas/SpotResponse_BaseResponse_ComplianceModel__.yaml deleted file mode 100644 index 73944a9c..00000000 --- a/api/services/security/v1/schemas/SpotResponse_BaseResponse_ComplianceModel__.yaml +++ /dev/null @@ -1,17 +0,0 @@ -properties: - error: - allOf: - - $ref: ./ErrorModel.yaml - title: Error - request: - $ref: ./RequestModel.yaml - response: - allOf: - - $ref: ./BaseResponse_ComplianceModel_.yaml - responseTime: - title: Responsetime - type: number -required: -- request -title: SpotResponse[BaseResponse[ComplianceModel]] -type: object diff --git a/api/services/security/v1/schemas/SpotResponse_BaseResponse_ControlModel__.yaml b/api/services/security/v1/schemas/SpotResponse_BaseResponse_ControlModel__.yaml deleted file mode 100644 index 002f30b7..00000000 --- a/api/services/security/v1/schemas/SpotResponse_BaseResponse_ControlModel__.yaml +++ /dev/null @@ -1,17 +0,0 @@ -properties: - error: - allOf: - - $ref: ./ErrorModel.yaml - title: Error - request: - $ref: ./RequestModel.yaml - response: - allOf: - - $ref: ./BaseResponse_ControlModel_.yaml - responseTime: - title: Responsetime - type: number -required: -- request -title: SpotResponse[BaseResponse[ControlModel]] -type: object diff --git a/api/services/security/v1/schemas/SpotResponse_BaseResponse_RulesModel__.yaml b/api/services/security/v1/schemas/SpotResponse_BaseResponse_RulesModel__.yaml deleted file mode 100644 index 43733227..00000000 --- a/api/services/security/v1/schemas/SpotResponse_BaseResponse_RulesModel__.yaml +++ /dev/null @@ -1,17 +0,0 @@ -properties: - error: - allOf: - - $ref: ./ErrorModel.yaml - title: Error - request: - $ref: ./RequestModel.yaml - response: - allOf: - - $ref: ./BaseResponse_RulesModel_.yaml - responseTime: - title: Responsetime - type: number -required: -- request -title: SpotResponse[BaseResponse[RulesModel]] -type: object diff --git a/api/spot.yaml b/api/spot.yaml index dfdcd932..fec7a1b5 100644 --- a/api/spot.yaml +++ b/api/spot.yaml @@ -964,4 +964,4 @@ paths: $ref: services/beci/setup/paths/cloudBillingV1SetupAccount.yaml /cloudBilling/v1/setup/account/validation: $ref: services/beci/setup/paths/cloudBillingV1SetupAccountValidation.yaml - # \ No newline at end of file + #