Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview: telemetry api documentation #2175 #2185

Draft
wants to merge 6 commits into
base: openapi-viewer
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .github/workflows/deploy-public-website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ jobs:
- name: Make destination directory for compiled CSS
run: mkdir -vp docs/stylesheets/

- name: Compile CSS from SCSS files
uses: gha-utilities/[email protected]
with:
source: src/sekoiaio.scss
destination: docs/stylesheets/sekoiaio.css

- name: Install Poetry
run: |
pip install poetry
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ jobs:
- name: Make destination directory for compiled CSS
run: mkdir -vp docs/stylesheets/

- name: Compile CSS from SCSS files
uses: gha-utilities/[email protected]
with:
source: src/sekoiaio.scss
destination: docs/stylesheets/sekoiaio.css

- name: Install Poetry
run: |
pip install poetry
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.idea
site
docs/stylesheets/sekoiaio.css
docs/stylesheets/openapi.css
venv
*~
redoc.egg-info
Expand Down
4 changes: 0 additions & 4 deletions docs/cti/develop/index.md

This file was deleted.

8 changes: 0 additions & 8 deletions docs/cti/develop/rest_api/community.md

This file was deleted.

8 changes: 0 additions & 8 deletions docs/cti/develop/rest_api/dashboard.md

This file was deleted.

8 changes: 0 additions & 8 deletions docs/cti/develop/rest_api/edl-gateway.md

This file was deleted.

8 changes: 0 additions & 8 deletions docs/cti/develop/rest_api/enrichments.md

This file was deleted.

8 changes: 0 additions & 8 deletions docs/cti/develop/rest_api/intelligence.md

This file was deleted.

8 changes: 0 additions & 8 deletions docs/cti/develop/rest_api/playbooks.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/cti/develop/rest_api/quickstart.md

This file was deleted.

8 changes: 0 additions & 8 deletions docs/cti/develop/rest_api/telemetry.md

This file was deleted.

176 changes: 176 additions & 0 deletions docs/developer/api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,176 @@
---
template: overrides/openapi.html
---

# Sekoia.io API documentation

{!docs/developer/quickstart.md!}


<script>
window.onload = ()=> {
OpenAPIViewer.init({
title:"Sekoia.io API Documentation",
regions: [
"FRA1",
"FRA2",
"MCO1",
"UAE1",
],
urls: [
"../../javascript/schema.json",
],
menu:[
{
name: "User",
tags: [
"User Authentication",
"me",
"mfa", // TODO: split 'mfa' into administration and self
"permissions",
],
},
{
name: "Workspace",
tags: [
"customers", // TODO deprecated, get rid of it
"communities",
"api-keys",
"licenses",
"invitations",
"plans",
"sub-communities",
"avatars",
"users", // TODO set this tag on all user administration stuff
"roles",
],
},
{
name: "Event Monitoring",
tags: [
"Events",
"Intakes by status",
"Intakes errors and warnings",
"Intakes lag and processing lag"
]
},
{
name: "Getting started",
tags: [
"UEBA"
]
},
{
name: "Identification",
tags: [
"Assets"
]
},
{
name: "Automated Response",
tags: [
"Playbook actions telemetry"
]
},
{
name: "Intelligence",
tags: [
"Objects",
"Indicators",
"Observables",
"Observable relationships",
"Exports",
"Kill Chains",
"Outgoing Feeds",
"Collections",
"MISP",
"TAXII",
"Bundles",
"Images",
"Labels",
"CTI Objects",
],
},
{
name: "Configuration",
tags: [
"Intakes",
"Assets",
"Intakes by status",
"Intakes errors and warnings",
"Intakes lag and processing lag",
"formats",
],
},
{
name: "Detection",
tags: [
"Rules",
"datasources",
"generation-modes",
"rules-catalog",
"alert-filter", // TODO: to create, this tag doesn't exist yet
"IOC Collections",
"Alert filters telemetry"
],
},
{
name: "Alerts",
tags: [
"Alert",
"Alert Entities",
"Alert Rules",
"Alert Sources and Targets",
"Countermeasures",
"Cyber Kill Chain",
"Stats",
"Alert Status",
"Alert Type",
],
},
{
name: "Cases",
tags: [
"Case",
"Comments",
"Enrichers",
"Callbacks",
"Services",
"Tasks",
],
},
{
name: "Automations",
tags: [
"Playbooks",
"Playbook actions telemetry",
"modules",
"Action Runs",
"Actions",
"Connector Configurations",
"Connectors",
"Module Configurations",
"Modules",
"Runs",
"Trigger Configurations",
"Triggers",
],
},
{
name: "AI assistant",
tags: [
"Roy tokens use telemetry",
],
},
{
name:"Reporting",
tags: [
"Intelligence statistics",
"Automation statistics",
"Statistics",
]
}
]
})
};
</script>
21 changes: 21 additions & 0 deletions docs/javascript/openapi-viewer.min.js

Large diffs are not rendered by default.

Loading
Loading