@@ -70,6 +70,9 @@ pub struct SyntheticsTestRequest {
7070 /// HTTP version to use for a Synthetic test.
7171 #[ serde( rename = "httpVersion" ) ]
7272 pub http_version : Option < crate :: datadogV1:: model:: SyntheticsTestOptionsHTTPVersion > ,
73+ /// For SSL tests, whether the test should ignore certificate validation.
74+ #[ serde( rename = "ignore_certificate_validation" ) ]
75+ pub ignore_certificate_validation : Option < bool > ,
7376 /// Whether the message is base64 encoded.
7477 #[ serde( rename = "isMessageBase64Encoded" ) ]
7578 pub is_message_base64_encoded : Option < bool > ,
@@ -155,6 +158,7 @@ impl SyntheticsTestRequest {
155158 headers : None ,
156159 host : None ,
157160 http_version : None ,
161+ ignore_certificate_validation : None ,
158162 is_message_base64_encoded : None ,
159163 mcp_protocol_version : None ,
160164 message : None ,
@@ -288,6 +292,11 @@ impl SyntheticsTestRequest {
288292 self
289293 }
290294
295+ pub fn ignore_certificate_validation ( mut self , value : bool ) -> Self {
296+ self . ignore_certificate_validation = Some ( value) ;
297+ self
298+ }
299+
291300 pub fn is_message_base64_encoded ( mut self , value : bool ) -> Self {
292301 self . is_message_base64_encoded = Some ( value) ;
293302 self
@@ -443,6 +452,7 @@ impl<'de> Deserialize<'de> for SyntheticsTestRequest {
443452 let mut http_version: Option <
444453 crate :: datadogV1:: model:: SyntheticsTestOptionsHTTPVersion ,
445454 > = None ;
455+ let mut ignore_certificate_validation: Option < bool > = None ;
446456 let mut is_message_base64_encoded: Option < bool > = None ;
447457 let mut mcp_protocol_version: Option <
448458 crate :: datadogV1:: model:: SyntheticsMCPProtocolVersion ,
@@ -636,6 +646,13 @@ impl<'de> Deserialize<'de> for SyntheticsTestRequest {
636646 }
637647 }
638648 }
649+ "ignore_certificate_validation" => {
650+ if v. is_null ( ) {
651+ continue ;
652+ }
653+ ignore_certificate_validation =
654+ Some ( serde_json:: from_value ( v) . map_err ( M :: Error :: custom) ?) ;
655+ }
639656 "isMessageBase64Encoded" => {
640657 if v. is_null ( ) {
641658 continue ;
@@ -794,6 +811,7 @@ impl<'de> Deserialize<'de> for SyntheticsTestRequest {
794811 headers,
795812 host,
796813 http_version,
814+ ignore_certificate_validation,
797815 is_message_base64_encoded,
798816 mcp_protocol_version,
799817 message,
0 commit comments