Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ Feature: Compliance
And operation "GetRuleBasedView" enabled
And new "GetRuleBasedView" request

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: Get the rule-based view of compliance findings returns "Bad Request" response
Given request contains "to" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: Get the rule-based view of compliance findings returns "OK" response
Given request contains "to" parameter from "REPLACE.ME"
When the request is sent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ Feature: CSM Agents
And a valid "appKeyAuth" key in the system
And an instance of "CSMAgents" API

@team:ddoghq/k9-misconfigs
@team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: Get all CSM Agents returns "OK" response
Given new "ListAllCSMAgents" request
When the request is sent
Then the response status is 200 OK

@team:ddoghq/k9-misconfigs
@team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: Get all CSM Serverless Agents returns "OK" response
Given new "ListAllCSMServerlessAgents" request
When the request is sent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ Feature: CSM Coverage Analysis
And a valid "appKeyAuth" key in the system
And an instance of "CSMCoverageAnalysis" API

@team:ddoghq/k9-misconfigs
@team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: Get the CSM Cloud Accounts Coverage Analysis returns "OK" response
Given new "GetCSMCloudAccountsCoverageAnalysis" request
When the request is sent
Then the response status is 200 OK

@team:ddoghq/k9-misconfigs
@team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: Get the CSM Hosts and Containers Coverage Analysis returns "OK" response
Given new "GetCSMHostsAndContainersCoverageAnalysis" request
When the request is sent
Then the response status is 200 OK

