Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

Commit de513f2

Browse files
committed
Update integrations to v2. Add beta alert. Align footer copyright. Fix integration sidebar links.
1 parent fef94d5 commit de513f2

8 files changed

Lines changed: 33 additions & 33 deletions

File tree

gatsby-config.js

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,40 +7,40 @@
77
const scannerRepos = [
88
{
99
name: 'Amass',
10-
url: 'https://github.com/secureCodeBox/scanner-infrastructure-amass',
10+
directory: 'scanners/amass'
1111
},
1212
{
13-
name: 'Arachni',
14-
url: 'https://github.com/secureCodeBox/scanner-webapplication-arachni',
13+
name: 'kube-hunter',
14+
directory: 'scanners/kube-hunter'
1515
},
1616
{
1717
name: 'Nikto',
18-
url: 'https://github.com/secureCodeBox/scanner-webserver-nikto',
18+
directory: 'scanners/nikto'
1919
},
2020
{
2121
name: 'Nmap',
22-
url: 'https://github.com/secureCodeBox/scanner-infrastructure-nmap',
22+
directory: 'scanners/nmap'
2323
},
2424
{
2525
name: 'SSH',
26-
url: 'https://github.com/secureCodeBox/scanner-infrastructure-ssh',
26+
directory: 'scanners/ssh_scan'
2727
},
2828
{
2929
name: 'SSLyze',
30-
url: 'https://github.com/secureCodeBox/scanner-infrastructure-sslyze',
30+
directory: 'scanners/sslyze'
3131
},
3232
{
33-
name: 'Zap',
34-
url: 'https://github.com/secureCodeBox/scanner-webapplication-zap',
33+
name: 'Trivy',
34+
directory: 'scanners/trivy'
3535
},
3636
{
3737
name: 'WPScan',
38-
url: 'https://github.com/secureCodeBox/scanner-cms-wpscan',
38+
directory: 'scanners/wpscan'
3939
},
4040
{
41-
name: 'Ncrack',
42-
url: 'https://github.com/secureCodeBox/scanner-infrastructure-ncrack',
43-
},
41+
name: 'ZAP',
42+
directory: 'scanners/zap'
43+
}
4444
];
4545

4646
module.exports = {
@@ -59,14 +59,14 @@ module.exports = {
5959
name: 'Get Started',
6060
external: true,
6161
// link: '/getStarted',
62-
link: 'https://github.com/secureCodeBox/secureCodeBox',
62+
link: 'https://github.com/secureCodeBox/secureCodeBox-v2-alpha',
6363
},
6464
{
6565
name: 'Docs',
6666
external: true,
6767
// link: '/docs',
6868
link:
69-
'https://github.com/secureCodeBox/secureCodeBox/tree/master/docs/index.md',
69+
'https://github.com/secureCodeBox/secureCodeBox-v2-alpha/blob/master/docs/index.md',
7070
},
7171
{
7272
name: 'Integrations',
@@ -133,14 +133,14 @@ module.exports = {
133133
name: 'images',
134134
},
135135
},
136-
...scannerRepos.map(({ name, url }) => {
136+
...scannerRepos.map(({ name, directory }) => {
137137
return {
138138
resolve: `gatsby-source-git`,
139139
options: {
140140
name: name,
141-
remote: url,
141+
remote: `https://github.com/secureCodeBox/secureCodeBox-v2-alpha`,
142142
branch: `master`,
143-
patterns: `README.md`,
143+
patterns: `${directory}/README.md`,
144144
},
145145
};
146146
}),

src/components/Footer.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ const Footer = props => (
2323
</a>
2424
</li>
2525
<li className="copyright">
26-
© {new Date().getFullYear()}{' '}
27-
{props.data.site.siteMetadata.company}
26+
<a href="https://www.iteratec.de">
27+
© {new Date().getFullYear()}{' '}
28+
{props.data.site.siteMetadata.company}
29+
</a>
2830
</li>
2931
</ul>
3032
</div>

src/components/Layout.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,17 @@ import React from 'react';
22
import SEO from './SEO';
33
import Header from './Header';
44
import Footer from './Footer';
5+
import BetaAlert from './BetaAlert';
56
import '../scss/style.scss';
6-
import MenuMobile from "../components/MenuMobile";
7+
import MenuMobile from "../components/MenuMobile";
78

89
const Layout = props => {
910
return (
1011
<React.Fragment>
1112
<SEO />
1213
<div className={`page${props.bodyClass ? ` ${props.bodyClass}` : ""}`}>
1314
<div id="wrapper" className="wrapper">
15+
<BetaAlert />
1416
<Header />
1517
<MenuMobile />
1618
{props.children}

src/pages/integrations/index.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,6 @@ const Integrations = props => {
4848
)}
4949
alt="scanner icon"
5050
></img>
51-
<img
52-
className="release"
53-
src={edge.node.frontmatter.release}
54-
alt="release version"
55-
></img>
5651
</div>
5752
<h2 className="feature-title">
5853
{edge.node.frontmatter.title}
@@ -121,7 +116,6 @@ export const query = graphql`
121116
path
122117
category
123118
usecase
124-
release
125119
}
126120
}
127121
}

src/scss/components/_footer.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,10 @@
5151
}
5252
}
5353
&.copyright {
54-
font-weight: bold;
55-
color: #ffffff;
54+
a {
55+
font-weight: bold;
56+
color: #ffffff;
57+
}
5658
}
5759
}
5860
@include media-breakpoint-up(sm) {

src/scss/pages/_home.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414
}
1515
@include media-breakpoint-up(lg) {
1616
background-size: 55%;
17-
background-position: 100% 70px;
17+
background-position: 100% 130px;
1818
}
1919
}

src/scss/style.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
@import 'components/page';
4747
@import 'components/header';
4848
@import 'components/footer';
49+
@import 'components/beta-alert';
4950
@import 'components/sub-footer';
5051
@import 'components/logo';
5152
@import 'components/main-menu';

src/templates/integration.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const Integration = props => {
1717
{scanner.map(scanner => (
1818
<li>
1919
<Link
20-
to={scanner.node.frontmatter.path}
20+
to={`/integrations/${scanner.node.frontmatter.path}`}
2121
activeClassName="active-Link"
2222
>
2323
{scanner.node.frontmatter.title}
@@ -30,7 +30,7 @@ const Integration = props => {
3030
{persistenceProvider.map(persistenceProvider => (
3131
<li>
3232
<Link
33-
to={persistenceProvider.node.frontmatter.path}
33+
to={`/integrations/${persistenceProvider.node.frontmatter.path}`}
3434
activeClassName="active-Link"
3535
>
3636
{persistenceProvider.node.frontmatter.title}
@@ -74,7 +74,6 @@ export const query = graphql`
7474
path
7575
category
7676
usecase
77-
release
7877
}
7978
}
8079
}

0 commit comments

Comments
 (0)