You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by ga...@apache.org on 2023/03/24 03:59:39 UTC
[incubator-seatunnel-website] branch add_security_page created (now a95fae146c)
This is an automated email from the ASF dual-hosted git repository.
gaojun2048 pushed a change to branch add_security_page
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel-website.git
at a95fae146c Add Security Page To WebSite
This branch includes the following new commits:
new a95fae146c Add Security Page To WebSite
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[incubator-seatunnel-website] 01/01: Add Security Page To WebSite
Posted by ga...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
gaojun2048 pushed a commit to branch add_security_page
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel-website.git
commit a95fae146cf6668b4b12ed5325c9d2b778b75f8c
Author: gaojun <ga...@gmail.com>
AuthorDate: Fri Mar 24 11:56:29 2023 +0800
Add Security Page To WebSite
---
docusaurus.config.js | 7 +++
src/pages/security/index.js | 23 ++++++++++
src/pages/security/index.less | 90 +++++++++++++++++++++++++++++++++++++++
src/pages/security/languages.json | 9 ++++
4 files changed, 129 insertions(+)
diff --git a/docusaurus.config.js b/docusaurus.config.js
index ba4f0072ab..c32b70e05a 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -183,6 +183,13 @@ const config = {
label: 'GitHub',
position: 'right',
},
+
+ {
+ to: '/security',
+ label: 'Security',
+ position: 'right',
+ activeBaseRegex: `/security`,
+ },
// {
// type: "localeDropdown",
// position: "right",
diff --git a/src/pages/security/index.js b/src/pages/security/index.js
new file mode 100644
index 0000000000..7cbab05d58
--- /dev/null
+++ b/src/pages/security/index.js
@@ -0,0 +1,23 @@
+import React from 'react';
+import useIsBrowser from '@docusaurus/useIsBrowser';
+import config from "./languages.json";
+import Layout from '@theme/Layout';
+import './index.less';
+
+export default function () {
+ const isBrowser = useIsBrowser();
+ const language = isBrowser && location.pathname.indexOf('/zh-CN/') === 0 ? 'zh-CN' : 'en';
+ const dataSource = config?.[language];
+
+ return (
+ <Layout>
+ <div className="block team_page">
+ <h3 className="team_title">security issues</h3>
+ <h3 className="team_title">Apache SeaTunnel Security</h3>
+ <p className="team_desc">{dataSource.info.desc}</p>
+ <p className="team_desc">{dataSource.info.securitylink}</p>
+ <p className="team_desc">{dataSource.info.tip}</p>
+ </div>
+ </Layout>
+ );
+}
diff --git a/src/pages/security/index.less b/src/pages/security/index.less
new file mode 100644
index 0000000000..878f3f6f63
--- /dev/null
+++ b/src/pages/security/index.less
@@ -0,0 +1,90 @@
+@import url('/src/styles/variable.less');
+
+.team_page {
+
+ a {
+ text-decoration: none;
+ }
+
+ margin-top: 50px;
+
+ .team_title {
+ font-size: 25px;
+ font-weight: 500;
+ color: #0F1222;
+ margin-top: 50px;
+ }
+
+ .team_desc {
+ margin-bottom: 40px;
+ }
+
+ .character_list {
+ display: grid;
+ grid-template-columns: repeat(6, 1fr);
+ grid-column-gap: 15px;
+ grid-row-gap: 15px;
+ padding: 20px 0 0px;
+
+ .character_item {
+ border: 1px solid rgba(205, 221, 250, 0.8);
+ background-color: rgba(205, 222, 234, 0.2);
+ box-shadow: 0 3px 5px rgb(47 85 212 / 8%);
+ border-radius: 2px;
+ min-width: 0;
+ padding: 0 10px 5px;
+ margin: 40px 0 42px 0;
+
+ .character_avatar {
+ width: 120px;
+ height: 120px;
+ background: #D8D8D8;
+ display: inline-block;
+ border-radius: 50%;
+ border: 5px solid rgba(255,255,255,.08);
+ margin: -4rem auto -.5rem;
+ }
+
+ .character_name {
+ color: @enhance-color;
+ line-height: 36px;
+ font-size: 15px;
+ white-space: nowrap;
+ font-weight: 400;
+ overflow: hidden;
+ background-color: #fff;
+ margin-top: 20px;
+ border-radius: 18px;
+ text-overflow: ellipsis;
+ border: 1px solid rgba(205, 221, 250, 0.6);
+ box-shadow: 0 3px 5px rgb(47 85 212 / 5%);
+ }
+
+ .character_id {
+ color: #333;
+ line-height: 36px;
+ font-size: 12px;
+ white-space: nowrap;
+ font-weight: 400;
+ overflow: hidden;
+ border-radius: 18px;
+ background-color: #fff;
+ text-overflow: ellipsis;
+ border: 1px solid rgba(205, 221, 250, 0.6);
+ box-shadow: 0 3px 5px rgb(47 85 212 / 5%);
+ .githubId {
+ color: #666;
+ margin-right: 2px;
+ }
+ }
+
+ .character_link {
+ color: rgba(15, 18, 34, 0.65);
+ font-weight: 400;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/pages/security/languages.json b/src/pages/security/languages.json
new file mode 100644
index 0000000000..bd95e62445
--- /dev/null
+++ b/src/pages/security/languages.json
@@ -0,0 +1,9 @@
+{
+ "en": {
+ "info": {
+ "desc": "The Apache Software Foundation takes a rigorous standpoint in annihilating the security issues in its software projects. Apache SeaTunnel is highly sensitive and forthcoming to issues pertaining to its features and functionality.",
+ "securitylink": "If you have apprehensions regarding SeaTunnel’s security or you discover vulnerability or potential threat, don’t hesitate to get in touch with the Apache Security Team by dropping a mail at security@apache.org. In the mail, specify the project name SeaTunnel with the description of the issue or potential threat. You are also urged to recommend the way to reproduce and replicate the issue. The security team and the SeaTunnel community will get back to you after ass [...]
+ "tip": "PLEASE PAY ATTENTION to report the security issue on the security email before disclosing it on public domain."
+ }
+ }
+}
\ No newline at end of file