Skip to content

Commit f9d68e7

Browse files
committed
Import
0 parents  commit f9d68e7

174 files changed

Lines changed: 3810 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/hugo.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Deploy Hugo site to GitHub Pages
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
build-deploy:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@v3
12+
- name: Setup Hugo
13+
uses: peaceiris/actions-hugo@v2
14+
with:
15+
hugo-version: 'latest'
16+
- name: Build
17+
run: hugo --minify
18+
- name: Deploy
19+
uses: peaceiris/actions-gh-pages@v3
20+
with:
21+
github_token: ${{ secrets.GITHUB_TOKEN }}
22+
publish_dir: ./public
23+
publish_branch: gh-pages

.hugo_build.lock

Whitespace-only changes.

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## Guide
2+
3+
This guide covers the necessary bits. As the project evolves, it will only become more comprehensive

config/.gitkeep

Whitespace-only changes.

config/_default/languages.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[en]
2+
LanguageName = "English"
3+
weight = 2
4+
# [tr]
5+
# LanguageName = "Turkish"
6+
# weight = 1

config/_default/markup.toml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[goldmark]
2+
[goldmark.renderer]
3+
unsafe = true
4+
[goldmark.extensions]
5+
typographer = false
6+
[highlight]
7+
codeFences = true
8+
guessSyntax = false
9+
hl_Lines = ""
10+
lineNoStart = 1
11+
lineNos = true
12+
lineNumbersInTable = false
13+
noClasses = false
14+
style = "monokai"
15+
tabWidth = 2
16+
[tableOfContents]
17+
endLevel = 4
18+
ordered = false
19+
startLevel = 2

config/_default/menus/menu.en.toml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# menu items
2+
[[main]]
3+
name = "Blog"
4+
weight = 5
5+
url = "blog/"
6+
7+
[[main]]
8+
name = "Docs"
9+
weight = 2
10+
url = "docs/"
11+
12+
[[main]]
13+
name = "Tutorials"
14+
weight = 2
15+
url = "tutorials/"
16+
17+
[[main]]
18+
name = "Example"
19+
weight = 3
20+
url = "https://docs.neuralvibes.com"
21+
22+
# [[main]]
23+
# name = "Blog"
24+
# weight = 4
25+
# url = "blog/"

config/_default/params.toml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# use the setting below to set multiple docs directories.
2+
# docSections = ["docs", "tutorials"]
3+
4+
uniqueHomePage = true # change to false to add sidebar to homepage
5+
6+
blogDir = "blog" # can be posts, blog e.t.c
7+
8+
repo = "https://github.com/metraction/pharos"
9+
10+
time_format_blog = "Monday, January 02, 2006"
11+
time_format_default = "January 2, 2006"
12+
enableDarkMode = false # set to false to disable darkmode by default # user will still have the option to use dark mode
13+
defaultLightingMode = "auto" # other possible values: "dark", "light"
14+
15+
# sets the maximum number of lines per codeblock. The codeblock will however be scrollable and expandable.
16+
codeMaxLines = 20
17+
18+
# show/hide line numbers by default. Switch to `true` if you'd rather have them on.
19+
showLineNumbers = false
20+
21+
# By default the template will look for icons under the icons directory. In some situations you might wanna change that. edit the line below
22+
# iconsPath = 'icons/'
23+
24+
otherSearchableFields = [
25+
"Tags",
26+
"Categories",
27+
"CustomField",
28+
] # As they appear in frontmatter
29+
30+
# Defaults to true if not set
31+
# Enable copyRight Footer Stamp. Takes in attribution
32+
enableCopyright = false
33+
34+
# search
35+
[search]
36+
on = true
37+
global = false # turn to `true` to enable global search
38+
[search.algolia]
39+
enable = false # if false search will default to fusejs
40+
id = "Q40WQQX84U" # Application ID
41+
index = "Pharos" # Index name
42+
key = "da87401a458102ec6bbd6cc5e5cf8d95" # Search-Only API Key
43+
44+
# Site logo
45+
[logo]
46+
lightMode = "images/pharos.svg"
47+
darkMode = "images/pharos-light.svg"
48+
49+
[source]
50+
name = "GitHub"
51+
iconLight = "images/GitHubMarkLight.svg"
52+
iconDark = "images/GitHubMarkDark.svg"
53+
url = "https://github.com/metraction/pharos"
54+

content/_index.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
+++
2+
title = "Pharos"
3+
[data]
4+
baseChartOn = 3
5+
colors = ["#627c62", "#11819b", "#ef7f1a", "#4e1154"]
6+
columnTitles = ["Section", "Status", "Author"]
7+
fileLink = "content/projects.csv"
8+
title = "Projects"
9+
+++
10+
11+
{{< block "grid-2" >}}
12+
{{< column >}}
13+
14+
# Track and Act on threats.
15+
16+
Pharos allows to take control on threats on your systems.
17+
18+
{{< tip >}}
19+
Pick existing plugins or write your own using [starlark](https://github.com/metraction/pharos-plugins/blob/main/image-exemptions/exemption.star) ir [go templates](https://github.com/metraction/pharos-plugins/blob/main/owner/owners_v1.hbs)
20+
{{< /tip >}}
21+
22+
23+
{{< tip >}}
24+
Modify plugin data in your git repo
25+
![plugin-data](/images/home/1-modify-plugin.png)
26+
{{< /tip >}}
27+
28+
{{< tip >}}
29+
Create configmap out of [plugin data](https://github.com/metraction/pharos/blob/main/testdata/enrichers-git/enrichers.yaml)
30+
```bash
31+
pharos plugin configmap enrichers.yaml > configmap-enrichers.yaml
32+
```
33+
{{< /tip >}}
34+
35+
{{< tip >}}
36+
Apply that configmap to your cluster
37+
```bash
38+
kubectl apply -f helm/pharos/templates/configmap-enrichers.yaml
39+
```
40+
{{< /tip >}}
41+
42+
{{< button "docs/" "Read the Docs" >}}
43+
{{< /column >}}
44+
45+
{{< column >}}
46+
<img src="/images/vente-small.png" alt="diy" style="display:block;margin:0 auto;max-width:100%;height:auto;" />
47+
{{< /column >}}
48+
{{< /block >}}

content/blog/_index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
+++
2+
title = "Blog"
3+
+++

0 commit comments

Comments
 (0)