You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -24875,25 +24971,52 @@ public enum Operations {
24875
24971
///
24876
24972
/// - Remark: Generated from `#/paths/repos/{owner}/{repo}/PATCH/requestBody/json/security_and_analysis/secret_scanning_push_protection`.
24877
24973
public var secret_scanning_push_protection: Operations.repos_sol_update.Input.Body.jsonPayload.security_and_analysisPayload.secret_scanning_push_protectionPayload?
24974
+
/// Use the `status` property to enable or disable secret scanning non-provider patterns for this repository. For more information, see "[Secret scanning supported secrets](/code-security/secret-scanning/secret-scanning-patterns#supported-secrets)."
24975
+
///
24976
+
/// - Remark: Generated from `#/paths/repos/{owner}/{repo}/PATCH/requestBody/json/security_and_analysis/secret_scanning_non_provider_patterns`.
24977
+
public struct secret_scanning_non_provider_patternsPayload: Codable, Hashable, Sendable {
24978
+
/// Can be `enabled` or `disabled`.
24979
+
///
24980
+
/// - Remark: Generated from `#/paths/repos/{owner}/{repo}/PATCH/requestBody/json/security_and_analysis/secret_scanning_non_provider_patterns/status`.
24981
+
public var status: Swift.String?
24982
+
/// Creates a new `secret_scanning_non_provider_patternsPayload`.
24983
+
///
24984
+
/// - Parameters:
24985
+
/// - status: Can be `enabled` or `disabled`.
24986
+
public init(status: Swift.String? = nil) {
24987
+
self.status = status
24988
+
}
24989
+
public enum CodingKeys: String, CodingKey {
24990
+
case status
24991
+
}
24992
+
}
24993
+
/// Use the `status` property to enable or disable secret scanning non-provider patterns for this repository. For more information, see "[Secret scanning supported secrets](/code-security/secret-scanning/secret-scanning-patterns#supported-secrets)."
24994
+
///
24995
+
/// - Remark: Generated from `#/paths/repos/{owner}/{repo}/PATCH/requestBody/json/security_and_analysis/secret_scanning_non_provider_patterns`.
24996
+
public var secret_scanning_non_provider_patterns: Operations.repos_sol_update.Input.Body.jsonPayload.security_and_analysisPayload.secret_scanning_non_provider_patternsPayload?
24878
24997
/// Creates a new `security_and_analysisPayload`.
24879
24998
///
24880
24999
/// - Parameters:
24881
25000
/// - advanced_security: Use the `status` property to enable or disable GitHub Advanced Security for this repository. For more information, see "[About GitHub Advanced Security](/github/getting-started-with-github/learning-about-github/about-github-advanced-security)."
24882
25001
/// - secret_scanning: Use the `status` property to enable or disable secret scanning for this repository. For more information, see "[About secret scanning](/code-security/secret-security/about-secret-scanning)."
24883
25002
/// - secret_scanning_push_protection: Use the `status` property to enable or disable secret scanning push protection for this repository. For more information, see "[Protecting pushes with secret scanning](/code-security/secret-scanning/protecting-pushes-with-secret-scanning)."
25003
+
/// - secret_scanning_non_provider_patterns: Use the `status` property to enable or disable secret scanning non-provider patterns for this repository. For more information, see "[Secret scanning supported secrets](/code-security/secret-scanning/secret-scanning-patterns#supported-secrets)."
0 commit comments