(edits EditRepositoryInput)
| 657 | } |
| 658 | |
| 659 | func hasSecurityEdits(edits EditRepositoryInput) bool { |
| 660 | return edits.enableAdvancedSecurity != nil || edits.enableSecretScanning != nil || edits.enableSecretScanningPushProtection != nil |
| 661 | } |
| 662 | |
| 663 | type SecurityAndAnalysisInput struct { |
| 664 | EnableAdvancedSecurity *SecurityAndAnalysisStatus `json:"advanced_security,omitempty"` |