diff --git a/assets/scss/_pageinfo.scss b/assets/scss/_pageinfo.scss index fa49d9af9..a48fa71aa 100644 --- a/assets/scss/_pageinfo.scss +++ b/assets/scss/_pageinfo.scss @@ -2,7 +2,7 @@ width: 100%; @include media-breakpoint-up(xl) { - max-width: 80% !important; + max-width: 100% !important; } @each $color, $value in $theme-colors { diff --git a/assets/scss/_tables.scss b/assets/scss/_tables.scss index d1f6cb157..0b86f885d 100644 --- a/assets/scss/_tables.scss +++ b/assets/scss/_tables.scss @@ -24,7 +24,7 @@ } @include media-breakpoint-up(xl) { - width: 80%; + width: 100%; } &--sm { diff --git a/config/_default/versions/params.yaml b/config/_default/versions/params.yaml index 66cfdab3e..09b1ae042 100644 --- a/config/_default/versions/params.yaml +++ b/config/_default/versions/params.yaml @@ -11,9 +11,12 @@ archived_version: false version: v0.39.2 -# The version of the default rules set +# The version of the default rules sets # Keep it aligned with the version of Falco for compatibility -rulesversion: 3.0.0 +rulesStableVersion: 3.2.0 +rulesIncubatingVersion: 4.0.1 +rulesSandboxVersion: 4.0.1 +rulesDeprecatedVersion: 3.0.0 # The archived versions of the docs available for reference. # Used in the Releases menu, as well as in the Available Documentation Versions diff --git a/layouts/shortcodes/plugins.html b/layouts/shortcodes/plugins.html index 85432c709..6759baaba 100644 --- a/layouts/shortcodes/plugins.html +++ b/layouts/shortcodes/plugins.html @@ -1,4 +1,4 @@ -{{- $regitry_url := (.Get 0) -}} +{{- $regitry_url := printf "%s?v=%d" (.Get 0) now.Unix -}} {{- $dataYAML := resources.GetRemote $regitry_url -}} {{- $content := $dataYAML.Content | replaceRE `#.*\n` "" | transform.Unmarshal }} @@ -10,7 +10,7 @@ color: #fff; padding: 4px 5px; border-radius: 5px; - } + }
@@ -27,8 +27,15 @@ Licence {{- range $content.plugins }} + {{ if and (ne .capabilities.sourcing.id 999) (ne .name "plugin-id-zero-value") }} - {{ if .capabilities.sourcing.id }} {{ .capabilities.sourcing.id }} {{ end }} + + {{ if .capabilities.sourcing.id }} + {{ .capabilities.sourcing.id }} + {{ else }} + - + {{ end }} + {{ .name }} {{ if eq .capabilities.sourcing.supported true }} sourcing {{ else }} extraction {{ end }} {{ if .capabilities.sourcing.source }} {{ .capabilities.sourcing.source }} {{ end }} @@ -38,6 +45,7 @@ {{ if .rules_url }} {{ emojify ":link:" }} {{ end }} {{ .license }} + {{ end }} {{- end -}}
diff --git a/layouts/shortcodes/rules_list.html b/layouts/shortcodes/rules_list.html index d3dff82a5..046f51e72 100644 --- a/layouts/shortcodes/rules_list.html +++ b/layouts/shortcodes/rules_list.html @@ -1,7 +1,7 @@ -{{- $stableURL := printf "https://raw.githubusercontent.com/falcosecurity/rules/falco-rules-%s/rules/falco_rules.yaml" .Site.Params.rulesversion -}} -{{- $sandboxURL := printf "https://raw.githubusercontent.com/falcosecurity/rules/falco-rules-%s/rules/falco-sandbox_rules.yaml" .Site.Params.rulesversion -}} -{{- $incubatingURL := printf "https://raw.githubusercontent.com/falcosecurity/rules/falco-rules-%s/rules/falco-incubating_rules.yaml" .Site.Params.rulesversion -}} -{{- $deprecatedURL := printf "https://raw.githubusercontent.com/falcosecurity/rules/falco-rules-%s/rules/falco-deprecated_rules.yaml" .Site.Params.rulesversion -}} +{{- $stableURL := printf "https://raw.githubusercontent.com/falcosecurity/rules/falco-rules-%s/rules/falco_rules.yaml" .Site.Params.rulesStableVersion -}} +{{- $sandboxURL := printf "https://raw.githubusercontent.com/falcosecurity/rules/falco-sandbox-rules-%s/rules/falco-sandbox_rules.yaml" .Site.Params.rulesSandboxVersion -}} +{{- $incubatingURL := printf "https://raw.githubusercontent.com/falcosecurity/rules/falco-incubating-rules-%s/rules/falco-incubating_rules.yaml" .Site.Params.rulesIncubatingVersion -}} +{{- $deprecatedURL := printf "https://raw.githubusercontent.com/falcosecurity/rules/falco-deprecated-rules-%s/rules/falco-deprecated_rules.yaml" .Site.Params.rulesDeprecatedVersion -}} {{- $maturities := (dict "deprecated" $deprecatedURL "incubating" $incubatingURL "sandbox" $sandboxURL "stable" $stableURL) }}