fix security page, remove unneeded deps, adjust jsconfig

This commit is contained in:
Jeff Escalante 2020-12-03 17:33:25 -05:00
parent 133c7272d0
commit 8789e7c118
No known key found for this signature in database
GPG Key ID: 32D23C61AB5450DB
6 changed files with 53 additions and 35 deletions

View File

@ -1,5 +1,6 @@
{
"compilerOptions": {
"baseUrl": "."
}
},
"exclude": ["node_modules", ".next", "out"]
}

View File

@ -1755,15 +1755,6 @@
"resolved": "https://registry.npmjs.org/@hashicorp/react-head/-/react-head-1.1.6.tgz",
"integrity": "sha512-5r2g9XNO6YHhl9/4GniiN1Reqs/mOu/7rUML+JQsN2qe7V3libr+cLa+iSYK7+pLmRlnc+Uwk7JwPPPJHVj5bA=="
},
"@hashicorp/react-image": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/@hashicorp/react-image/-/react-image-3.0.3.tgz",
"integrity": "sha512-4trWDbtXm+ILF7GKjXXwZgbuSFZhACFOS+Xkik4OOF8Ug7vnSsiMaHt3kHBcLIIR+juR1tuPE3QGC+H1CiI5rw==",
"requires": {
"object-assign": "4.1.1",
"query-string": "5.1.1"
}
},
"@hashicorp/react-inline-svg": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@hashicorp/react-inline-svg/-/react-inline-svg-1.0.2.tgz",

View File

@ -9,10 +9,8 @@
"@hashicorp/react-button": "4.0.0",
"@hashicorp/react-code-block": "2.0.4",
"@hashicorp/react-docs-page": "^10.0.0",
"@hashicorp/react-docs-sidenav": "6.0.0",
"@hashicorp/react-hashi-stack-menu": "^1.0.10",
"@hashicorp/react-head": "1.1.6",
"@hashicorp/react-image": "3.0.3",
"@hashicorp/react-product-downloader": "4.1.5",
"@hashicorp/react-search": "^2.1.3",
"@hashicorp/react-section-header": "3.0.1",

View File

@ -0,0 +1,46 @@
import Head from 'next/head'
import s from './style.module.css'
export default function SecurityPage() {
return (
<>
<Head>
<title>Security</title>
<meta
name="description"
key="description"
content="Vagrant takes security very seriously. Please responsibly disclose any
security vulnerabilities found and we'll handle it quickly."
/>
</Head>
<main className={s.root}>
<h1>Security</h1>
<p>
We understand that many users place a high level of trust in HashiCorp
and the tools we build. We apply best practices and focus on security
to make sure we can maintain the trust of the community.
</p>
<p>
We deeply appreciate any effort to disclose vulnerabilities
responsibly.
</p>
<p>
If you would like to report a vulnerability, please see the{' '}
<a href="https://www.hashicorp.com/security">
HashiCorp security page
</a>
, which has the proper email to communicate with as well as our PGP
key.
</p>
<p>
If you aren&apos;t reporting a security sensitive vulnerability,
please open an issue on the standard{' '}
<a href="https://github.com/hashicorp/vagrant">GitHub</a> repository.
</p>
</main>
</>
)
}

View File

@ -1,23 +0,0 @@
---
layout: index
page_title: Security
description: >-
Vagrant takes security very seriously. Please responsibly disclose any
security vulnerabilities found and we'll handle it quickly.
---
# Security
We understand that many users place a high level of trust in HashiCorp and
the tools we build. We apply best practices and focus on security to make
sure we can maintain the trust of the community.
We deeply appreciate any effort to disclose vulnerabilities responsibly.
If you would like to report a vulnerability, please see the
[HashiCorp security page](https://www.hashicorp.com/security),
which has the proper email to communicate with as well as our PGP key.
If you aren't reporting a security sensitive vulnerability, please
open an issue on the standard [GitHub](https://github.com/hashicorp/vagrant)
repository.

View File

@ -0,0 +1,5 @@
.root {
composes: g-grid-container from global;
max-width: 950px;
margin-top: 90px;
}