Skip to content

Commit

Permalink
Fix list rendering for Dependabot Vulnerable Calls (#44346)
Browse files Browse the repository at this point in the history
Co-authored-by: mc <[email protected]>
  • Loading branch information
corycalahan and mchammer01 authored Oct 16, 2023
1 parent d747fe8 commit d8b3a2d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions data/reusables/dependabot/vulnerable-calls-beta.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
**Notes:**

- The detection of calls to vulnerable functions by {% data variables.product.prodname_dependabot %} is in beta and subject to change.

- {% data reusables.gated-features.dependency-vulnerable-calls %}

{% endnote %}

{% endif %}
8 changes: 4 additions & 4 deletions data/reusables/gated-features/dependency-vulnerable-calls.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{%- ifversion fpt %}
{%- ifversion fpt -%}
Detection of vulnerable calls is enabled on public repositories. This analysis is also available in private repositories owned by organizations that use {% data variables.product.prodname_ghe_cloud %} and have licensed {% data variables.product.prodname_GH_advanced_security %}.

{%- elsif ghec %}
{%- elsif ghec -%}
Detection of vulnerable calls is included in {% data variables.product.product_name %} for public repositories. To detect vulnerable calls in private repositories owned by organizations, your organization must have a license for {% data variables.product.prodname_GH_advanced_security %}.

{%- elsif ghes %}
{%- elsif ghes -%}
Detection of vulnerable calls is available for organization-owned repositories in {% data variables.product.product_name %}. This feature requires a license for {% data variables.product.prodname_GH_advanced_security %}.

{%- elsif ghae > 3.5 %}
{%- elsif ghae > 3.5 -%}
Detection of vulnerable calls is available for organization-owned repositories in {% data variables.product.product_name %}. This is a {% data variables.product.prodname_GH_advanced_security %} feature (free during the beta release).

{%- endif %} {% data reusables.advanced-security.more-info-ghas %}

0 comments on commit d8b3a2d

Please sign in to comment.