@team:ddoghq/k9-misconfigs
@team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: Get the CSM Serverless Coverage Analysis returns "OK" response
Given new "GetCSMServerlessCoverageAnalysis" request
When the request is sent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ Feature: CSM Ownership
And a valid "appKeyAuth" key in the system
And an instance of "CSMOwnership" API

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: Count untagged findings by ownership confidence returns "OK" response
Given operation "GetOwnershipUntaggedFindings" enabled
And new "GetOwnershipUntaggedFindings" request
When the request is sent
Then the response status is 200 OK

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: Get an ownership inference by owner type returns "Bad Request" response
Given operation "GetOwnershipInference" enabled
And new "GetOwnershipInference" request
Expand All @@ -28,7 +28,7 @@ Feature: CSM Ownership
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: Get an ownership inference by owner type returns "Not Found" response
Given operation "GetOwnershipInference" enabled
And new "GetOwnershipInference" request
Expand All @@ -37,7 +37,7 @@ Feature: CSM Ownership
When the request is sent
Then the response status is 404 Not Found

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: Get an ownership inference by owner type returns "OK" response
Given operation "GetOwnershipInference" enabled
And new "GetOwnershipInference" request
Expand All @@ -46,14 +46,14 @@ Feature: CSM Ownership
When the request is sent
Then the response status is 200 OK

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: Get ownership settings for the org returns "OK" response
Given operation "GetOwnershipSettings" enabled
And new "GetOwnershipSettings" request
When the request is sent
Then the response status is 200 OK

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: Get the evidence for an ownership inference returns "Bad Request" response
Given operation "GetOwnershipEvidence" enabled
And new "GetOwnershipEvidence" request
Expand All @@ -62,7 +62,7 @@ Feature: CSM Ownership
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: Get the evidence for an ownership inference returns "Not Found" response
Given operation "GetOwnershipEvidence" enabled
And new "GetOwnershipEvidence" request
Expand All @@ -71,7 +71,7 @@ Feature: CSM Ownership
When the request is sent
Then the response status is 404 Not Found

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: Get the evidence for an ownership inference returns "OK" response
Given operation "GetOwnershipEvidence" enabled
And new "GetOwnershipEvidence" request
Expand All @@ -80,7 +80,7 @@ Feature: CSM Ownership
When the request is sent
Then the response status is 200 OK

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: List ownership history by owner type returns "Bad Request" response
Given operation "ListOwnershipHistoryByOwnerType" enabled
And new "ListOwnershipHistoryByOwnerType" request
Expand All @@ -89,7 +89,7 @@ Feature: CSM Ownership
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: List ownership history by owner type returns "OK" response
Given operation "ListOwnershipHistoryByOwnerType" enabled
And new "ListOwnershipHistoryByOwnerType" request
Expand All @@ -98,47 +98,47 @@ Feature: CSM Ownership
When the request is sent
Then the response status is 200 OK

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: List ownership inference history for a resource returns "Bad Request" response
Given operation "ListOwnershipHistory" enabled
And new "ListOwnershipHistory" request
And request contains "resource_id" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: List ownership inference history for a resource returns "OK" response
Given operation "ListOwnershipHistory" enabled
And new "ListOwnershipHistory" request
And request contains "resource_id" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: List ownership inferences for a resource returns "Bad Request" response
Given operation "ListOwnershipInferences" enabled
And new "ListOwnershipInferences" request
And request contains "resource_id" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: List ownership inferences for a resource returns "Not Found" response
Given operation "ListOwnershipInferences" enabled
And new "ListOwnershipInferences" request
And request contains "resource_id" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 404 Not Found

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: List ownership inferences for a resource returns "OK" response
Given operation "ListOwnershipInferences" enabled
And new "ListOwnershipInferences" request
And request contains "resource_id" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: Submit feedback on an ownership inference returns "Bad Request" response
Given operation "CreateOwnershipFeedback" enabled
And new "CreateOwnershipFeedback" request
Expand All @@ -148,7 +148,7 @@ Feature: CSM Ownership
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: Submit feedback on an ownership inference returns "Conflict" response
Given operation "CreateOwnershipFeedback" enabled
And new "CreateOwnershipFeedback" request
Expand All @@ -158,7 +158,7 @@ Feature: CSM Ownership
When the request is sent
Then the response status is 409 Conflict

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: Submit feedback on an ownership inference returns "Created" response
Given operation "CreateOwnershipFeedback" enabled
And new "CreateOwnershipFeedback" request
Expand All @@ -168,7 +168,7 @@ Feature: CSM Ownership
When the request is sent
Then the response status is 201 Created

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: Submit feedback on an ownership inference returns "Not Found" response
Given operation "CreateOwnershipFeedback" enabled
And new "CreateOwnershipFeedback" request
Expand All @@ -178,15 +178,15 @@ Feature: CSM Ownership
When the request is sent
Then the response status is 404 Not Found

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: Update ownership settings for the org returns "Bad Request" response
Given operation "PostOwnershipSettings" enabled
And new "PostOwnershipSettings" request
And body with value {"data": {"attributes": {"auto_tag": true, "confidence_level": "high"}, "type": "ownership_settings"}}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: Update ownership settings for the org returns "OK" response
Given operation "PostOwnershipSettings" enabled
And new "PostOwnershipSettings" request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,74 +10,74 @@ Feature: CSM Settings
And a valid "appKeyAuth" key in the system
And an instance of "CSMSettings" API

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: Get agentless host facet info returns "Bad Request" response
Given operation "GetCSMAgentlessHostFacetInfo" enabled
And new "GetCSMAgentlessHostFacetInfo" request
And request contains "facet" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: Get agentless host facet info returns "OK" response
Given operation "GetCSMAgentlessHostFacetInfo" enabled
And new "GetCSMAgentlessHostFacetInfo" request
And request contains "facet" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: Get unified host facet info returns "Bad Request" response
Given operation "GetCSMUnifiedHostFacetInfo" enabled
And new "GetCSMUnifiedHostFacetInfo" request
And request contains "facet" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: Get unified host facet info returns "OK" response
Given operation "GetCSMUnifiedHostFacetInfo" enabled
And new "GetCSMUnifiedHostFacetInfo" request
And request contains "facet" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: List agentless host facets returns "OK" response
Given operation "ListCSMAgentlessHostFacets" enabled
And new "ListCSMAgentlessHostFacets" request
When the request is sent
Then the response status is 200 OK

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: List agentless hosts returns "Bad Request" response
Given operation "ListCSMAgentlessHosts" enabled
And new "ListCSMAgentlessHosts" request
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: List agentless hosts returns "OK" response
Given operation "ListCSMAgentlessHosts" enabled
And new "ListCSMAgentlessHosts" request
When the request is sent
Then the response status is 200 OK

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: List unified host facets returns "OK" response
Given operation "ListCSMUnifiedHostFacets" enabled
And new "ListCSMUnifiedHostFacets" request
When the request is sent
Then the response status is 200 OK

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: List unified hosts returns "Bad Request" response
Given operation "ListCSMUnifiedHosts" enabled
And new "ListCSMUnifiedHosts" request
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:ddoghq/k9-misconfigs
@generated @skip @team:ddoghq/k9-cloud-misconfigs @team:ddoghq/k9-misconfigs
Scenario: List unified hosts returns "OK" response
Given operation "ListCSMUnifiedHosts" enabled
And new "ListCSMUnifiedHosts" request
Expand Down
Loading