isSecurityInsightsAvailable() working on github annotation available in catalog-info.yaml and showing empty tab on Layout, irrespective of the fact that it is applicable for the repository or not. Ideaaly it should not show tab if GHAS is not enabled on repository
<EntityLayout.Route
path="/dependabot"
title="Dependabot"
// Uncomment the line below if you'd like to only show the tab on entities with the correct annotations already set
// if={isSecurityInsightsAvailable}
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
isSecurityInsightsAvailable() working on github annotation available in catalog-info.yaml and showing empty tab on Layout, irrespective of the fact that it is applicable for the repository or not. Ideaaly it should not show tab if GHAS is not enabled on repository
<EntityLayout.Route path="/dependabot" title="Dependabot" // Uncomment the line below if you'd like to only show the tab on entities with the correct annotations already set // if={isSecurityInsightsAvailable}