@@ -2474,6 +2474,11 @@ public enum Components {
24742474 }
24752475 /// - Remark: Generated from `#/components/schemas/security-and-analysis`.
24762476 public struct SecurityAndAnalysis : Codable , Hashable , Sendable {
2477+ /// Enable or disable GitHub Advanced Security for the repository.
2478+ ///
2479+ /// For standalone Code Scanning or Secret Protection products, this parameter cannot be used.
2480+ ///
2481+ ///
24772482 /// - Remark: Generated from `#/components/schemas/security-and-analysis/advanced_security`.
24782483 public struct AdvancedSecurityPayload : Codable , Hashable , Sendable {
24792484 /// - Remark: Generated from `#/components/schemas/security-and-analysis/advanced_security/status`.
@@ -2494,6 +2499,11 @@ public enum Components {
24942499 case status
24952500 }
24962501 }
2502+ /// Enable or disable GitHub Advanced Security for the repository.
2503+ ///
2504+ /// For standalone Code Scanning or Secret Protection products, this parameter cannot be used.
2505+ ///
2506+ ///
24972507 /// - Remark: Generated from `#/components/schemas/security-and-analysis/advanced_security`.
24982508 public var advancedSecurity : Components . Schemas . SecurityAndAnalysis . AdvancedSecurityPayload ?
24992509 /// - Remark: Generated from `#/components/schemas/security-and-analysis/code_security`.
@@ -2639,7 +2649,7 @@ public enum Components {
26392649 /// Creates a new `SecurityAndAnalysis`.
26402650 ///
26412651 /// - Parameters:
2642- /// - advancedSecurity:
2652+ /// - advancedSecurity: Enable or disable GitHub Advanced Security for the repository.
26432653 /// - codeSecurity:
26442654 /// - dependabotSecurityUpdates: Enable or disable Dependabot security updates for the repository.
26452655 /// - secretScanning:
0 commit comments