From 318beaf109af03303809c713d8c685f2ab4611a3 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Mon, 2 Dec 2024 07:56:38 -0800 Subject: [PATCH 1/2] Update the Makefile for Cloudflare - Install it - Build the docs Signed-off-by: Tim Smith --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ff3eadc87..b881fe479 100644 --- a/Makefile +++ b/Makefile @@ -243,7 +243,8 @@ providers/install: \ providers/install/shodan \ providers/install/ansible \ providers/install/snowflake \ - providers/install/mondoo + providers/install/mondoo \ + providers/build/cloudflare providers/build/mock: providers/lr ./lr go providers-sdk/v1/testutils/mockprovider/resources/mockprovider.lr @@ -618,6 +619,11 @@ lr/docs/markdown: providers/lr --description "The Mondoo resource pack lets you interact with Mondoo Platform and its assets and resources." \ --docs-file providers/mondoo/resources/mondoo.lr.manifest.yaml \ --output ../docs/docs/mql/resources/mondoo-pack + ./lr markdown providers/cloudflare/resources/cloudflare.lr \ + --pack-name "Cloudflare" \ + --description "The Cloudflare resource pack lets you use MQL to query and assess the security of your Cloureflare configuration." \ + --docs-file providers/cloudflare/resources/cloudflare.lr.manifest.yaml \ + --output ../docs/docs/mql/resources/cloudflare-pack lr/docs/stats: @echo "Please remember to re-run before using this:" From 7ded39f2a8168aba860e42240d71e7b4b2282f15 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Mon, 2 Dec 2024 08:31:53 -0800 Subject: [PATCH 2/2] Update Makefile Co-authored-by: Mikita Iwanowski --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b881fe479..7c4a278b9 100644 --- a/Makefile +++ b/Makefile @@ -244,7 +244,7 @@ providers/install: \ providers/install/ansible \ providers/install/snowflake \ providers/install/mondoo \ - providers/build/cloudflare + providers/install/cloudflare providers/build/mock: providers/lr ./lr go providers-sdk/v1/testutils/mockprovider/resources/mockprovider.lr