From 318beaf109af03303809c713d8c685f2ab4611a3 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Mon, 2 Dec 2024 07:56:38 -0800 Subject: [PATCH] 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:"