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