From bc2585761157d3a088252fb6b98f1e22c3ac1c13 Mon Sep 17 00:00:00 2001 From: Maddy <130055405+Maddy-Cloudflare@users.noreply.github.com> Date: Thu, 19 Sep 2024 17:06:46 +0100 Subject: [PATCH 1/2] [Security Center] Add docs for security.txt file --- public/_redirects | 1 + .../index.mdx} | 3 +- .../infrastructure/security-file.mdx | 37 +++++++++++++++++++ 3 files changed, 40 insertions(+), 1 deletion(-) rename src/content/docs/security-center/{infrastructure.mdx => infrastructure/index.mdx} (89%) create mode 100644 src/content/docs/security-center/infrastructure/security-file.mdx diff --git a/public/_redirects b/public/_redirects index d2e4d67422de2a5..e055bcf5154869a 100644 --- a/public/_redirects +++ b/public/_redirects @@ -916,6 +916,7 @@ # security center /security-center/indicator-feeds/getting-started/ /security-center/indicator-feeds/ 301 /security-center/indicator-feeds/get-started/ /security-center/indicator-feeds/ 301 +/security-center/infrastructure.mdx /security-center/infrastructure/index.mdx 301 # spectrum /spectrum/getting-started/ /spectrum/get-started/ 301 diff --git a/src/content/docs/security-center/infrastructure.mdx b/src/content/docs/security-center/infrastructure/index.mdx similarity index 89% rename from src/content/docs/security-center/infrastructure.mdx rename to src/content/docs/security-center/infrastructure/index.mdx index f9402fa5ee06584..e4569bc6489aaa2 100644 --- a/src/content/docs/security-center/infrastructure.mdx +++ b/src/content/docs/security-center/infrastructure/index.mdx @@ -1,5 +1,5 @@ --- -pcx_content_type: how-to +pcx_content_type: overview title: Infrastructure sidebar: order: 5 @@ -14,3 +14,4 @@ You can perform the following actions: * Filter the displayed information * Print or download a PDF report +* Manage your security.txt file \ No newline at end of file diff --git a/src/content/docs/security-center/infrastructure/security-file.mdx b/src/content/docs/security-center/infrastructure/security-file.mdx new file mode 100644 index 000000000000000..ddfe080cb3b39ca --- /dev/null +++ b/src/content/docs/security-center/infrastructure/security-file.mdx @@ -0,0 +1,37 @@ +--- +pcx_content_type: concept +title: Set up your security.txt file +sidebar: + order: 4 +--- + +To manage your [security.txt](https://en.wikipedia.org/wiki/Security.txt) file via the Cloudflare dashboard: + +1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), select your account and domain. +2. Go to **Security** > **Settings** > **Enable Security.txt**. + +From here, you can create and manage your `security.txt` file to provide the security research team with a standardized way to report vulnerabilities. + +Fill in the following information: + +- **(Required) Contact**: You can enter one of the following to contact you about security issues: + - An email address: The email address must start with `mailto:`. + - A phone number: The phone number must start with `tel:`. + - A URL link: The URL link must start with `https://`. + + Select **Add more** to add multiple contacts. +- **(Required) Expires at**: Enter the expiration date and time of the `security.txt` file. +- **Encryption**: A link to a key which security researchers can use to communicate with you. +- **Acknowledgements**: A link to your acknowledgements page. +- **Canonical**: Links to your `security.txt` file. +- **Hiring**: A link to your security-related job openings. +- **Policy**: A link to a policy describing what security researchers should do when searching for or reporting security issues. +- **Preferred languages**: A list of language codes that your security team speaks. + +Once you have entered the necessary information, select **Save**. + +To edit your security.txt file, select **Security** > **Settings** > **Edit Security.txt**. + +To download your security.txt file, select **Security** > **Settings** > **Download Security.txt**. + +To delete your security.txt file, select **Security** > **Settings** > **Delete Security.txt**. \ No newline at end of file From 2cbbe11c3015adb3c20ebc0e10f8505c9a28304c Mon Sep 17 00:00:00 2001 From: Maddy <130055405+Maddy-Cloudflare@users.noreply.github.com> Date: Thu, 19 Sep 2024 17:48:26 +0100 Subject: [PATCH 2/2] Deleting redirect --- public/_redirects | 1 - 1 file changed, 1 deletion(-) diff --git a/public/_redirects b/public/_redirects index e055bcf5154869a..d2e4d67422de2a5 100644 --- a/public/_redirects +++ b/public/_redirects @@ -916,7 +916,6 @@ # security center /security-center/indicator-feeds/getting-started/ /security-center/indicator-feeds/ 301 /security-center/indicator-feeds/get-started/ /security-center/indicator-feeds/ 301 -/security-center/infrastructure.mdx /security-center/infrastructure/index.mdx 301 # spectrum /spectrum/getting-started/ /spectrum/get-started/ 301