@@ -604,24 +604,21 @@ Feature: Security Monitoring
604
604
605
605
@generated @skip @team:DataDog/k9-cloud-security-platform
606
606
Scenario : Get a rule's version history returns "Bad Request" response
607
- Given operation "GetRuleVersionHistory" enabled
608
- And new "GetRuleVersionHistory" request
607
+ Given new "GetRuleVersionHistory" request
609
608
And request contains "rule_id" parameter from "REPLACE.ME"
610
609
When the request is sent
611
610
Then the response status is 400 Bad Request
612
611
613
612
@generated @skip @team:DataDog/k9-cloud-security-platform
614
613
Scenario : Get a rule's version history returns "Not Found" response
615
- Given operation "GetRuleVersionHistory" enabled
616
- And new "GetRuleVersionHistory" request
614
+ Given new "GetRuleVersionHistory" request
617
615
And request contains "rule_id" parameter from "REPLACE.ME"
618
616
When the request is sent
619
617
Then the response status is 404 Not Found
620
618
621
619
@generated @skip @team:DataDog/k9-cloud-security-platform
622
620
Scenario : Get a rule's version history returns "OK" response
623
- Given operation "GetRuleVersionHistory" enabled
624
- And new "GetRuleVersionHistory" request
621
+ Given new "GetRuleVersionHistory" request
625
622
And request contains "rule_id" parameter from "REPLACE.ME"
626
623
When the request is sent
627
624
Then the response status is 200 OK
@@ -737,8 +734,7 @@ Feature: Security Monitoring
737
734
738
735
@skip-go @skip-java @skip-ruby @team:DataDog/k9-cloud-security-platform
739
736
Scenario : Get rule version history returns "OK" response
740
- Given operation "GetRuleVersionHistory" enabled
741
- And new "GetRuleVersionHistory" request
737
+ Given new "GetRuleVersionHistory" request
742
738
And there is a valid "security_rule" in the system
743
739
And request contains "rule_id" parameter from "security_rule.id"
744
740
When the request is sent
0 commit comments