From 12f8682cfb97c4957503a8da56c6a744330a6e02 Mon Sep 17 00:00:00 2001 From: StefonSimmons Date: Mon, 7 Jul 2025 15:08:58 -0400 Subject: [PATCH 1/5] rm kics from pullconfig --- local/bin/py/build/configurations/pull_config.yaml | 13 ------------- .../build/configurations/pull_config_preview.yaml | 14 +------------- 2 files changed, 1 insertion(+), 26 deletions(-) diff --git a/local/bin/py/build/configurations/pull_config.yaml b/local/bin/py/build/configurations/pull_config.yaml index 79f80723dab9a..bc5afdbdea8d0 100644 --- a/local/bin/py/build/configurations/pull_config.yaml +++ b/local/bin/py/build/configurations/pull_config.yaml @@ -620,16 +620,3 @@ front_matters: dependencies: ["https://github.com/DataDog/dd-trace-rb/blob/release/docs/legacy/Compatibility-v1.md"] title: (Legacy) Ruby Compatibility Requirements - - - repo_name: kics - contents: - - action: pull-and-push-folder - branch: main - globs: - - documentation/rules/**/**/*.md - options: - dest_dir: '/security/code_security/iac_security/iac_rules/' - path_to_remove: 'documentation/' - front_matters: - dependencies: ["https://github.com/DataDog/kics/blob/4a03fdb28eaa41cb1735b9eaa34afb911579088a/documentation/frontmatter.yaml"] - diff --git a/local/bin/py/build/configurations/pull_config_preview.yaml b/local/bin/py/build/configurations/pull_config_preview.yaml index 509c60e336315..057249ecb9b70 100644 --- a/local/bin/py/build/configurations/pull_config_preview.yaml +++ b/local/bin/py/build/configurations/pull_config_preview.yaml @@ -619,16 +619,4 @@ file_name: 'ruby_v1.md' front_matters: dependencies: ["https://github.com/DataDog/dd-trace-rb/blob/release/docs/legacy/Compatibility-v1.md"] - title: (Legacy) Ruby Compatibility Requirements - - - repo_name: kics - contents: - - action: pull-and-push-folder - branch: main - globs: - - documentation/rules/**/**/*.md - options: - dest_dir: '/security/code_security/iac_security/iac_rules/' - path_to_remove: 'documentation/' - front_matters: - dependencies: ["https://github.com/DataDog/kics/blob/4a03fdb28eaa41cb1735b9eaa34afb911579088a/documentation/frontmatter.yaml"] + title: (Legacy) Ruby Compatibility Requirements \ No newline at end of file From 58fdee497415cbf360e1871ee5e01c34a8374be3 Mon Sep 17 00:00:00 2001 From: StefonSimmons Date: Mon, 7 Jul 2025 15:09:33 -0400 Subject: [PATCH 2/5] udpate template --- layouts/iac_security/list.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/iac_security/list.html b/layouts/iac_security/list.html index 017943decc59a..59a5b5e321166 100644 --- a/layouts/iac_security/list.html +++ b/layouts/iac_security/list.html @@ -22,7 +22,7 @@

{{ .Title }}

{{ $pad := newScratch }} - {{ range ($list.GroupByParam "group_id") }} + {{ range ($list.GroupByParam "group-id") }} {{ range .Pages }} {{ $pad.Set "providers" ( union ($pad.Get "providers") (slice (( .Params.meta.cloud_provider ))) ) }} {{ $pad.Set "frameworks" ( union ($pad.Get "frameworks") (slice (( .Params.meta.framework ))) ) }} @@ -223,7 +223,7 @@

{{ .Title }}

{{/* DATA TABLE */}}
- {{ range $list.GroupByParam "group_id" }} + {{ range $list.GroupByParam "group-id" }} {{ $group_id := .Key }} {{ $ruleset_title := index (index $ruleset_params.rulesets .Key) "title"}}
Date: Mon, 7 Jul 2025 15:09:46 -0400 Subject: [PATCH 3/5] update web sources ref nd mount --- config/_default/config.yaml | 3 +++ go.mod | 2 +- go.sum | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/config/_default/config.yaml b/config/_default/config.yaml index 6d5b2e81041b0..d4d97862eda37 100644 --- a/config/_default/config.yaml +++ b/config/_default/config.yaml @@ -99,6 +99,9 @@ module: - source: content/en/integrations target: content/integrations lang: en + - source: content/en/security/code_security/iac_security/iac_rules + target: content/security/code_security/iac_security/iac_rules + lang: en - source: data target: data - source: assets diff --git a/go.mod b/go.mod index 6be9dd42d3df8..54310f87d464c 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.14 require ( github.com/DataDog/websites-modules v1.4.238 // indirect - github.com/DataDog/websites-sources v0.0.0-20250702102459-2c0b0d08eb8d // indirect + github.com/DataDog/websites-sources v0.0.0-20250707162039-7fe434df4fbc // indirect ) // replace github.com/DataDog/websites-modules => /Users/lisiane.turlure/guac/websites-modules diff --git a/go.sum b/go.sum index 0641cf2c3d70a..e027bd9e611bf 100644 --- a/go.sum +++ b/go.sum @@ -2,3 +2,5 @@ github.com/DataDog/websites-modules v1.4.238 h1:H5ABKpEEnxtpz4YqBApprYollgP4qHuh github.com/DataDog/websites-modules v1.4.238/go.mod h1:CcQxAmCXoiFr3hNw6Q+1si65C3uOP1gB+7aX4S3h+CQ= github.com/DataDog/websites-sources v0.0.0-20250702102459-2c0b0d08eb8d h1:PTH0iRH8+hEMWQt6RQ4bekusEMD0qjDU19iulwraHKU= github.com/DataDog/websites-sources v0.0.0-20250702102459-2c0b0d08eb8d/go.mod h1:RvGhXV0uQC6Ocs+n84QyL97kows6vg6VG5ZLQMHw4Fs= +github.com/DataDog/websites-sources v0.0.0-20250707162039-7fe434df4fbc h1:nsBPGlkYMJo09U33ZcMydbZ8Lpe/hfXpmmFx1I/Lvso= +github.com/DataDog/websites-sources v0.0.0-20250707162039-7fe434df4fbc/go.mod h1:RvGhXV0uQC6Ocs+n84QyL97kows6vg6VG5ZLQMHw4Fs= From 9424e87c90668f51e5fe882b7b29fbb145622ae2 Mon Sep 17 00:00:00 2001 From: StefonSimmons Date: Mon, 7 Jul 2025 15:40:43 -0400 Subject: [PATCH 4/5] update go sum --- go.sum | 2 -- 1 file changed, 2 deletions(-) diff --git a/go.sum b/go.sum index e027bd9e611bf..fbd5f8b6dab84 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,4 @@ github.com/DataDog/websites-modules v1.4.238 h1:H5ABKpEEnxtpz4YqBApprYollgP4qHuhlzRWtR/vPeg= github.com/DataDog/websites-modules v1.4.238/go.mod h1:CcQxAmCXoiFr3hNw6Q+1si65C3uOP1gB+7aX4S3h+CQ= -github.com/DataDog/websites-sources v0.0.0-20250702102459-2c0b0d08eb8d h1:PTH0iRH8+hEMWQt6RQ4bekusEMD0qjDU19iulwraHKU= -github.com/DataDog/websites-sources v0.0.0-20250702102459-2c0b0d08eb8d/go.mod h1:RvGhXV0uQC6Ocs+n84QyL97kows6vg6VG5ZLQMHw4Fs= github.com/DataDog/websites-sources v0.0.0-20250707162039-7fe434df4fbc h1:nsBPGlkYMJo09U33ZcMydbZ8Lpe/hfXpmmFx1I/Lvso= github.com/DataDog/websites-sources v0.0.0-20250707162039-7fe434df4fbc/go.mod h1:RvGhXV0uQC6Ocs+n84QyL97kows6vg6VG5ZLQMHw4Fs= From bf749941455439022312ffdb401a2baa71550ca7 Mon Sep 17 00:00:00 2001 From: StefonSimmons Date: Tue, 8 Jul 2025 10:11:44 -0400 Subject: [PATCH 5/5] update web-source ref --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 54310f87d464c..20a93ca8f0acb 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.14 require ( github.com/DataDog/websites-modules v1.4.238 // indirect - github.com/DataDog/websites-sources v0.0.0-20250707162039-7fe434df4fbc // indirect + github.com/DataDog/websites-sources v0.0.0-20250708140115-3312b4a3b645 // indirect ) // replace github.com/DataDog/websites-modules => /Users/lisiane.turlure/guac/websites-modules diff --git a/go.sum b/go.sum index fbd5f8b6dab84..1661c7c6ca534 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,4 @@ github.com/DataDog/websites-modules v1.4.238 h1:H5ABKpEEnxtpz4YqBApprYollgP4qHuhlzRWtR/vPeg= github.com/DataDog/websites-modules v1.4.238/go.mod h1:CcQxAmCXoiFr3hNw6Q+1si65C3uOP1gB+7aX4S3h+CQ= -github.com/DataDog/websites-sources v0.0.0-20250707162039-7fe434df4fbc h1:nsBPGlkYMJo09U33ZcMydbZ8Lpe/hfXpmmFx1I/Lvso= -github.com/DataDog/websites-sources v0.0.0-20250707162039-7fe434df4fbc/go.mod h1:RvGhXV0uQC6Ocs+n84QyL97kows6vg6VG5ZLQMHw4Fs= +github.com/DataDog/websites-sources v0.0.0-20250708140115-3312b4a3b645 h1:CuT80T7YE7v5Yaqav4mfvEFV/tWt48osgUQKqehu3w4= +github.com/DataDog/websites-sources v0.0.0-20250708140115-3312b4a3b645/go.mod h1:RvGhXV0uQC6Ocs+n84QyL97kows6vg6VG5ZLQMHw4Fs=