Skip to content

Commit 82040fe

Browse files
committed
Refactored examples and fixed Go code
1 parent 627ee4a commit 82040fe

58 files changed

Lines changed: 446 additions & 339 deletions

Some content is hidden

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

.devcontainer/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM mcr.microsoft.com/devcontainers/base:bookworm
22

3-
ARG GO_VERSION=1.23.4
3+
ARG GO_VERSION=1.23.9
4+
ARG NVM_VERSION=0.40.3
45

56
COPY files /
67

@@ -27,7 +28,7 @@ RUN set -xe \
2728
# install NodeJS tools
2829
RUN set -xe \
2930
&& cd /tmp \
30-
&& wget https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh \
31+
&& wget https://raw.githubusercontent.com/nvm-sh/nvm/v${NVM_VERSION}/install.sh \
3132
&& chmod +x install.sh \
3233
&& mkdir /home/vscode/.nvm \
3334
&& chown -hR vscode /home/vscode \

.devcontainer/post-create.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
11
#!/bin/bash
22

33
git config --global --add safe.directory /workspaces/s1-integration-examples
4-
5-
# copy Nexus SDK files for development
6-
if [ -d ./SDK-examples/nexus-sdk ]; then
7-
# Go Quickstart
8-
cp ./SDK-examples/nexus-sdk/SDK/include/libdfi.h ./quickstart/go/pkg/scanner/nexus/include/
9-
cp ./SDK-examples/nexus-sdk/SDK/lib/linux/arm64/libdfi.so ./quickstart/go/pkg/scanner/nexus/lib/linux/arm64/
10-
cp ./SDK-examples/nexus-sdk/SDK/lib/linux/x64/libdfi.so ./quickstart/go/pkg/scanner/nexus/lib/linux/amd64/
11-
fi

.gitignore

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,3 @@
22
.codegpt
33
.DS_Store
44
dist
5-
6-
# Nexus SDK files
7-
nexus-sdk
8-
libdfi*.*
9-
pyscanner.py
10-
SentinelDFI*.whl

API-UI-Examples/README.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [v0.5.0] - Released 2025-05-27
9+
10+
### Added
11+
12+
- API Browser example for both Python and Node.js
13+
- Nexus SDK examples for go, Python and Node.js
14+
15+
### Changed
16+
17+
- Refactored the repository for a more consistent layout

README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,18 @@
22

33
## Description
44

5-
This repo contains artifacts used by the SentinelOne team in support of our OEM and Embedded business partners. There are a number of projects listed here to help speed the adoption of SentinelOne products in embedded environments.
5+
This repository contains artifacts used by the SentinelOne team in support of our OEM and Strategic Technology partners. There are a number of projects listed here to help speed the adoption of SentinelOne products in embedded and ISV partner environments.
66

7-
## Projects
8-
- [Nexus SDK Examples](./SDK-examples/)
9-
- [API UI Examples](./API-UI-Examples/)
10-
- Lightweight S1 Console Example (WIP)
11-
- On-Prem Console Installer Script (WIP)
7+
## Available Projects
8+
9+
- [API Browser](./api-browser/README.md): A simple web-based utility for browsing, exploring and interacting with the SentinelOne APIs
10+
- [Lightweight Console](./lightweight-console/README.md): A simplified console which interacts with SentinelOne APIs to manage endpoints without complexity
11+
- [Nexus SDK](./nexus-sdk/README.md): Examples for using the Nexus SDK product to embed SentinelOne scanning engine technology into an existing or a new product
12+
13+
## Support Information
14+
15+
The contents of this repository are _**NOT officially supported**_ by SentinelOne in any way, shape or form. The code here is provided as an example of the many capabilities of the SentinelOne products and platform.
16+
17+
To provide feedback, suggestions or to let us know you found a possible bug, please [open a new Issue](https://github.com/sentinel-one/s1-integration-examples/issues) through GitHub.
18+
19+
If you have general questions regarding any of the code in this repository or how to use it, please send a message to [techpartners@sentinelone.com](mailto:techpartners@sentinelone.com?subject=S1%20Integration%20Examples%20Inquiry) with the subject _**S1 Integration Examples Inquiry**_.

SDK-examples/README.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

SDK-examples/quickstart/go/build/Dockerfile.amd64

Lines changed: 0 additions & 24 deletions
This file was deleted.

SDK-examples/quickstart/go/build/Dockerfile.arm64

Lines changed: 0 additions & 24 deletions
This file was deleted.

SDK-examples/quickstart/go/build/Dockerfile.nosdk

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)