policy name: enable_ghas_for_new_orgs
Advanced Security includes code scanning, secret scanning and dependency review. These features protect your repositories from containing vulnerable data. Prevents the risk of unauthorized access or exploitation of vulnerabilities.
- Make sure you are an enterprise owner
- Go to the Enterprise Settings page
- Under the ‘Settings’ tab choose ‘Code security and analysis’
- Check ‘Automatically enable for new repositories’