mirror of
https://github.com/fosrl/pangolin.git
synced 2026-04-01 07:26:38 +00:00
Compare commits
106 Commits
alerting-r
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0fc1aa9191 | ||
|
|
f34a3559be | ||
|
|
ddf417f4ca | ||
|
|
f2abbf01e5 | ||
|
|
d08be59055 | ||
|
|
44bb87e4ac | ||
|
|
1d2f1405aa | ||
|
|
ff64a79014 | ||
|
|
f6cdadbc2d | ||
|
|
546769ca66 | ||
|
|
d07996d435 | ||
|
|
467808f174 | ||
|
|
64d3c6b2d9 | ||
|
|
75193bb0a2 | ||
|
|
82ba2bd809 | ||
|
|
8559942c5c | ||
|
|
a7fefc84a8 | ||
|
|
c8e83fedeb | ||
|
|
4bf148a4bf | ||
|
|
44664faf3c | ||
|
|
322c136d1f | ||
|
|
3b8dd45a73 | ||
|
|
c1bd36231d | ||
|
|
2cee723f0e | ||
|
|
edfeec900d | ||
|
|
958bde2090 | ||
|
|
29b272f5d5 | ||
|
|
9162ac6d91 | ||
|
|
fe30bb280e | ||
|
|
a1e9396999 | ||
|
|
2a1c290dff | ||
|
|
d155d7e31b | ||
|
|
3dc258da16 | ||
|
|
0db1397f2f | ||
|
|
0254fb1695 | ||
|
|
954b492aa9 | ||
|
|
8aadc10530 | ||
|
|
6ea719c50f | ||
|
|
b50886179a | ||
|
|
e06f2f47b1 | ||
|
|
ed8c8bedcd | ||
|
|
1711e39219 | ||
|
|
a73879ec7a | ||
|
|
45c613dec4 | ||
|
|
5150a2c386 | ||
|
|
ca0dd09964 | ||
|
|
5e0e4f1452 | ||
|
|
3ed72dd96b | ||
|
|
b8d7d5c910 | ||
|
|
673b8b7af5 | ||
|
|
a651e50759 | ||
|
|
6484e8e302 | ||
|
|
b01d266629 | ||
|
|
4465b05404 | ||
|
|
d1182c3a59 | ||
|
|
cb6c47678b | ||
|
|
8106620a19 | ||
|
|
be3e066843 | ||
|
|
e345c6ee6e | ||
|
|
073b89b355 | ||
|
|
5cad07f8ad | ||
|
|
f9d872558e | ||
|
|
c5015d02ae | ||
|
|
48013228c1 | ||
|
|
dbafffe73d | ||
|
|
61cbcb2a06 | ||
|
|
89c1ad5d98 | ||
|
|
b343ca6290 | ||
|
|
b913466671 | ||
|
|
9054f4f9c3 | ||
|
|
3915024d9a | ||
|
|
7d1085b43f | ||
|
|
7c2477cccc | ||
|
|
5aecb5fb90 | ||
|
|
f86d040ee4 | ||
|
|
ed32717b3f | ||
|
|
aab8462134 | ||
|
|
04943fb4a6 | ||
|
|
e0c96e7224 | ||
|
|
caacd1e677 | ||
|
|
c995c5a674 | ||
|
|
1e9544af07 | ||
|
|
c20dfdabfb | ||
|
|
11a6f1f47f | ||
|
|
fcf92d4e2c | ||
|
|
77cef554be | ||
|
|
bdc45887f9 | ||
|
|
8e160902af | ||
|
|
06f840a680 | ||
|
|
5ddcfeb506 | ||
|
|
914e95e47f | ||
|
|
5b9efc3c5f | ||
|
|
6d7a19b0a0 | ||
|
|
6b3a6fa380 | ||
|
|
e2a65b4b74 | ||
|
|
1f01108b62 | ||
|
|
871f14ef3a | ||
|
|
1d5dfd6db2 | ||
|
|
ad3fe2fa76 | ||
|
|
863eb8efe9 | ||
|
|
47a99e35ee | ||
|
|
5455d1c118 | ||
|
|
ae39084a75 | ||
|
|
27d20eb1bc | ||
|
|
3d4df906cf | ||
|
|
e051142334 |
4
.github/workflows/cicd.yml
vendored
4
.github/workflows/cicd.yml
vendored
@@ -266,7 +266,7 @@ jobs:
|
|||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
|
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
|
||||||
with:
|
with:
|
||||||
go-version: 1.24
|
go-version: 1.25
|
||||||
|
|
||||||
- name: Update version in package.json
|
- name: Update version in package.json
|
||||||
run: |
|
run: |
|
||||||
@@ -415,7 +415,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Install cosign
|
- name: Install cosign
|
||||||
# cosign is used to sign and verify container images (key and keyless)
|
# cosign is used to sign and verify container images (key and keyless)
|
||||||
uses: sigstore/cosign-installer@ba7bc0a3fef59531c69a25acd34668d6d3fe6f22 # v4.1.0
|
uses: sigstore/cosign-installer@cad07c2e89fa2edd6e2d7bab4c1aa38e53f76003 # v4.1.1
|
||||||
|
|
||||||
- name: Dual-sign and verify (GHCR & Docker Hub)
|
- name: Dual-sign and verify (GHCR & Docker Hub)
|
||||||
# Sign each image by digest using keyless (OIDC) and key-based signing,
|
# Sign each image by digest using keyless (OIDC) and key-based signing,
|
||||||
|
|||||||
2
.github/workflows/mirror.yaml
vendored
2
.github/workflows/mirror.yaml
vendored
@@ -23,7 +23,7 @@ jobs:
|
|||||||
skopeo --version
|
skopeo --version
|
||||||
|
|
||||||
- name: Install cosign
|
- name: Install cosign
|
||||||
uses: sigstore/cosign-installer@ba7bc0a3fef59531c69a25acd34668d6d3fe6f22 # v4.1.0
|
uses: sigstore/cosign-installer@cad07c2e89fa2edd6e2d7bab4c1aa38e53f76003 # v4.1.1
|
||||||
|
|
||||||
- name: Input check
|
- name: Input check
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
If you discover a security vulnerability, please follow the steps below to responsibly disclose it to us:
|
If you discover a security vulnerability, please follow the steps below to responsibly disclose it to us:
|
||||||
|
|
||||||
1. **Do not create a public GitHub issue or discussion post.** This could put the security of other users at risk.
|
1. **Do not create a public GitHub issue or discussion post.** This could put the security of other users at risk.
|
||||||
2. Send a detailed report to [security@pangolin.net](mailto:security@pangolin.net) or send a **private** message to a maintainer on [Discord](https://discord.gg/HCJR8Xhme4). Include:
|
2. Send a detailed report to [security@pangolin.net](mailto:security@pangolin.net) with the following information:
|
||||||
|
|
||||||
- Description and location of the vulnerability.
|
- Description and location of the vulnerability.
|
||||||
- Potential impact of the vulnerability.
|
- Potential impact of the vulnerability.
|
||||||
|
|||||||
@@ -99,11 +99,6 @@ func ReadAppConfig(configPath string) (*AppConfigValues, error) {
|
|||||||
return values, nil
|
return values, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// findPattern finds the start of a pattern in a string
|
|
||||||
func findPattern(s, pattern string) int {
|
|
||||||
return bytes.Index([]byte(s), []byte(pattern))
|
|
||||||
}
|
|
||||||
|
|
||||||
func copyDockerService(sourceFile, destFile, serviceName string) error {
|
func copyDockerService(sourceFile, destFile, serviceName string) error {
|
||||||
// Read source file
|
// Read source file
|
||||||
sourceData, err := os.ReadFile(sourceFile)
|
sourceData, err := os.ReadFile(sourceFile)
|
||||||
@@ -187,7 +182,7 @@ func backupConfig() error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func MarshalYAMLWithIndent(data any, indent int) ([]byte, error) {
|
func MarshalYAMLWithIndent(data any, indent int) (resp []byte, err error) {
|
||||||
buffer := new(bytes.Buffer)
|
buffer := new(bytes.Buffer)
|
||||||
encoder := yaml.NewEncoder(buffer)
|
encoder := yaml.NewEncoder(buffer)
|
||||||
encoder.SetIndent(indent)
|
encoder.SetIndent(indent)
|
||||||
@@ -196,7 +191,12 @@ func MarshalYAMLWithIndent(data any, indent int) ([]byte, error) {
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
defer encoder.Close()
|
defer func() {
|
||||||
|
if cerr := encoder.Close(); cerr != nil && err == nil {
|
||||||
|
err = cerr
|
||||||
|
}
|
||||||
|
}()
|
||||||
|
|
||||||
return buffer.Bytes(), nil
|
return buffer.Bytes(), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -81,11 +81,17 @@ entryPoints:
|
|||||||
transport:
|
transport:
|
||||||
respondingTimeouts:
|
respondingTimeouts:
|
||||||
readTimeout: "30m"
|
readTimeout: "30m"
|
||||||
|
http3:
|
||||||
|
advertisedPort: 443
|
||||||
http:
|
http:
|
||||||
tls:
|
tls:
|
||||||
certResolver: "letsencrypt"
|
certResolver: "letsencrypt"
|
||||||
middlewares:
|
encodedCharacters:
|
||||||
- crowdsec@file
|
allowEncodedSlash: true
|
||||||
|
allowEncodedQuestionMark: true
|
||||||
|
|
||||||
serversTransport:
|
serversTransport:
|
||||||
insecureSkipVerify: true
|
insecureSkipVerify: true
|
||||||
|
|
||||||
|
ping:
|
||||||
|
entryPoint: "web"
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ services:
|
|||||||
- 51820:51820/udp
|
- 51820:51820/udp
|
||||||
- 21820:21820/udp
|
- 21820:21820/udp
|
||||||
- 443:443
|
- 443:443
|
||||||
|
- 443:443/udp # For http3 QUIC if desired
|
||||||
- 80:80
|
- 80:80
|
||||||
{{end}}
|
{{end}}
|
||||||
traefik:
|
traefik:
|
||||||
|
|||||||
@@ -40,6 +40,8 @@ entryPoints:
|
|||||||
transport:
|
transport:
|
||||||
respondingTimeouts:
|
respondingTimeouts:
|
||||||
readTimeout: "30m"
|
readTimeout: "30m"
|
||||||
|
http3:
|
||||||
|
advertisedPort: 443
|
||||||
http:
|
http:
|
||||||
tls:
|
tls:
|
||||||
certResolver: "letsencrypt"
|
certResolver: "letsencrypt"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ module installer
|
|||||||
go 1.25.0
|
go 1.25.0
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/charmbracelet/huh v0.8.0
|
github.com/charmbracelet/huh v1.0.0
|
||||||
github.com/charmbracelet/lipgloss v1.1.0
|
github.com/charmbracelet/lipgloss v1.1.0
|
||||||
golang.org/x/term v0.41.0
|
golang.org/x/term v0.41.0
|
||||||
gopkg.in/yaml.v3 v3.0.1
|
gopkg.in/yaml.v3 v3.0.1
|
||||||
|
|||||||
@@ -14,8 +14,8 @@ github.com/charmbracelet/bubbletea v1.3.6 h1:VkHIxPJQeDt0aFJIsVxw8BQdh/F/L2KKZGs
|
|||||||
github.com/charmbracelet/bubbletea v1.3.6/go.mod h1:oQD9VCRQFF8KplacJLo28/jofOI2ToOfGYeFgBBxHOc=
|
github.com/charmbracelet/bubbletea v1.3.6/go.mod h1:oQD9VCRQFF8KplacJLo28/jofOI2ToOfGYeFgBBxHOc=
|
||||||
github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc h1:4pZI35227imm7yK2bGPcfpFEmuY1gc2YSTShr4iJBfs=
|
github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc h1:4pZI35227imm7yK2bGPcfpFEmuY1gc2YSTShr4iJBfs=
|
||||||
github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc/go.mod h1:X4/0JoqgTIPSFcRA/P6INZzIuyqdFY5rm8tb41s9okk=
|
github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc/go.mod h1:X4/0JoqgTIPSFcRA/P6INZzIuyqdFY5rm8tb41s9okk=
|
||||||
github.com/charmbracelet/huh v0.8.0 h1:Xz/Pm2h64cXQZn/Jvele4J3r7DDiqFCNIVteYukxDvY=
|
github.com/charmbracelet/huh v1.0.0 h1:wOnedH8G4qzJbmhftTqrpppyqHakl/zbbNdXIWJyIxw=
|
||||||
github.com/charmbracelet/huh v0.8.0/go.mod h1:5YVc+SlZ1IhQALxRPpkGwwEKftN/+OlJlnJYlDRFqN4=
|
github.com/charmbracelet/huh v1.0.0/go.mod h1:5YVc+SlZ1IhQALxRPpkGwwEKftN/+OlJlnJYlDRFqN4=
|
||||||
github.com/charmbracelet/lipgloss v1.1.0 h1:vYXsiLHVkK7fp74RkV7b2kq9+zDLoEU4MZoFqR/noCY=
|
github.com/charmbracelet/lipgloss v1.1.0 h1:vYXsiLHVkK7fp74RkV7b2kq9+zDLoEU4MZoFqR/noCY=
|
||||||
github.com/charmbracelet/lipgloss v1.1.0/go.mod h1:/6Q8FR2o+kj8rz4Dq0zQc3vYf7X+B0binUUBwA0aL30=
|
github.com/charmbracelet/lipgloss v1.1.0/go.mod h1:/6Q8FR2o+kj8rz4Dq0zQc3vYf7X+B0binUUBwA0aL30=
|
||||||
github.com/charmbracelet/x/ansi v0.9.3 h1:BXt5DHS/MKF+LjuK4huWrC6NCvHtexww7dMayh6GXd0=
|
github.com/charmbracelet/x/ansi v0.9.3 h1:BXt5DHS/MKF+LjuK4huWrC6NCvHtexww7dMayh6GXd0=
|
||||||
|
|||||||
@@ -85,33 +85,6 @@ func readString(prompt string, defaultValue string) string {
|
|||||||
return value
|
return value
|
||||||
}
|
}
|
||||||
|
|
||||||
func readStringNoDefault(prompt string) string {
|
|
||||||
var value string
|
|
||||||
|
|
||||||
for {
|
|
||||||
input := huh.NewInput().
|
|
||||||
Title(prompt).
|
|
||||||
Value(&value).
|
|
||||||
Validate(func(s string) error {
|
|
||||||
if s == "" {
|
|
||||||
return fmt.Errorf("this field is required")
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
})
|
|
||||||
|
|
||||||
err := runField(input)
|
|
||||||
handleAbort(err)
|
|
||||||
|
|
||||||
if value != "" {
|
|
||||||
// Print the answer so it remains visible in terminal history
|
|
||||||
if !isAccessibleMode() {
|
|
||||||
fmt.Printf("%s: %s\n", prompt, value)
|
|
||||||
}
|
|
||||||
return value
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func readPassword(prompt string) string {
|
func readPassword(prompt string) string {
|
||||||
var value string
|
var value string
|
||||||
|
|
||||||
|
|||||||
172
install/main.go
172
install/main.go
@@ -8,12 +8,12 @@ import (
|
|||||||
"io"
|
"io"
|
||||||
"io/fs"
|
"io/fs"
|
||||||
"net"
|
"net"
|
||||||
"net/http"
|
|
||||||
"net/url"
|
"net/url"
|
||||||
"os"
|
"os"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"runtime"
|
"runtime"
|
||||||
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
"text/template"
|
"text/template"
|
||||||
"time"
|
"time"
|
||||||
@@ -90,6 +90,13 @@ func main() {
|
|||||||
var config Config
|
var config Config
|
||||||
var alreadyInstalled = false
|
var alreadyInstalled = false
|
||||||
|
|
||||||
|
// Determine installation directory
|
||||||
|
installDir := findOrSelectInstallDirectory()
|
||||||
|
if err := os.Chdir(installDir); err != nil {
|
||||||
|
fmt.Printf("Error changing to installation directory: %v\n", err)
|
||||||
|
os.Exit(1)
|
||||||
|
}
|
||||||
|
|
||||||
// check if there is already a config file
|
// check if there is already a config file
|
||||||
if _, err := os.Stat("config/config.yml"); err != nil {
|
if _, err := os.Stat("config/config.yml"); err != nil {
|
||||||
config = collectUserInput()
|
config = collectUserInput()
|
||||||
@@ -287,6 +294,117 @@ func main() {
|
|||||||
fmt.Printf("\nTo complete the initial setup, please visit:\nhttps://%s/auth/initial-setup\n", config.DashboardDomain)
|
fmt.Printf("\nTo complete the initial setup, please visit:\nhttps://%s/auth/initial-setup\n", config.DashboardDomain)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func hasExistingInstall(dir string) bool {
|
||||||
|
configPath := filepath.Join(dir, "config", "config.yml")
|
||||||
|
_, err := os.Stat(configPath)
|
||||||
|
return err == nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func findOrSelectInstallDirectory() string {
|
||||||
|
const defaultInstallDir = "/opt/pangolin"
|
||||||
|
|
||||||
|
// Get current working directory
|
||||||
|
cwd, err := os.Getwd()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Printf("Error getting current directory: %v\n", err)
|
||||||
|
os.Exit(1)
|
||||||
|
}
|
||||||
|
|
||||||
|
// 1. Check current directory for existing install
|
||||||
|
if hasExistingInstall(cwd) {
|
||||||
|
fmt.Printf("Found existing Pangolin installation in current directory: %s\n", cwd)
|
||||||
|
return cwd
|
||||||
|
}
|
||||||
|
|
||||||
|
// 2. Check default location (/opt/pangolin) for existing install
|
||||||
|
if cwd != defaultInstallDir && hasExistingInstall(defaultInstallDir) {
|
||||||
|
fmt.Printf("\nFound existing Pangolin installation at: %s\n", defaultInstallDir)
|
||||||
|
if readBool(fmt.Sprintf("Would you like to use the existing installation at %s?", defaultInstallDir), true) {
|
||||||
|
return defaultInstallDir
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 3. No existing install found, prompt for installation directory
|
||||||
|
fmt.Println("\n=== Installation Directory ===")
|
||||||
|
fmt.Println("No existing Pangolin installation detected.")
|
||||||
|
|
||||||
|
installDir := readString("Enter the installation directory", defaultInstallDir)
|
||||||
|
|
||||||
|
// Expand ~ to home directory if present
|
||||||
|
if strings.HasPrefix(installDir, "~") {
|
||||||
|
home, err := os.UserHomeDir()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Printf("Error getting home directory: %v\n", err)
|
||||||
|
os.Exit(1)
|
||||||
|
}
|
||||||
|
installDir = filepath.Join(home, installDir[1:])
|
||||||
|
}
|
||||||
|
|
||||||
|
// Convert to absolute path
|
||||||
|
absPath, err := filepath.Abs(installDir)
|
||||||
|
if err != nil {
|
||||||
|
fmt.Printf("Error resolving path: %v\n", err)
|
||||||
|
os.Exit(1)
|
||||||
|
}
|
||||||
|
installDir = absPath
|
||||||
|
|
||||||
|
// Check if directory exists
|
||||||
|
if _, err := os.Stat(installDir); os.IsNotExist(err) {
|
||||||
|
// Directory doesn't exist, create it
|
||||||
|
if readBool(fmt.Sprintf("Directory %s does not exist. Create it?", installDir), true) {
|
||||||
|
if err := os.MkdirAll(installDir, 0755); err != nil {
|
||||||
|
fmt.Printf("Error creating directory: %v\n", err)
|
||||||
|
os.Exit(1)
|
||||||
|
}
|
||||||
|
fmt.Printf("Created directory: %s\n", installDir)
|
||||||
|
|
||||||
|
// Offer to change ownership if running via sudo
|
||||||
|
changeDirectoryOwnership(installDir)
|
||||||
|
} else {
|
||||||
|
fmt.Println("Installation cancelled.")
|
||||||
|
os.Exit(0)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fmt.Printf("Installation directory: %s\n", installDir)
|
||||||
|
return installDir
|
||||||
|
}
|
||||||
|
|
||||||
|
func changeDirectoryOwnership(dir string) {
|
||||||
|
// Check if we're running via sudo by looking for SUDO_USER
|
||||||
|
sudoUser := os.Getenv("SUDO_USER")
|
||||||
|
if sudoUser == "" || os.Geteuid() != 0 {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
sudoUID := os.Getenv("SUDO_UID")
|
||||||
|
sudoGID := os.Getenv("SUDO_GID")
|
||||||
|
|
||||||
|
if sudoUID == "" || sudoGID == "" {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
fmt.Printf("\nRunning as root via sudo (original user: %s)\n", sudoUser)
|
||||||
|
if readBool(fmt.Sprintf("Would you like to change ownership of %s to user '%s'? This makes it easier to manage config files without sudo.", dir, sudoUser), true) {
|
||||||
|
uid, err := strconv.Atoi(sudoUID)
|
||||||
|
if err != nil {
|
||||||
|
fmt.Printf("Warning: Could not parse SUDO_UID: %v\n", err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
gid, err := strconv.Atoi(sudoGID)
|
||||||
|
if err != nil {
|
||||||
|
fmt.Printf("Warning: Could not parse SUDO_GID: %v\n", err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
if err := os.Chown(dir, uid, gid); err != nil {
|
||||||
|
fmt.Printf("Warning: Could not change ownership: %v\n", err)
|
||||||
|
} else {
|
||||||
|
fmt.Printf("Changed ownership of %s to %s\n", dir, sudoUser)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
func podmanOrDocker() SupportedContainer {
|
func podmanOrDocker() SupportedContainer {
|
||||||
inputContainer := readString("Would you like to run Pangolin as Docker or Podman containers?", "docker")
|
inputContainer := readString("Would you like to run Pangolin as Docker or Podman containers?", "docker")
|
||||||
|
|
||||||
@@ -430,9 +548,9 @@ func createConfigFiles(config Config) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Walk through all embedded files
|
// Walk through all embedded files
|
||||||
err := fs.WalkDir(configFiles, "config", func(path string, d fs.DirEntry, err error) error {
|
err := fs.WalkDir(configFiles, "config", func(path string, d fs.DirEntry, walkErr error) (err error) {
|
||||||
if err != nil {
|
if walkErr != nil {
|
||||||
return err
|
return walkErr
|
||||||
}
|
}
|
||||||
|
|
||||||
// Skip the root fs directory itself
|
// Skip the root fs directory itself
|
||||||
@@ -483,7 +601,11 @@ func createConfigFiles(config Config) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("failed to create %s: %v", path, err)
|
return fmt.Errorf("failed to create %s: %v", path, err)
|
||||||
}
|
}
|
||||||
defer outFile.Close()
|
defer func() {
|
||||||
|
if cerr := outFile.Close(); cerr != nil && err == nil {
|
||||||
|
err = cerr
|
||||||
|
}
|
||||||
|
}()
|
||||||
|
|
||||||
// Execute template
|
// Execute template
|
||||||
if err := tmpl.Execute(outFile, config); err != nil {
|
if err := tmpl.Execute(outFile, config); err != nil {
|
||||||
@@ -499,18 +621,26 @@ func createConfigFiles(config Config) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func copyFile(src, dst string) error {
|
func copyFile(src, dst string) (err error) {
|
||||||
source, err := os.Open(src)
|
source, err := os.Open(src)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
defer source.Close()
|
defer func() {
|
||||||
|
if cerr := source.Close(); cerr != nil && err == nil {
|
||||||
|
err = cerr
|
||||||
|
}
|
||||||
|
}()
|
||||||
|
|
||||||
destination, err := os.Create(dst)
|
destination, err := os.Create(dst)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
defer destination.Close()
|
defer func() {
|
||||||
|
if cerr := destination.Close(); cerr != nil && err == nil {
|
||||||
|
err = cerr
|
||||||
|
}
|
||||||
|
}()
|
||||||
|
|
||||||
_, err = io.Copy(destination, source)
|
_, err = io.Copy(destination, source)
|
||||||
return err
|
return err
|
||||||
@@ -622,32 +752,6 @@ func generateRandomSecretKey() string {
|
|||||||
return base64.StdEncoding.EncodeToString(secret)
|
return base64.StdEncoding.EncodeToString(secret)
|
||||||
}
|
}
|
||||||
|
|
||||||
func getPublicIP() string {
|
|
||||||
client := &http.Client{
|
|
||||||
Timeout: 10 * time.Second,
|
|
||||||
}
|
|
||||||
|
|
||||||
resp, err := client.Get("https://ifconfig.io/ip")
|
|
||||||
if err != nil {
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
defer resp.Body.Close()
|
|
||||||
|
|
||||||
body, err := io.ReadAll(resp.Body)
|
|
||||||
if err != nil {
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
ip := strings.TrimSpace(string(body))
|
|
||||||
|
|
||||||
// Validate that it's a valid IP address
|
|
||||||
if net.ParseIP(ip) != nil {
|
|
||||||
return ip
|
|
||||||
}
|
|
||||||
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
// Run external commands with stdio/stderr attached.
|
// Run external commands with stdio/stderr attached.
|
||||||
func run(name string, args ...string) error {
|
func run(name string, args ...string) error {
|
||||||
cmd := exec.Command(name, args...)
|
cmd := exec.Command(name, args...)
|
||||||
|
|||||||
@@ -148,6 +148,11 @@
|
|||||||
"createLink": "Създаване на връзка",
|
"createLink": "Създаване на връзка",
|
||||||
"resourcesNotFound": "Не са намерени ресурси",
|
"resourcesNotFound": "Не са намерени ресурси",
|
||||||
"resourceSearch": "Търсене на ресурси",
|
"resourceSearch": "Търсене на ресурси",
|
||||||
|
"machineSearch": "Търсене на машини",
|
||||||
|
"machinesSearch": "Търсене на клиенти на машини...",
|
||||||
|
"machineNotFound": "Не са намерени машини",
|
||||||
|
"userDeviceSearch": "Търсене на устройства на потребителя",
|
||||||
|
"userDevicesSearch": "Търсене на устройства на потребителя...",
|
||||||
"openMenu": "Отваряне на менюто",
|
"openMenu": "Отваряне на менюто",
|
||||||
"resource": "Ресурс",
|
"resource": "Ресурс",
|
||||||
"title": "Заглавие",
|
"title": "Заглавие",
|
||||||
@@ -323,6 +328,54 @@
|
|||||||
"apiKeysDelete": "Изтрийте API ключа",
|
"apiKeysDelete": "Изтрийте API ключа",
|
||||||
"apiKeysManage": "Управление на API ключове",
|
"apiKeysManage": "Управление на API ключове",
|
||||||
"apiKeysDescription": "API ключове се използват за удостоверяване с интеграционния API",
|
"apiKeysDescription": "API ключове се използват за удостоверяване с интеграционния API",
|
||||||
|
"provisioningKeysTitle": "Ключ за осигуряване",
|
||||||
|
"provisioningKeysManage": "Управление на ключове за осигуряване",
|
||||||
|
"provisioningKeysDescription": "Ключовете за осигуряване се използват за удостоверяване на автоматичното осигуряване на сайта за вашата организация.",
|
||||||
|
"provisioningManage": "Осигуряване",
|
||||||
|
"provisioningDescription": "Управление на ключовете за осигуряване и преглед на чаканещите сайтове за одобрение.",
|
||||||
|
"pendingSites": "Чаканещи сайтове",
|
||||||
|
"siteApproveSuccess": "Сайтът е одобрен успешно",
|
||||||
|
"siteApproveError": "Грешка при одобряването на сайта",
|
||||||
|
"provisioningKeys": "Ключове за осигуряване",
|
||||||
|
"searchProvisioningKeys": "Търсене на ключове за осигуряване...",
|
||||||
|
"provisioningKeysAdd": "Генериране на ключ за осигуряване",
|
||||||
|
"provisioningKeysErrorDelete": "Грешка при изтриване на ключ за осигуряване",
|
||||||
|
"provisioningKeysErrorDeleteMessage": "Грешка при изтриване на ключ за осигуряване",
|
||||||
|
"provisioningKeysQuestionRemove": "Сигурни ли сте, че искате да премахнете този ключ за осигуряване от организацията?",
|
||||||
|
"provisioningKeysMessageRemove": "След като бъде премахнат, ключът няма да бъде използван за осигуряване на сайтове.",
|
||||||
|
"provisioningKeysDeleteConfirm": "Потвърдете изтриването на ключ за осигуряване",
|
||||||
|
"provisioningKeysDelete": "Изтриване на ключ за осигуряване",
|
||||||
|
"provisioningKeysCreate": "Генериране на ключ за осигуряване",
|
||||||
|
"provisioningKeysCreateDescription": "Генерирайте нов ключ за осигуряване за организацията",
|
||||||
|
"provisioningKeysSeeAll": "Вижте всички ключове за осигуряване",
|
||||||
|
"provisioningKeysSave": "Запазете ключа за осигуряване",
|
||||||
|
"provisioningKeysSaveDescription": "Ще можете да видите това само веднъж. Копирайте го на сигурно място.",
|
||||||
|
"provisioningKeysErrorCreate": "Грешка при създаване на ключ за осигуряване",
|
||||||
|
"provisioningKeysList": "Нов ключ за осигуряване",
|
||||||
|
"provisioningKeysMaxBatchSize": "Максимален размер на пакет",
|
||||||
|
"provisioningKeysUnlimitedBatchSize": "Неограничен размер на партида (без лимит)",
|
||||||
|
"provisioningKeysMaxBatchUnlimited": "Неограничено",
|
||||||
|
"provisioningKeysMaxBatchSizeInvalid": "Въведете валиден максимален размер на партида (1–1,000,000).",
|
||||||
|
"provisioningKeysValidUntil": "Валиден до",
|
||||||
|
"provisioningKeysValidUntilHint": "Оставете празно за неограничено валидност.",
|
||||||
|
"provisioningKeysValidUntilInvalid": "Въведете валидна дата и час.",
|
||||||
|
"provisioningKeysNumUsed": "Брой използвания",
|
||||||
|
"provisioningKeysLastUsed": "Последно използван",
|
||||||
|
"provisioningKeysNoExpiry": "Без изтичане",
|
||||||
|
"provisioningKeysNeverUsed": "Никога",
|
||||||
|
"provisioningKeysEdit": "Редактиране на ключ за осигуряване",
|
||||||
|
"provisioningKeysEditDescription": "Актуализирайте максималния размер на партида и времето на изтичане за този ключ.",
|
||||||
|
"provisioningKeysApproveNewSites": "Одобрете нови сайтове",
|
||||||
|
"provisioningKeysApproveNewSitesDescription": "Автоматично одобряване на сайтове, които се регистрират с този ключ.",
|
||||||
|
"provisioningKeysUpdateError": "Грешка при актуализирането на ключа за осигуряване",
|
||||||
|
"provisioningKeysUpdated": "Ключът за осигуряване е актуализиран",
|
||||||
|
"provisioningKeysUpdatedDescription": "Вашите промени бяха запазени.",
|
||||||
|
"provisioningKeysBannerTitle": "Ключове за осигуряване на сайта",
|
||||||
|
"provisioningKeysBannerDescription": "Генерирайте ключ за осигуряване и го използвайте с Newt конектора за автоматично създаване на сайтове при първото стартиране — няма нужда от създаване на отделни идентификационни данни за всеки сайт.",
|
||||||
|
"provisioningKeysBannerButtonText": "Научете повече",
|
||||||
|
"pendingSitesBannerTitle": "Чакащи сайтове",
|
||||||
|
"pendingSitesBannerDescription": "Сайтовете, които се свързват чрез ключ за осигуряване, се появяват тук за преглед. Одобрете всеки сайт, преди да стане активен и да получи достъп до вашите ресурси.",
|
||||||
|
"pendingSitesBannerButtonText": "Научете повече",
|
||||||
"apiKeysSettings": "Настройки на {apiKeyName}",
|
"apiKeysSettings": "Настройки на {apiKeyName}",
|
||||||
"userTitle": "Управление на всички потребители",
|
"userTitle": "Управление на всички потребители",
|
||||||
"userDescription": "Преглед и управление на всички потребители в системата",
|
"userDescription": "Преглед и управление на всички потребители в системата",
|
||||||
@@ -509,9 +562,12 @@
|
|||||||
"userSaved": "Потребителят е запазен",
|
"userSaved": "Потребителят е запазен",
|
||||||
"userSavedDescription": "Потребителят беше актуализиран.",
|
"userSavedDescription": "Потребителят беше актуализиран.",
|
||||||
"autoProvisioned": "Автоматично предоставено",
|
"autoProvisioned": "Автоматично предоставено",
|
||||||
|
"autoProvisionSettings": "Настройки за автоматично осигуряване",
|
||||||
"autoProvisionedDescription": "Позволете този потребител да бъде автоматично управляван от доставчик на идентификационни данни",
|
"autoProvisionedDescription": "Позволете този потребител да бъде автоматично управляван от доставчик на идентификационни данни",
|
||||||
"accessControlsDescription": "Управлявайте какво може да достъпва и прави този потребител в организацията",
|
"accessControlsDescription": "Управлявайте какво може да достъпва и прави този потребител в организацията",
|
||||||
"accessControlsSubmit": "Запазване на контролите за достъп",
|
"accessControlsSubmit": "Запазване на контролите за достъп",
|
||||||
|
"singleRolePerUserPlanNotice": "Вашият план поддържа само една роля на потребител.",
|
||||||
|
"singleRolePerUserEditionNotice": "Това издание поддържа само една роля на потребител.",
|
||||||
"roles": "Роли",
|
"roles": "Роли",
|
||||||
"accessUsersRoles": "Управление на потребители и роли",
|
"accessUsersRoles": "Управление на потребители и роли",
|
||||||
"accessUsersRolesDescription": "Поканете потребители и ги добавете към роли, за да управлявате достъпа до организацията",
|
"accessUsersRolesDescription": "Поканете потребители и ги добавете към роли, за да управлявате достъпа до организацията",
|
||||||
@@ -1119,6 +1175,7 @@
|
|||||||
"setupTokenDescription": "Въведете конфигурационния токен от сървърната конзола.",
|
"setupTokenDescription": "Въведете конфигурационния токен от сървърната конзола.",
|
||||||
"setupTokenRequired": "Необходим е конфигурационен токен",
|
"setupTokenRequired": "Необходим е конфигурационен токен",
|
||||||
"actionUpdateSite": "Актуализиране на сайт",
|
"actionUpdateSite": "Актуализиране на сайт",
|
||||||
|
"actionResetSiteBandwidth": "Нулиране на честотната лента на организацията",
|
||||||
"actionListSiteRoles": "Изброяване на позволените роли за сайта",
|
"actionListSiteRoles": "Изброяване на позволените роли за сайта",
|
||||||
"actionCreateResource": "Създаване на ресурс",
|
"actionCreateResource": "Създаване на ресурс",
|
||||||
"actionDeleteResource": "Изтриване на ресурс",
|
"actionDeleteResource": "Изтриване на ресурс",
|
||||||
@@ -1148,7 +1205,7 @@
|
|||||||
"actionRemoveUser": "Изтрийте потребител",
|
"actionRemoveUser": "Изтрийте потребител",
|
||||||
"actionListUsers": "Изброяване на потребители",
|
"actionListUsers": "Изброяване на потребители",
|
||||||
"actionAddUserRole": "Добавяне на роля на потребител",
|
"actionAddUserRole": "Добавяне на роля на потребител",
|
||||||
"actionSetUserOrgRoles": "Set User Roles",
|
"actionSetUserOrgRoles": "Задайте роли на потребители",
|
||||||
"actionGenerateAccessToken": "Генериране на токен за достъп",
|
"actionGenerateAccessToken": "Генериране на токен за достъп",
|
||||||
"actionDeleteAccessToken": "Изтриване на токен за достъп",
|
"actionDeleteAccessToken": "Изтриване на токен за достъп",
|
||||||
"actionListAccessTokens": "Изброяване на токени за достъп",
|
"actionListAccessTokens": "Изброяване на токени за достъп",
|
||||||
@@ -1265,6 +1322,7 @@
|
|||||||
"sidebarRoles": "Роли",
|
"sidebarRoles": "Роли",
|
||||||
"sidebarShareableLinks": "Връзки",
|
"sidebarShareableLinks": "Връзки",
|
||||||
"sidebarApiKeys": "API ключове",
|
"sidebarApiKeys": "API ключове",
|
||||||
|
"sidebarProvisioning": "Осигуряване",
|
||||||
"sidebarSettings": "Настройки",
|
"sidebarSettings": "Настройки",
|
||||||
"sidebarAllUsers": "Всички потребители",
|
"sidebarAllUsers": "Всички потребители",
|
||||||
"sidebarIdentityProviders": "Идентификационни доставчици",
|
"sidebarIdentityProviders": "Идентификационни доставчици",
|
||||||
@@ -1890,6 +1948,40 @@
|
|||||||
"exitNode": "Изходен възел",
|
"exitNode": "Изходен възел",
|
||||||
"country": "Държава",
|
"country": "Държава",
|
||||||
"rulesMatchCountry": "Понастоящем на базата на изходния IP",
|
"rulesMatchCountry": "Понастоящем на базата на изходния IP",
|
||||||
|
"region": "Регион",
|
||||||
|
"selectRegion": "Изберете регион",
|
||||||
|
"searchRegions": "Търсене на региони...",
|
||||||
|
"noRegionFound": "Регионът не е намерен.",
|
||||||
|
"rulesMatchRegion": "Изберете регионална групировка на държави",
|
||||||
|
"rulesErrorInvalidRegion": "Невалиден регион",
|
||||||
|
"rulesErrorInvalidRegionDescription": "Моля, изберете валиден регион.",
|
||||||
|
"regionAfrica": "Африка",
|
||||||
|
"regionNorthernAfrica": "Северна Африка",
|
||||||
|
"regionEasternAfrica": "Източна Африка",
|
||||||
|
"regionMiddleAfrica": "Централна Африка",
|
||||||
|
"regionSouthernAfrica": "Южна Африка",
|
||||||
|
"regionWesternAfrica": "Западна Африка",
|
||||||
|
"regionAmericas": "Америките",
|
||||||
|
"regionCaribbean": "Карибите",
|
||||||
|
"regionCentralAmerica": "Централна Америка",
|
||||||
|
"regionSouthAmerica": "Южна Америка",
|
||||||
|
"regionNorthernAmerica": "Северна Америка",
|
||||||
|
"regionAsia": "Азия",
|
||||||
|
"regionCentralAsia": "Централна Азия",
|
||||||
|
"regionEasternAsia": "Източна Азия",
|
||||||
|
"regionSouthEasternAsia": "Югоизточна Азия",
|
||||||
|
"regionSouthernAsia": "Южна Азия",
|
||||||
|
"regionWesternAsia": "Западна Азия",
|
||||||
|
"regionEurope": "Европа",
|
||||||
|
"regionEasternEurope": "Източна Европа",
|
||||||
|
"regionNorthernEurope": "Северна Европа",
|
||||||
|
"regionSouthernEurope": "Южна Европа",
|
||||||
|
"regionWesternEurope": "Западна Европа",
|
||||||
|
"regionOceania": "Океания",
|
||||||
|
"regionAustraliaAndNewZealand": "Австралия и Нова Зеландия",
|
||||||
|
"regionMelanesia": "Меланезия",
|
||||||
|
"regionMicronesia": "Микронезия",
|
||||||
|
"regionPolynesia": "Полинезия",
|
||||||
"managedSelfHosted": {
|
"managedSelfHosted": {
|
||||||
"title": "Управлявано Самостоятелно-хоствано",
|
"title": "Управлявано Самостоятелно-хоствано",
|
||||||
"description": "По-надежден и по-нисък поддръжка на Самостоятелно-хостван Панголиин сървър с допълнителни екстри",
|
"description": "По-надежден и по-нисък поддръжка на Самостоятелно-хостван Панголиин сървър с допълнителни екстри",
|
||||||
@@ -1938,6 +2030,25 @@
|
|||||||
"invalidValue": "Невалидна стойност",
|
"invalidValue": "Невалидна стойност",
|
||||||
"idpTypeLabel": "Тип на доставчика на идентичност",
|
"idpTypeLabel": "Тип на доставчика на идентичност",
|
||||||
"roleMappingExpressionPlaceholder": "напр.: contains(groups, 'admin') && 'Admin' || 'Member'",
|
"roleMappingExpressionPlaceholder": "напр.: contains(groups, 'admin') && 'Admin' || 'Member'",
|
||||||
|
"roleMappingModeFixedRoles": "Фиксирани роли",
|
||||||
|
"roleMappingModeMappingBuilder": "Строител на карти",
|
||||||
|
"roleMappingModeRawExpression": "Необработено израз",
|
||||||
|
"roleMappingFixedRolesPlaceholderSelect": "Изберете една или повече роли",
|
||||||
|
"roleMappingFixedRolesPlaceholderFreeform": "Въведете имена на роли (точно съвпадение на организацията)",
|
||||||
|
"roleMappingFixedRolesDescriptionSameForAll": "Присвойте същият набор от роли на всеки автоматично осигурен потребител.",
|
||||||
|
"roleMappingFixedRolesDescriptionDefaultPolicy": "За стандартните политики въведете имена на роли, които съществуват във всяка организация, където е осигурен потребител. Имената трябва да съвпадат точно.",
|
||||||
|
"roleMappingClaimPath": "Път на иск",
|
||||||
|
"roleMappingClaimPathPlaceholder": "групи",
|
||||||
|
"roleMappingClaimPathDescription": "Път в съдържанието на маркера, който съдържа изходни стойности (например групи).",
|
||||||
|
"roleMappingMatchValue": "Съвпадение на стойност",
|
||||||
|
"roleMappingAssignRoles": "Присвояване на роли",
|
||||||
|
"roleMappingAddMappingRule": "Добавяне на правило за картироване",
|
||||||
|
"roleMappingRawExpressionResultDescription": "Изразът трябва да бъде оценен на низ или масив от низове.",
|
||||||
|
"roleMappingRawExpressionResultDescriptionSingleRole": "Изразът трябва да бъде оценен на низ (едно име на роля).",
|
||||||
|
"roleMappingMatchValuePlaceholder": "Съвпадение на стойност (например: администратор)",
|
||||||
|
"roleMappingAssignRolesPlaceholderFreeform": "Въведете имена на роли (точно по организация)",
|
||||||
|
"roleMappingBuilderFreeformRowHint": "Имената на ролите трябва да съвпадат с роля във всяка целева организация.",
|
||||||
|
"roleMappingRemoveRule": "Премахни",
|
||||||
"idpGoogleConfiguration": "Конфигурация на Google",
|
"idpGoogleConfiguration": "Конфигурация на Google",
|
||||||
"idpGoogleConfigurationDescription": "Конфигурирайте Google OAuth2 идентификационни данни",
|
"idpGoogleConfigurationDescription": "Конфигурирайте Google OAuth2 идентификационни данни",
|
||||||
"idpGoogleClientIdDescription": "Google OAuth2 идентификационен клиент",
|
"idpGoogleClientIdDescription": "Google OAuth2 идентификационен клиент",
|
||||||
@@ -2334,6 +2445,8 @@
|
|||||||
"logRetentionAccessDescription": "Колко дълго да се задържат логовете за достъп",
|
"logRetentionAccessDescription": "Колко дълго да се задържат логовете за достъп",
|
||||||
"logRetentionActionLabel": "Задържане на логове за действия",
|
"logRetentionActionLabel": "Задържане на логове за действия",
|
||||||
"logRetentionActionDescription": "Колко дълго да се задържат логовете за действия",
|
"logRetentionActionDescription": "Колко дълго да се задържат логовете за действия",
|
||||||
|
"logRetentionConnectionLabel": "Запазване на дневниците на връзките",
|
||||||
|
"logRetentionConnectionDescription": "Колко дълго да се съхраняват дневниците на връзките",
|
||||||
"logRetentionDisabled": "Деактивирано",
|
"logRetentionDisabled": "Деактивирано",
|
||||||
"logRetention3Days": "3 дни",
|
"logRetention3Days": "3 дни",
|
||||||
"logRetention7Days": "7 дни",
|
"logRetention7Days": "7 дни",
|
||||||
@@ -2344,6 +2457,13 @@
|
|||||||
"logRetentionEndOfFollowingYear": "Край на следващата година",
|
"logRetentionEndOfFollowingYear": "Край на следващата година",
|
||||||
"actionLogsDescription": "Прегледайте историята на действията, извършени в тази организация",
|
"actionLogsDescription": "Прегледайте историята на действията, извършени в тази организация",
|
||||||
"accessLogsDescription": "Прегледайте заявките за удостоверяване на достъпа до ресурсите в тази организация",
|
"accessLogsDescription": "Прегледайте заявките за удостоверяване на достъпа до ресурсите в тази организация",
|
||||||
|
"connectionLogs": "Логове на връзката",
|
||||||
|
"connectionLogsDescription": "Вижте логовете на връзките за тунелите в тази организация",
|
||||||
|
"sidebarLogsConnection": "Логове на връзката",
|
||||||
|
"sidebarLogsStreaming": "Потоци",
|
||||||
|
"sourceAddress": "Източен адрес",
|
||||||
|
"destinationAddress": "Адрес на дестинация",
|
||||||
|
"duration": "Продължителност",
|
||||||
"licenseRequiredToUse": "Изисква се лиценз за <enterpriseLicenseLink>Enterprise Edition</enterpriseLicenseLink> или <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink> за използване на тази функция. <bookADemoLink>Резервирайте демонстрация или пробен POC</bookADemoLink>.",
|
"licenseRequiredToUse": "Изисква се лиценз за <enterpriseLicenseLink>Enterprise Edition</enterpriseLicenseLink> или <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink> за използване на тази функция. <bookADemoLink>Резервирайте демонстрация или пробен POC</bookADemoLink>.",
|
||||||
"ossEnterpriseEditionRequired": "<enterpriseEditionLink>Enterprise Edition</enterpriseEditionLink> е необходим за използване на тази функция. Тази функция също е налична в <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>. <bookADemoLink>Резервирайте демонстрация или пробен POC</bookADemoLink>.",
|
"ossEnterpriseEditionRequired": "<enterpriseEditionLink>Enterprise Edition</enterpriseEditionLink> е необходим за използване на тази функция. Тази функция също е налична в <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>. <bookADemoLink>Резервирайте демонстрация или пробен POC</bookADemoLink>.",
|
||||||
"certResolver": "Решавач на сертификати",
|
"certResolver": "Решавач на сертификати",
|
||||||
@@ -2683,5 +2803,90 @@
|
|||||||
"approvalsEmptyStateStep2Description": "Редактирайте ролята и активирайте опцията 'Изискване на одобрения за устройства'. Потребители с тази роля ще трябва администраторско одобрение за нови устройства.",
|
"approvalsEmptyStateStep2Description": "Редактирайте ролята и активирайте опцията 'Изискване на одобрения за устройства'. Потребители с тази роля ще трябва администраторско одобрение за нови устройства.",
|
||||||
"approvalsEmptyStatePreviewDescription": "Преглед: Когато е активирано, чакащите заявки за устройства ще се появят тук за преглед",
|
"approvalsEmptyStatePreviewDescription": "Преглед: Когато е активирано, чакащите заявки за устройства ще се появят тук за преглед",
|
||||||
"approvalsEmptyStateButtonText": "Управлявайте роли",
|
"approvalsEmptyStateButtonText": "Управлявайте роли",
|
||||||
"domainErrorTitle": "Имаме проблем с проверката на вашия домейн"
|
"domainErrorTitle": "Имаме проблем с проверката на вашия домейн",
|
||||||
|
"idpAdminAutoProvisionPoliciesTabHint": "Конфигурирайте картографирането на ролите и организационните политики на раздела <policiesTabLink>Настройки за автоматично осигуряване</policiesTabLink>.",
|
||||||
|
"streamingTitle": "Събитийни потоци",
|
||||||
|
"streamingDescription": "Предавайте събития от вашата организация до външни дестинации в реално време.",
|
||||||
|
"streamingUnnamedDestination": "Неименувана дестинация",
|
||||||
|
"streamingNoUrlConfigured": "Не е конфигуриран URL",
|
||||||
|
"streamingAddDestination": "Добавяне на дестинация",
|
||||||
|
"streamingHttpWebhookTitle": "HTTP Уеб хук",
|
||||||
|
"streamingHttpWebhookDescription": "Изпратете събития до всяка HTTP крайна точка с гъвкаво удостоверяване и шаблониране.",
|
||||||
|
"streamingS3Title": "Amazon S3",
|
||||||
|
"streamingS3Description": "Предавайте събития на хранилище, съвместимо с S3. Очаквайте скоро.",
|
||||||
|
"streamingDatadogTitle": "Datadog",
|
||||||
|
"streamingDatadogDescription": "Пресочвайте събития директно към вашият акаунт в Datadog. Очаквайте скоро.",
|
||||||
|
"streamingTypePickerDescription": "Изберете вид на дестинацията, за да започнете.",
|
||||||
|
"streamingFailedToLoad": "Неуспешно зареждане на дестинации",
|
||||||
|
"streamingUnexpectedError": "Възникна неочаквана грешка.",
|
||||||
|
"streamingFailedToUpdate": "Неуспешно актуализиране на дестинация",
|
||||||
|
"streamingDeletedSuccess": "Дестинацията беше изтрита успешно",
|
||||||
|
"streamingFailedToDelete": "Неуспешно изтриване на дестинацията",
|
||||||
|
"streamingDeleteTitle": "Изтриване на дестинация",
|
||||||
|
"streamingDeleteButtonText": "Изтриване на дестинация",
|
||||||
|
"streamingDeleteDialogAreYouSure": "Сигурни ли сте, че искате да изтриете",
|
||||||
|
"streamingDeleteDialogThisDestination": "тази дестинация",
|
||||||
|
"streamingDeleteDialogPermanentlyRemoved": "? Всички конфигурации ще бъдат премахнати завинаги.",
|
||||||
|
"httpDestEditTitle": "Редактиране на дестинация",
|
||||||
|
"httpDestAddTitle": "Добавяне на HTTP дестинация",
|
||||||
|
"httpDestEditDescription": "Актуализирайте конфигурацията за този HTTP събитий.",
|
||||||
|
"httpDestAddDescription": "Конфигурирайте нов HTTP крайна точка, за да получавате събития на вашата организация.",
|
||||||
|
"httpDestTabSettings": "Настройки",
|
||||||
|
"httpDestTabHeaders": "Заглавки",
|
||||||
|
"httpDestTabBody": "Тяло",
|
||||||
|
"httpDestTabLogs": "Логове",
|
||||||
|
"httpDestNamePlaceholder": "Моята HTTP дестинация",
|
||||||
|
"httpDestUrlLabel": "Дестинация URL",
|
||||||
|
"httpDestUrlErrorHttpRequired": "URL адресът трябва да използва http или https",
|
||||||
|
"httpDestUrlErrorHttpsRequired": "SSL е необходимо за облачни инсталации",
|
||||||
|
"httpDestUrlErrorInvalid": "Въведете валиден URL (напр. https://example.com/webhook)",
|
||||||
|
"httpDestAuthTitle": "Удостоверяване",
|
||||||
|
"httpDestAuthDescription": "Изберете как заявленията ви се удостоверяват.",
|
||||||
|
"httpDestAuthNoneTitle": "Без удостоверяване",
|
||||||
|
"httpDestAuthNoneDescription": "Изпращане на заявки без заглавие за удостоверяване.",
|
||||||
|
"httpDestAuthBearerTitle": "Bearer Токен",
|
||||||
|
"httpDestAuthBearerDescription": "Добавя заглавие за удостоверяване Bearer <token> към всяка заявка.",
|
||||||
|
"httpDestAuthBearerPlaceholder": "Вашият API ключ или токен",
|
||||||
|
"httpDestAuthBasicTitle": "Основно удостоверяване",
|
||||||
|
"httpDestAuthBasicDescription": "Добавя заглавие за удостоверяване Basic <credentials> към всяка заявка. Осигурете идентификационни данни като потребителско име:парола.",
|
||||||
|
"httpDestAuthBasicPlaceholder": "потребителско име:парола",
|
||||||
|
"httpDestAuthCustomTitle": "Персонализирано заглавие",
|
||||||
|
"httpDestAuthCustomDescription": "Посочете персонализирано име и стойност на заглавието за удостоверяване (например X-API-Key).",
|
||||||
|
"httpDestAuthCustomHeaderNamePlaceholder": "Имя на заглавието (напр. X-API-Key)",
|
||||||
|
"httpDestAuthCustomHeaderValuePlaceholder": "Стойност на заглавието",
|
||||||
|
"httpDestCustomHeadersTitle": "Персонализирани заглавия за HTTP",
|
||||||
|
"httpDestCustomHeadersDescription": "Добавяне на персонализирани заглавия към всяка изходяща заявка. Полезно за статични токени или персонални Content-Type. По подразбиране се изпраща Content-Type: application/json.",
|
||||||
|
"httpDestNoHeadersConfigured": "Персонализирани заглавия не са конфигурирани. Кликнете \"Добавяне на заглавие\" да добавите такова.",
|
||||||
|
"httpDestHeaderNamePlaceholder": "Име на заглавието",
|
||||||
|
"httpDestHeaderValuePlaceholder": "Стойност на заглавието",
|
||||||
|
"httpDestAddHeader": "Добавяне на заглавие",
|
||||||
|
"httpDestBodyTemplateTitle": "Шаблон на персонализирано тяло",
|
||||||
|
"httpDestBodyTemplateDescription": "Управлявайте структурата на JSON съобщението, изпратено до вашата крайна точка. Ако е деактивирано, по подразбиране се изпраща JSON обект за всяко събитие.",
|
||||||
|
"httpDestEnableBodyTemplate": "Активиране на персонализиран шаблон на тяло",
|
||||||
|
"httpDestBodyTemplateLabel": "Шаблон за тяло (JSON)",
|
||||||
|
"httpDestBodyTemplateHint": "Използвайте шаблонни променливи за позоваване на полетата на събитията в съобщението си.",
|
||||||
|
"httpDestPayloadFormatTitle": "Формат на полезния товар",
|
||||||
|
"httpDestPayloadFormatDescription": "Как се сериализират събитията във всеки заявка.",
|
||||||
|
"httpDestFormatJsonArrayTitle": "JSON масив",
|
||||||
|
"httpDestFormatJsonArrayDescription": "Една заявка на партида, тялото е JSON масив. Съвместим с повечето общи уеб куки и Datadog.",
|
||||||
|
"httpDestFormatNdjsonTitle": "NDJSON",
|
||||||
|
"httpDestFormatNdjsonDescription": "Една заявка на партида, тялото е ново линии отделени JSON — един обект на ред, няма външен масив. Изисквано от Splunk HEC, Elastic / OpenSearch и Grafana.",
|
||||||
|
"httpDestFormatSingleTitle": "Едно събитие на заявка",
|
||||||
|
"httpDestFormatSingleDescription": "Изпращат се отделни HTTP POST за всяко индивидуално събитие. Използвайте само за крайни точки, които не могат да обработват партиди.",
|
||||||
|
"httpDestLogTypesTitle": "Видове логове",
|
||||||
|
"httpDestLogTypesDescription": "Изберете кои видове журнални записи ще се предават към тази дестинация. Предаването ще се прави само за активирани видове журнални записи.",
|
||||||
|
"httpDestAccessLogsTitle": "Логове за достъп",
|
||||||
|
"httpDestAccessLogsDescription": "Опити за достъп до ресурс, включително удостоверени и отказани заявки.",
|
||||||
|
"httpDestActionLogsTitle": "Логове на действия",
|
||||||
|
"httpDestActionLogsDescription": "Административни действия, извършени от потребители в организацията.",
|
||||||
|
"httpDestConnectionLogsTitle": "Логове на връзката",
|
||||||
|
"httpDestConnectionLogsDescription": "Събития на свързване и прекъсване на сайта и тунела, включително свръзки и прекъсвания.",
|
||||||
|
"httpDestRequestLogsTitle": "Заявки за логове",
|
||||||
|
"httpDestRequestLogsDescription": "Регистри за HTTP заявките към проксирани ресурси, включително метод, път и код на отговор.",
|
||||||
|
"httpDestSaveChanges": "Запази промените",
|
||||||
|
"httpDestCreateDestination": "Създаване на дестинация",
|
||||||
|
"httpDestUpdatedSuccess": "Дестинацията беше актуализирана успешно",
|
||||||
|
"httpDestCreatedSuccess": "Дестинацията беше създадена успешно",
|
||||||
|
"httpDestUpdateFailed": "Неуспешно актуализиране на дестинацията",
|
||||||
|
"httpDestCreateFailed": "Неуспешно създаване на дестинацията"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -148,6 +148,11 @@
|
|||||||
"createLink": "Vytvořit odkaz",
|
"createLink": "Vytvořit odkaz",
|
||||||
"resourcesNotFound": "Nebyly nalezeny žádné zdroje",
|
"resourcesNotFound": "Nebyly nalezeny žádné zdroje",
|
||||||
"resourceSearch": "Vyhledat zdroje",
|
"resourceSearch": "Vyhledat zdroje",
|
||||||
|
"machineSearch": "Vyhledávací stroje",
|
||||||
|
"machinesSearch": "Hledat klienty stroje...",
|
||||||
|
"machineNotFound": "Nebyly nalezeny žádné stroje",
|
||||||
|
"userDeviceSearch": "Hledat uživatelská zařízení",
|
||||||
|
"userDevicesSearch": "Hledat uživatelská zařízení...",
|
||||||
"openMenu": "Otevřít nabídku",
|
"openMenu": "Otevřít nabídku",
|
||||||
"resource": "Zdroj",
|
"resource": "Zdroj",
|
||||||
"title": "Název",
|
"title": "Název",
|
||||||
@@ -323,6 +328,54 @@
|
|||||||
"apiKeysDelete": "Odstranit klíč API",
|
"apiKeysDelete": "Odstranit klíč API",
|
||||||
"apiKeysManage": "Správa API klíčů",
|
"apiKeysManage": "Správa API klíčů",
|
||||||
"apiKeysDescription": "API klíče se používají k ověření s integračním API",
|
"apiKeysDescription": "API klíče se používají k ověření s integračním API",
|
||||||
|
"provisioningKeysTitle": "Zajišťovací klíč",
|
||||||
|
"provisioningKeysManage": "Spravovat zajišťovací klíče",
|
||||||
|
"provisioningKeysDescription": "Zajišťovací klíče slouží k ověření automatického poskytování služeb vaší organizaci.",
|
||||||
|
"provisioningManage": "Zajištění",
|
||||||
|
"provisioningDescription": "Spravovat klíče pro nastavení a zkontrolovat čekající stránky čekající na schválení.",
|
||||||
|
"pendingSites": "Nevyřízené weby",
|
||||||
|
"siteApproveSuccess": "Web byl úspěšně schválen",
|
||||||
|
"siteApproveError": "Chyba při schvalování webu",
|
||||||
|
"provisioningKeys": "Poskytovací klíče",
|
||||||
|
"searchProvisioningKeys": "Hledat klíče k zajišťování...",
|
||||||
|
"provisioningKeysAdd": "Generovat zajišťovací klíč",
|
||||||
|
"provisioningKeysErrorDelete": "Chyba při odstraňování klíče pro úpravu",
|
||||||
|
"provisioningKeysErrorDeleteMessage": "Chyba při odstraňování klíče pro úpravu",
|
||||||
|
"provisioningKeysQuestionRemove": "Jste si jisti, že chcete odstranit tento konfigurační klíč z organizace?",
|
||||||
|
"provisioningKeysMessageRemove": "Jakmile je klíč odstraněn, nelze již použít pro poskytování služeb.",
|
||||||
|
"provisioningKeysDeleteConfirm": "Potvrdit odstranění zajišťovacího klíče",
|
||||||
|
"provisioningKeysDelete": "Odstranit zajišťovací klíč",
|
||||||
|
"provisioningKeysCreate": "Generovat zajišťovací klíč",
|
||||||
|
"provisioningKeysCreateDescription": "Vygenerovat nový klíč pro organizaci",
|
||||||
|
"provisioningKeysSeeAll": "Zobrazit všechny doplňovací klíče",
|
||||||
|
"provisioningKeysSave": "Uložit konfigurační klíč",
|
||||||
|
"provisioningKeysSaveDescription": "Toto můžete vidět pouze jednou. Zkopírujte ho na bezpečné místo.",
|
||||||
|
"provisioningKeysErrorCreate": "Chyba při vytváření doplňovacího klíče",
|
||||||
|
"provisioningKeysList": "Nový klíč pro poskytování informací",
|
||||||
|
"provisioningKeysMaxBatchSize": "Maximální velikost dávky",
|
||||||
|
"provisioningKeysUnlimitedBatchSize": "Neomezená velikost šarže (bez omezení)",
|
||||||
|
"provisioningKeysMaxBatchUnlimited": "Bez omezení",
|
||||||
|
"provisioningKeysMaxBatchSizeInvalid": "Zadejte platnou maximální velikost šarže (1–1,000,000).",
|
||||||
|
"provisioningKeysValidUntil": "Platné do",
|
||||||
|
"provisioningKeysValidUntilHint": "Ponechte prázdné, pokud vyprší platnost.",
|
||||||
|
"provisioningKeysValidUntilInvalid": "Zadejte platné datum a čas.",
|
||||||
|
"provisioningKeysNumUsed": "Časy použití",
|
||||||
|
"provisioningKeysLastUsed": "Naposledy použito",
|
||||||
|
"provisioningKeysNoExpiry": "Bez vypršení platnosti",
|
||||||
|
"provisioningKeysNeverUsed": "Nikdy",
|
||||||
|
"provisioningKeysEdit": "Upravit zajišťovací klíč",
|
||||||
|
"provisioningKeysEditDescription": "Aktualizujte maximální velikost dávky a dobu vypršení platnosti tohoto klíče.",
|
||||||
|
"provisioningKeysApproveNewSites": "Schválit nové stránky",
|
||||||
|
"provisioningKeysApproveNewSitesDescription": "Automaticky schvalovat weby, které se registrují pomocí tohoto klíče.",
|
||||||
|
"provisioningKeysUpdateError": "Chyba při aktualizaci klíče",
|
||||||
|
"provisioningKeysUpdated": "Zajišťovací klíč byl aktualizován",
|
||||||
|
"provisioningKeysUpdatedDescription": "Vaše změny byly uloženy.",
|
||||||
|
"provisioningKeysBannerTitle": "Klíče pro poskytování webu",
|
||||||
|
"provisioningKeysBannerDescription": "Vygenerujte konfigurační klíč a používejte jej pomocí nového konektoru k automatickému vytváření stránek při prvním startu – není třeba nastavovat samostatné přihlašovací údaje pro každý web.",
|
||||||
|
"provisioningKeysBannerButtonText": "Zjistit více",
|
||||||
|
"pendingSitesBannerTitle": "Nevyřízené weby",
|
||||||
|
"pendingSitesBannerDescription": "Zde se zobrazují stránky, které se připojují pomocí doplňovacího klíče. Schválte každý web předtím, než bude aktivní, a získejte přístup k vašim zdrojům.",
|
||||||
|
"pendingSitesBannerButtonText": "Zjistit více",
|
||||||
"apiKeysSettings": "Nastavení {apiKeyName}",
|
"apiKeysSettings": "Nastavení {apiKeyName}",
|
||||||
"userTitle": "Spravovat všechny uživatele",
|
"userTitle": "Spravovat všechny uživatele",
|
||||||
"userDescription": "Zobrazit a spravovat všechny uživatele v systému",
|
"userDescription": "Zobrazit a spravovat všechny uživatele v systému",
|
||||||
@@ -509,9 +562,12 @@
|
|||||||
"userSaved": "Uživatel uložen",
|
"userSaved": "Uživatel uložen",
|
||||||
"userSavedDescription": "Uživatel byl aktualizován.",
|
"userSavedDescription": "Uživatel byl aktualizován.",
|
||||||
"autoProvisioned": "Automaticky poskytnuto",
|
"autoProvisioned": "Automaticky poskytnuto",
|
||||||
|
"autoProvisionSettings": "Automatická nastavení",
|
||||||
"autoProvisionedDescription": "Povolit tomuto uživateli automaticky spravovat poskytovatel identity",
|
"autoProvisionedDescription": "Povolit tomuto uživateli automaticky spravovat poskytovatel identity",
|
||||||
"accessControlsDescription": "Spravovat co může tento uživatel přistupovat a dělat v organizaci",
|
"accessControlsDescription": "Spravovat co může tento uživatel přistupovat a dělat v organizaci",
|
||||||
"accessControlsSubmit": "Uložit kontroly přístupu",
|
"accessControlsSubmit": "Uložit kontroly přístupu",
|
||||||
|
"singleRolePerUserPlanNotice": "Váš plán podporuje pouze jednu roli na uživatele.",
|
||||||
|
"singleRolePerUserEditionNotice": "Tato verze podporuje pouze jednu roli na uživatele.",
|
||||||
"roles": "Role",
|
"roles": "Role",
|
||||||
"accessUsersRoles": "Spravovat uživatele a role",
|
"accessUsersRoles": "Spravovat uživatele a role",
|
||||||
"accessUsersRolesDescription": "Pozvěte uživatele a přidejte je do rolí pro správu přístupu k organizaci",
|
"accessUsersRolesDescription": "Pozvěte uživatele a přidejte je do rolí pro správu přístupu k organizaci",
|
||||||
@@ -1119,6 +1175,7 @@
|
|||||||
"setupTokenDescription": "Zadejte nastavovací token z konzole serveru.",
|
"setupTokenDescription": "Zadejte nastavovací token z konzole serveru.",
|
||||||
"setupTokenRequired": "Je vyžadován token nastavení",
|
"setupTokenRequired": "Je vyžadován token nastavení",
|
||||||
"actionUpdateSite": "Aktualizovat stránku",
|
"actionUpdateSite": "Aktualizovat stránku",
|
||||||
|
"actionResetSiteBandwidth": "Resetovat šířku pásma organizace",
|
||||||
"actionListSiteRoles": "Seznam povolených rolí webu",
|
"actionListSiteRoles": "Seznam povolených rolí webu",
|
||||||
"actionCreateResource": "Vytvořit zdroj",
|
"actionCreateResource": "Vytvořit zdroj",
|
||||||
"actionDeleteResource": "Odstranit dokument",
|
"actionDeleteResource": "Odstranit dokument",
|
||||||
@@ -1148,7 +1205,7 @@
|
|||||||
"actionRemoveUser": "Odstranit uživatele",
|
"actionRemoveUser": "Odstranit uživatele",
|
||||||
"actionListUsers": "Seznam uživatelů",
|
"actionListUsers": "Seznam uživatelů",
|
||||||
"actionAddUserRole": "Přidat uživatelskou roli",
|
"actionAddUserRole": "Přidat uživatelskou roli",
|
||||||
"actionSetUserOrgRoles": "Set User Roles",
|
"actionSetUserOrgRoles": "Nastavit uživatelské role",
|
||||||
"actionGenerateAccessToken": "Generovat přístupový token",
|
"actionGenerateAccessToken": "Generovat přístupový token",
|
||||||
"actionDeleteAccessToken": "Odstranit přístupový token",
|
"actionDeleteAccessToken": "Odstranit přístupový token",
|
||||||
"actionListAccessTokens": "Seznam přístupových tokenů",
|
"actionListAccessTokens": "Seznam přístupových tokenů",
|
||||||
@@ -1265,6 +1322,7 @@
|
|||||||
"sidebarRoles": "Role",
|
"sidebarRoles": "Role",
|
||||||
"sidebarShareableLinks": "Odkazy",
|
"sidebarShareableLinks": "Odkazy",
|
||||||
"sidebarApiKeys": "API klíče",
|
"sidebarApiKeys": "API klíče",
|
||||||
|
"sidebarProvisioning": "Zajištění",
|
||||||
"sidebarSettings": "Nastavení",
|
"sidebarSettings": "Nastavení",
|
||||||
"sidebarAllUsers": "Všichni uživatelé",
|
"sidebarAllUsers": "Všichni uživatelé",
|
||||||
"sidebarIdentityProviders": "Poskytovatelé identity",
|
"sidebarIdentityProviders": "Poskytovatelé identity",
|
||||||
@@ -1890,6 +1948,40 @@
|
|||||||
"exitNode": "Ukončit uzel",
|
"exitNode": "Ukončit uzel",
|
||||||
"country": "L 343, 22.12.2009, s. 1).",
|
"country": "L 343, 22.12.2009, s. 1).",
|
||||||
"rulesMatchCountry": "Aktuálně založené na zdrojové IP adrese",
|
"rulesMatchCountry": "Aktuálně založené na zdrojové IP adrese",
|
||||||
|
"region": "Oblasti",
|
||||||
|
"selectRegion": "Vyberte region",
|
||||||
|
"searchRegions": "Hledat regiony...",
|
||||||
|
"noRegionFound": "Nebyl nalezen žádný region.",
|
||||||
|
"rulesMatchRegion": "Vyberte regionální seskupení zemí",
|
||||||
|
"rulesErrorInvalidRegion": "Neplatný region",
|
||||||
|
"rulesErrorInvalidRegionDescription": "Vyberte prosím platný region.",
|
||||||
|
"regionAfrica": "Afrika",
|
||||||
|
"regionNorthernAfrica": "Severní Afrika",
|
||||||
|
"regionEasternAfrica": "Východní Afrika",
|
||||||
|
"regionMiddleAfrica": "Střední Afrika",
|
||||||
|
"regionSouthernAfrica": "Jižní Afrika",
|
||||||
|
"regionWesternAfrica": "Západní Afrika",
|
||||||
|
"regionAmericas": "Ameriky",
|
||||||
|
"regionCaribbean": "Karibské",
|
||||||
|
"regionCentralAmerica": "Střední Amerika",
|
||||||
|
"regionSouthAmerica": "Jižní Amerika",
|
||||||
|
"regionNorthernAmerica": "Severní Amerika",
|
||||||
|
"regionAsia": "Asie",
|
||||||
|
"regionCentralAsia": "Střední Asie",
|
||||||
|
"regionEasternAsia": "Východní Asie",
|
||||||
|
"regionSouthEasternAsia": "jihovýchodní Asie",
|
||||||
|
"regionSouthernAsia": "Jižní Asie",
|
||||||
|
"regionWesternAsia": "Západní Asie",
|
||||||
|
"regionEurope": "L 347, 20.12.2013, s. 965).",
|
||||||
|
"regionEasternEurope": "Východní Evropa",
|
||||||
|
"regionNorthernEurope": "Severní Evropa",
|
||||||
|
"regionSouthernEurope": "Jižní Evropa",
|
||||||
|
"regionWesternEurope": "Západní Evropa",
|
||||||
|
"regionOceania": "Oceania",
|
||||||
|
"regionAustraliaAndNewZealand": "Austrálie a Nový Zéland",
|
||||||
|
"regionMelanesia": "Melanesia",
|
||||||
|
"regionMicronesia": "Micronesia",
|
||||||
|
"regionPolynesia": "Polynesia",
|
||||||
"managedSelfHosted": {
|
"managedSelfHosted": {
|
||||||
"title": "Spravované vlastní hostování",
|
"title": "Spravované vlastní hostování",
|
||||||
"description": "Spolehlivější a nízko udržovaný Pangolinův server s dalšími zvony a bičkami",
|
"description": "Spolehlivější a nízko udržovaný Pangolinův server s dalšími zvony a bičkami",
|
||||||
@@ -1938,6 +2030,25 @@
|
|||||||
"invalidValue": "Neplatná hodnota",
|
"invalidValue": "Neplatná hodnota",
|
||||||
"idpTypeLabel": "Typ poskytovatele identity",
|
"idpTypeLabel": "Typ poskytovatele identity",
|
||||||
"roleMappingExpressionPlaceholder": "např. obsahuje(skupiny, 'admin') && 'Admin' || 'Member'",
|
"roleMappingExpressionPlaceholder": "např. obsahuje(skupiny, 'admin') && 'Admin' || 'Member'",
|
||||||
|
"roleMappingModeFixedRoles": "Pevné role",
|
||||||
|
"roleMappingModeMappingBuilder": "Tvorba mapování",
|
||||||
|
"roleMappingModeRawExpression": "Surový výraz",
|
||||||
|
"roleMappingFixedRolesPlaceholderSelect": "Vyberte jednu nebo více rolí",
|
||||||
|
"roleMappingFixedRolesPlaceholderFreeform": "Napište názvy rolí (shoda podle organizace)",
|
||||||
|
"roleMappingFixedRolesDescriptionSameForAll": "Přiřadit stejnou roli nastavenou každému uživateli automatického poskytování.",
|
||||||
|
"roleMappingFixedRolesDescriptionDefaultPolicy": "Pro výchozí zásady zadejte názvy rolí, které existují v každé organizaci, kde jsou uživatelé poskytováni. Jména musí přesně odpovídat.",
|
||||||
|
"roleMappingClaimPath": "Cesta k žádosti",
|
||||||
|
"roleMappingClaimPathPlaceholder": "skupiny",
|
||||||
|
"roleMappingClaimPathDescription": "Cesta k užitečnému zatížení tokenu, která obsahuje zdrojové hodnoty (například skupiny).",
|
||||||
|
"roleMappingMatchValue": "Hodnota zápasu",
|
||||||
|
"roleMappingAssignRoles": "Přiřadit role",
|
||||||
|
"roleMappingAddMappingRule": "Přidat pravidlo pro mapování",
|
||||||
|
"roleMappingRawExpressionResultDescription": "Výraz se musí vyhodnotit do pole řetězce nebo řetězce.",
|
||||||
|
"roleMappingRawExpressionResultDescriptionSingleRole": "Výraz musí být vyhodnocen na řetězec (jediný název role).",
|
||||||
|
"roleMappingMatchValuePlaceholder": "Hodnota zápasu (například: admin)",
|
||||||
|
"roleMappingAssignRolesPlaceholderFreeform": "Napište názvy rolí (exact per org)",
|
||||||
|
"roleMappingBuilderFreeformRowHint": "Názvy rolí musí odpovídat roli v každé cílové organizaci.",
|
||||||
|
"roleMappingRemoveRule": "Odstranit",
|
||||||
"idpGoogleConfiguration": "Konfigurace Google",
|
"idpGoogleConfiguration": "Konfigurace Google",
|
||||||
"idpGoogleConfigurationDescription": "Konfigurace přihlašovacích údajů Google OAuth2",
|
"idpGoogleConfigurationDescription": "Konfigurace přihlašovacích údajů Google OAuth2",
|
||||||
"idpGoogleClientIdDescription": "Google OAuth2 Client ID",
|
"idpGoogleClientIdDescription": "Google OAuth2 Client ID",
|
||||||
@@ -2334,6 +2445,8 @@
|
|||||||
"logRetentionAccessDescription": "Jak dlouho uchovávat přístupové záznamy",
|
"logRetentionAccessDescription": "Jak dlouho uchovávat přístupové záznamy",
|
||||||
"logRetentionActionLabel": "Uchovávání protokolu akcí",
|
"logRetentionActionLabel": "Uchovávání protokolu akcí",
|
||||||
"logRetentionActionDescription": "Jak dlouho uchovávat záznamy akcí",
|
"logRetentionActionDescription": "Jak dlouho uchovávat záznamy akcí",
|
||||||
|
"logRetentionConnectionLabel": "Uchovávání protokolu připojení",
|
||||||
|
"logRetentionConnectionDescription": "Jak dlouho uchovávat protokoly připojení",
|
||||||
"logRetentionDisabled": "Zakázáno",
|
"logRetentionDisabled": "Zakázáno",
|
||||||
"logRetention3Days": "3 dny",
|
"logRetention3Days": "3 dny",
|
||||||
"logRetention7Days": "7 dní",
|
"logRetention7Days": "7 dní",
|
||||||
@@ -2344,6 +2457,13 @@
|
|||||||
"logRetentionEndOfFollowingYear": "Konec následujícího roku",
|
"logRetentionEndOfFollowingYear": "Konec následujícího roku",
|
||||||
"actionLogsDescription": "Zobrazit historii akcí provedených v této organizaci",
|
"actionLogsDescription": "Zobrazit historii akcí provedených v této organizaci",
|
||||||
"accessLogsDescription": "Zobrazit žádosti o ověření přístupu pro zdroje v této organizaci",
|
"accessLogsDescription": "Zobrazit žádosti o ověření přístupu pro zdroje v této organizaci",
|
||||||
|
"connectionLogs": "Protokoly připojení",
|
||||||
|
"connectionLogsDescription": "Zobrazit protokoly připojení pro tunely v této organizaci",
|
||||||
|
"sidebarLogsConnection": "Protokoly připojení",
|
||||||
|
"sidebarLogsStreaming": "Streamování",
|
||||||
|
"sourceAddress": "Zdrojová adresa",
|
||||||
|
"destinationAddress": "Cílová adresa",
|
||||||
|
"duration": "Doba trvání",
|
||||||
"licenseRequiredToUse": "Pro použití této funkce je vyžadována licence <enterpriseLicenseLink>Enterprise Edition</enterpriseLicenseLink> nebo <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink> . <bookADemoLink>Zarezervujte si demo nebo POC zkušební verzi</bookADemoLink>.",
|
"licenseRequiredToUse": "Pro použití této funkce je vyžadována licence <enterpriseLicenseLink>Enterprise Edition</enterpriseLicenseLink> nebo <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink> . <bookADemoLink>Zarezervujte si demo nebo POC zkušební verzi</bookADemoLink>.",
|
||||||
"ossEnterpriseEditionRequired": "<enterpriseEditionLink>Enterprise Edition</enterpriseEditionLink> je vyžadována pro použití této funkce. Tato funkce je také k dispozici v <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>. <bookADemoLink>Rezervujte si demo nebo POC zkušební verzi</bookADemoLink>.",
|
"ossEnterpriseEditionRequired": "<enterpriseEditionLink>Enterprise Edition</enterpriseEditionLink> je vyžadována pro použití této funkce. Tato funkce je také k dispozici v <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>. <bookADemoLink>Rezervujte si demo nebo POC zkušební verzi</bookADemoLink>.",
|
||||||
"certResolver": "Oddělovač certifikátů",
|
"certResolver": "Oddělovač certifikátů",
|
||||||
@@ -2683,5 +2803,90 @@
|
|||||||
"approvalsEmptyStateStep2Description": "Upravte roli a povolte možnost 'Vyžadovat schválení zařízení'. Uživatelé s touto rolí budou potřebovat schválení pro nová zařízení správce.",
|
"approvalsEmptyStateStep2Description": "Upravte roli a povolte možnost 'Vyžadovat schválení zařízení'. Uživatelé s touto rolí budou potřebovat schválení pro nová zařízení správce.",
|
||||||
"approvalsEmptyStatePreviewDescription": "Náhled: Pokud je povoleno, čekající na zařízení se zde zobrazí žádosti o recenzi",
|
"approvalsEmptyStatePreviewDescription": "Náhled: Pokud je povoleno, čekající na zařízení se zde zobrazí žádosti o recenzi",
|
||||||
"approvalsEmptyStateButtonText": "Spravovat role",
|
"approvalsEmptyStateButtonText": "Spravovat role",
|
||||||
"domainErrorTitle": "Máme problém s ověřením tvé domény"
|
"domainErrorTitle": "Máme problém s ověřením tvé domény",
|
||||||
|
"idpAdminAutoProvisionPoliciesTabHint": "Nastavte pravidla mapování rolí a organizace na kartě <policiesTabLink>Automatická úprava nastavení</policiesTabLink>.",
|
||||||
|
"streamingTitle": "Streamování událostí",
|
||||||
|
"streamingDescription": "Streamujte události z vaší organizace do externích destinací v reálném čase.",
|
||||||
|
"streamingUnnamedDestination": "Nepojmenovaný cíl",
|
||||||
|
"streamingNoUrlConfigured": "Není nakonfigurována žádná URL",
|
||||||
|
"streamingAddDestination": "Přidat cíl",
|
||||||
|
"streamingHttpWebhookTitle": "HTTP webový háček",
|
||||||
|
"streamingHttpWebhookDescription": "Odeslat události na libovolný HTTP koncový bod s pružnou autentizací a šablonou.",
|
||||||
|
"streamingS3Title": "Amazon S3",
|
||||||
|
"streamingS3Description": "Streamujte události do úložiště, které je kompatibilní se S3. Brzy přijde.",
|
||||||
|
"streamingDatadogTitle": "Datadog",
|
||||||
|
"streamingDatadogDescription": "Přeposlat události přímo do vašeho účtu Datadog účtu. Brzy přijde.",
|
||||||
|
"streamingTypePickerDescription": "Vyberte cílový typ pro začátek.",
|
||||||
|
"streamingFailedToLoad": "Nepodařilo se načíst destinace",
|
||||||
|
"streamingUnexpectedError": "Došlo k neočekávané chybě.",
|
||||||
|
"streamingFailedToUpdate": "Nepodařilo se aktualizovat cíl",
|
||||||
|
"streamingDeletedSuccess": "Cíl byl úspěšně odstraněn",
|
||||||
|
"streamingFailedToDelete": "Nepodařilo se odstranit cíl",
|
||||||
|
"streamingDeleteTitle": "Odstranit cíl",
|
||||||
|
"streamingDeleteButtonText": "Odstranit cíl",
|
||||||
|
"streamingDeleteDialogAreYouSure": "Jste si jisti, že chcete odstranit",
|
||||||
|
"streamingDeleteDialogThisDestination": "tato destinace",
|
||||||
|
"streamingDeleteDialogPermanentlyRemoved": "? Všechny konfigurace budou trvale odstraněny.",
|
||||||
|
"httpDestEditTitle": "Upravit cíl",
|
||||||
|
"httpDestAddTitle": "Přidat cíl HTTP",
|
||||||
|
"httpDestEditDescription": "Aktualizovat konfiguraci pro tuto destinaci HTTP události",
|
||||||
|
"httpDestAddDescription": "Konfigurace nového koncového bodu HTTP pro příjem událostí vaší organizace.",
|
||||||
|
"httpDestTabSettings": "Nastavení",
|
||||||
|
"httpDestTabHeaders": "Záhlaví",
|
||||||
|
"httpDestTabBody": "Tělo",
|
||||||
|
"httpDestTabLogs": "Logy",
|
||||||
|
"httpDestNamePlaceholder": "Moje HTTP cíl",
|
||||||
|
"httpDestUrlLabel": "Cílová adresa URL",
|
||||||
|
"httpDestUrlErrorHttpRequired": "URL musí používat http nebo https",
|
||||||
|
"httpDestUrlErrorHttpsRequired": "HTTPS je vyžadován při nasazení do cloudu",
|
||||||
|
"httpDestUrlErrorInvalid": "Zadejte platnou URL (např. https://example.com/webhook)",
|
||||||
|
"httpDestAuthTitle": "Autentifikace",
|
||||||
|
"httpDestAuthDescription": "Zvolte, jak jsou požadavky na tvůj koncový bod ověřeny.",
|
||||||
|
"httpDestAuthNoneTitle": "Žádné ověření",
|
||||||
|
"httpDestAuthNoneDescription": "Odešle žádosti bez záhlaví autorizace.",
|
||||||
|
"httpDestAuthBearerTitle": "Token na doručitele",
|
||||||
|
"httpDestAuthBearerDescription": "Přidá autorizaci: Hlavička Bearer <token> ke každému požadavku.",
|
||||||
|
"httpDestAuthBearerPlaceholder": "Váš API klíč nebo token",
|
||||||
|
"httpDestAuthBasicTitle": "Základní ověření",
|
||||||
|
"httpDestAuthBasicDescription": "Přidá autorizaci: Základní <credentials> hlavička. Poskytněte přihlašovací údaje jako uživatelské jméno:password.",
|
||||||
|
"httpDestAuthBasicPlaceholder": "uživatelské jméno:heslo",
|
||||||
|
"httpDestAuthCustomTitle": "Vlastní záhlaví",
|
||||||
|
"httpDestAuthCustomDescription": "Zadejte název a hodnotu vlastního HTTP hlavičky pro ověření (např. X-API-Key).",
|
||||||
|
"httpDestAuthCustomHeaderNamePlaceholder": "Název záhlaví (např. X-API-Key)",
|
||||||
|
"httpDestAuthCustomHeaderValuePlaceholder": "Hodnota záhlaví",
|
||||||
|
"httpDestCustomHeadersTitle": "Vlastní HTTP hlavičky",
|
||||||
|
"httpDestCustomHeadersDescription": "Přidat vlastní hlavičky ke každému odchozímu požadavku. Užitečné pro statické tokeny nebo vlastní Typ obsahu. Ve výchozím nastavení je typ obsahu: application/json.",
|
||||||
|
"httpDestNoHeadersConfigured": "Nejsou nakonfigurovány žádné vlastní záhlaví. Pro přidání klikněte na \"Přidat záhlaví\".",
|
||||||
|
"httpDestHeaderNamePlaceholder": "Název záhlaví",
|
||||||
|
"httpDestHeaderValuePlaceholder": "Hodnota",
|
||||||
|
"httpDestAddHeader": "Přidat záhlaví",
|
||||||
|
"httpDestBodyTemplateTitle": "Vlastní šablona těla",
|
||||||
|
"httpDestBodyTemplateDescription": "Ovládá strukturu užitečného zatížení JSON odeslanou na váš koncový bod. Pokud je vypnuto, je pro každou událost zaslán výchozí objekt JSON.",
|
||||||
|
"httpDestEnableBodyTemplate": "Povolit vlastní šablonu těla",
|
||||||
|
"httpDestBodyTemplateLabel": "Šablona těla (JSON)",
|
||||||
|
"httpDestBodyTemplateHint": "Použijte šablonové proměnné pro referenční pole události ve vašem užitečném zatížení.",
|
||||||
|
"httpDestPayloadFormatTitle": "Formát datového zatížení",
|
||||||
|
"httpDestPayloadFormatDescription": "Jak jsou události serializovány v každém žádajícím subjektu.",
|
||||||
|
"httpDestFormatJsonArrayTitle": "JSON pole",
|
||||||
|
"httpDestFormatJsonArrayDescription": "Jeden požadavek na každou šarži, tělo je pole JSON. Kompatibilní s většinou generických webových háčků a Datadog.",
|
||||||
|
"httpDestFormatNdjsonTitle": "NDJSON",
|
||||||
|
"httpDestFormatNdjsonDescription": "Jeden požadavek na každou šarži, tělo je nově ohraničené JSON – jeden objekt na jednu čáru, bez vnějšího pole. Vyžaduje Splunk HEC, Elastic / OpenSearch, a Grafana Loki.",
|
||||||
|
"httpDestFormatSingleTitle": "Jedna událost na požadavek",
|
||||||
|
"httpDestFormatSingleDescription": "Odešle samostatnou HTTP POST pro každou jednotlivou událost. Používejte pouze pro koncové body, které nemohou zpracovávat dávky.",
|
||||||
|
"httpDestLogTypesTitle": "Typy protokolů",
|
||||||
|
"httpDestLogTypesDescription": "Vyberte, které typy logů jsou přesměrovány do této destinace. Budou streamovány pouze povolené typy logů.",
|
||||||
|
"httpDestAccessLogsTitle": "Protokoly přístupu",
|
||||||
|
"httpDestAccessLogsDescription": "Pokusy o přístup k dokumentům, včetně ověřených a zamítnutých požadavků.",
|
||||||
|
"httpDestActionLogsTitle": "Záznamy akcí",
|
||||||
|
"httpDestActionLogsDescription": "Správní opatření prováděná uživateli v rámci organizace.",
|
||||||
|
"httpDestConnectionLogsTitle": "Protokoly připojení",
|
||||||
|
"httpDestConnectionLogsDescription": "Události týkající se připojení lokality a tunelu, včetně připojení a odpojení.",
|
||||||
|
"httpDestRequestLogsTitle": "Záznamy požadavků",
|
||||||
|
"httpDestRequestLogsDescription": "HTTP záznamy požadavků pro proxy zdroje, včetně metod, cesty a kódu odpovědi.",
|
||||||
|
"httpDestSaveChanges": "Uložit změny",
|
||||||
|
"httpDestCreateDestination": "Vytvořit cíl",
|
||||||
|
"httpDestUpdatedSuccess": "Cíl byl úspěšně aktualizován",
|
||||||
|
"httpDestCreatedSuccess": "Cíl byl úspěšně vytvořen",
|
||||||
|
"httpDestUpdateFailed": "Nepodařilo se aktualizovat cíl",
|
||||||
|
"httpDestCreateFailed": "Nepodařilo se vytvořit cíl"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -148,6 +148,11 @@
|
|||||||
"createLink": "Link erstellen",
|
"createLink": "Link erstellen",
|
||||||
"resourcesNotFound": "Keine Ressourcen gefunden",
|
"resourcesNotFound": "Keine Ressourcen gefunden",
|
||||||
"resourceSearch": "Suche Ressourcen",
|
"resourceSearch": "Suche Ressourcen",
|
||||||
|
"machineSearch": "Maschinen suchen",
|
||||||
|
"machinesSearch": "Suche Maschinen-Klienten...",
|
||||||
|
"machineNotFound": "Keine Maschinen gefunden",
|
||||||
|
"userDeviceSearch": "Benutzergeräte durchsuchen",
|
||||||
|
"userDevicesSearch": "Benutzergeräte durchsuchen...",
|
||||||
"openMenu": "Menü öffnen",
|
"openMenu": "Menü öffnen",
|
||||||
"resource": "Ressource",
|
"resource": "Ressource",
|
||||||
"title": "Titel",
|
"title": "Titel",
|
||||||
@@ -323,6 +328,54 @@
|
|||||||
"apiKeysDelete": "API-Schlüssel löschen",
|
"apiKeysDelete": "API-Schlüssel löschen",
|
||||||
"apiKeysManage": "API-Schlüssel verwalten",
|
"apiKeysManage": "API-Schlüssel verwalten",
|
||||||
"apiKeysDescription": "API-Schlüssel werden zur Authentifizierung mit der Integrations-API verwendet",
|
"apiKeysDescription": "API-Schlüssel werden zur Authentifizierung mit der Integrations-API verwendet",
|
||||||
|
"provisioningKeysTitle": "Bereitstellungsschlüssel",
|
||||||
|
"provisioningKeysManage": "Bereitstellungsschlüssel verwalten",
|
||||||
|
"provisioningKeysDescription": "Bereitstellungsschlüssel werden verwendet, um die automatisierte Bereitstellung von Seiten für Ihr Unternehmen zu authentifizieren.",
|
||||||
|
"provisioningManage": "Bereitstellung",
|
||||||
|
"provisioningDescription": "Bereitstellungsschlüssel verwalten und ausstehende Seiten prüfen, die noch auf Genehmigung warten.",
|
||||||
|
"pendingSites": "Ausstehende Seiten",
|
||||||
|
"siteApproveSuccess": "Site erfolgreich freigegeben",
|
||||||
|
"siteApproveError": "Fehler beim Bestätigen der Seite",
|
||||||
|
"provisioningKeys": "Bereitstellungsschlüssel",
|
||||||
|
"searchProvisioningKeys": "Bereitstellungsschlüssel suchen...",
|
||||||
|
"provisioningKeysAdd": "Bereitstellungsschlüssel generieren",
|
||||||
|
"provisioningKeysErrorDelete": "Fehler beim Löschen des Bereitstellungsschlüssels",
|
||||||
|
"provisioningKeysErrorDeleteMessage": "Fehler beim Löschen des Bereitstellungsschlüssels",
|
||||||
|
"provisioningKeysQuestionRemove": "Sind Sie sicher, dass Sie diesen Bereitstellungsschlüssel aus der Organisation entfernen möchten?",
|
||||||
|
"provisioningKeysMessageRemove": "Einmal entfernt, kann der Schlüssel nicht mehr für die Bereitstellung der Site verwendet werden.",
|
||||||
|
"provisioningKeysDeleteConfirm": "Bereitstellungsschlüssel löschen bestätigen",
|
||||||
|
"provisioningKeysDelete": "Bereitstellungsschlüssel löschen",
|
||||||
|
"provisioningKeysCreate": "Bereitstellungsschlüssel generieren",
|
||||||
|
"provisioningKeysCreateDescription": "Einen neuen Bereitstellungsschlüssel für die Organisation generieren",
|
||||||
|
"provisioningKeysSeeAll": "Alle Bereitstellungsschlüssel anzeigen",
|
||||||
|
"provisioningKeysSave": "Bereitstellungsschlüssel speichern",
|
||||||
|
"provisioningKeysSaveDescription": "Sie können dies nur einmal sehen. Kopieren Sie es an einen sicheren Ort.",
|
||||||
|
"provisioningKeysErrorCreate": "Fehler beim Erstellen des Bereitstellungsschlüssels",
|
||||||
|
"provisioningKeysList": "Neuer Bereitstellungsschlüssel",
|
||||||
|
"provisioningKeysMaxBatchSize": "Max. Batch-Größe",
|
||||||
|
"provisioningKeysUnlimitedBatchSize": "Unbegrenzte Batch-Größe (kein Limit)",
|
||||||
|
"provisioningKeysMaxBatchUnlimited": "Unbegrenzt",
|
||||||
|
"provisioningKeysMaxBatchSizeInvalid": "Geben Sie eine gültige maximale Batchgröße ein (1–1.000.000).",
|
||||||
|
"provisioningKeysValidUntil": "Gültig bis",
|
||||||
|
"provisioningKeysValidUntilHint": "Leer lassen für keine Verjährung.",
|
||||||
|
"provisioningKeysValidUntilInvalid": "Geben Sie ein gültiges Datum und Zeit ein.",
|
||||||
|
"provisioningKeysNumUsed": "Verwendete Zeiten",
|
||||||
|
"provisioningKeysLastUsed": "Zuletzt verwendet",
|
||||||
|
"provisioningKeysNoExpiry": "Kein Ablauf",
|
||||||
|
"provisioningKeysNeverUsed": "Nie",
|
||||||
|
"provisioningKeysEdit": "Bereitstellungsschlüssel bearbeiten",
|
||||||
|
"provisioningKeysEditDescription": "Aktualisieren Sie die maximale Batch-Größe und Ablaufzeit für diesen Schlüssel.",
|
||||||
|
"provisioningKeysApproveNewSites": "Neue Seiten genehmigen",
|
||||||
|
"provisioningKeysApproveNewSitesDescription": "Sites, die sich mit diesem Schlüssel registrieren, automatisch freigeben.",
|
||||||
|
"provisioningKeysUpdateError": "Fehler beim Aktualisieren des Bereitstellungsschlüssels",
|
||||||
|
"provisioningKeysUpdated": "Bereitstellungsschlüssel aktualisiert",
|
||||||
|
"provisioningKeysUpdatedDescription": "Ihre Änderungen wurden gespeichert.",
|
||||||
|
"provisioningKeysBannerTitle": "Website-Bereitstellungsschlüssel",
|
||||||
|
"provisioningKeysBannerDescription": "Generieren Sie einen Bereitstellungsschlüssel und verwenden Sie ihn mit dem Newt-Konnektor, um beim ersten Start automatisch Sites zu erstellen – keine Notwendigkeit, separate Anmeldeinformationen für jede Seite einzurichten.",
|
||||||
|
"provisioningKeysBannerButtonText": "Mehr erfahren",
|
||||||
|
"pendingSitesBannerTitle": "Ausstehende Seiten",
|
||||||
|
"pendingSitesBannerDescription": "Sites, die sich mit einem Bereitstellungsschlüssel verbinden, erscheinen hier zur Überprüfung. Bestätigen Sie jede Site, bevor sie aktiv wird und erhalten Zugriff auf Ihre Ressourcen.",
|
||||||
|
"pendingSitesBannerButtonText": "Mehr erfahren",
|
||||||
"apiKeysSettings": "{apiKeyName} Einstellungen",
|
"apiKeysSettings": "{apiKeyName} Einstellungen",
|
||||||
"userTitle": "Alle Benutzer verwalten",
|
"userTitle": "Alle Benutzer verwalten",
|
||||||
"userDescription": "Alle Benutzer im System anzeigen und verwalten",
|
"userDescription": "Alle Benutzer im System anzeigen und verwalten",
|
||||||
@@ -509,9 +562,12 @@
|
|||||||
"userSaved": "Benutzer gespeichert",
|
"userSaved": "Benutzer gespeichert",
|
||||||
"userSavedDescription": "Der Benutzer wurde aktualisiert.",
|
"userSavedDescription": "Der Benutzer wurde aktualisiert.",
|
||||||
"autoProvisioned": "Automatisch bereitgestellt",
|
"autoProvisioned": "Automatisch bereitgestellt",
|
||||||
|
"autoProvisionSettings": "Auto-Bereitstellungseinstellungen",
|
||||||
"autoProvisionedDescription": "Erlaube diesem Benutzer die automatische Verwaltung durch Identitätsanbieter",
|
"autoProvisionedDescription": "Erlaube diesem Benutzer die automatische Verwaltung durch Identitätsanbieter",
|
||||||
"accessControlsDescription": "Verwalten Sie, worauf dieser Benutzer in der Organisation zugreifen und was er tun kann",
|
"accessControlsDescription": "Verwalten Sie, worauf dieser Benutzer in der Organisation zugreifen und was er tun kann",
|
||||||
"accessControlsSubmit": "Zugriffskontrollen speichern",
|
"accessControlsSubmit": "Zugriffskontrollen speichern",
|
||||||
|
"singleRolePerUserPlanNotice": "Ihr Plan unterstützt nur eine Rolle pro Benutzer.",
|
||||||
|
"singleRolePerUserEditionNotice": "Diese Ausgabe unterstützt nur eine Rolle pro Benutzer.",
|
||||||
"roles": "Rollen",
|
"roles": "Rollen",
|
||||||
"accessUsersRoles": "Benutzer & Rollen verwalten",
|
"accessUsersRoles": "Benutzer & Rollen verwalten",
|
||||||
"accessUsersRolesDescription": "Lade Benutzer ein und füge sie zu Rollen hinzu, um den Zugriff auf die Organisation zu verwalten",
|
"accessUsersRolesDescription": "Lade Benutzer ein und füge sie zu Rollen hinzu, um den Zugriff auf die Organisation zu verwalten",
|
||||||
@@ -1119,6 +1175,7 @@
|
|||||||
"setupTokenDescription": "Geben Sie das Setup-Token von der Serverkonsole ein.",
|
"setupTokenDescription": "Geben Sie das Setup-Token von der Serverkonsole ein.",
|
||||||
"setupTokenRequired": "Setup-Token ist erforderlich",
|
"setupTokenRequired": "Setup-Token ist erforderlich",
|
||||||
"actionUpdateSite": "Standorte aktualisieren",
|
"actionUpdateSite": "Standorte aktualisieren",
|
||||||
|
"actionResetSiteBandwidth": "Organisations-Bandbreite zurücksetzen",
|
||||||
"actionListSiteRoles": "Erlaubte Standort-Rollen auflisten",
|
"actionListSiteRoles": "Erlaubte Standort-Rollen auflisten",
|
||||||
"actionCreateResource": "Ressource erstellen",
|
"actionCreateResource": "Ressource erstellen",
|
||||||
"actionDeleteResource": "Ressource löschen",
|
"actionDeleteResource": "Ressource löschen",
|
||||||
@@ -1148,7 +1205,7 @@
|
|||||||
"actionRemoveUser": "Benutzer entfernen",
|
"actionRemoveUser": "Benutzer entfernen",
|
||||||
"actionListUsers": "Benutzer auflisten",
|
"actionListUsers": "Benutzer auflisten",
|
||||||
"actionAddUserRole": "Benutzerrolle hinzufügen",
|
"actionAddUserRole": "Benutzerrolle hinzufügen",
|
||||||
"actionSetUserOrgRoles": "Set User Roles",
|
"actionSetUserOrgRoles": "Benutzerrollen festlegen",
|
||||||
"actionGenerateAccessToken": "Zugriffstoken generieren",
|
"actionGenerateAccessToken": "Zugriffstoken generieren",
|
||||||
"actionDeleteAccessToken": "Zugriffstoken löschen",
|
"actionDeleteAccessToken": "Zugriffstoken löschen",
|
||||||
"actionListAccessTokens": "Zugriffstoken auflisten",
|
"actionListAccessTokens": "Zugriffstoken auflisten",
|
||||||
@@ -1265,6 +1322,7 @@
|
|||||||
"sidebarRoles": "Rollen",
|
"sidebarRoles": "Rollen",
|
||||||
"sidebarShareableLinks": "Links",
|
"sidebarShareableLinks": "Links",
|
||||||
"sidebarApiKeys": "API-Schlüssel",
|
"sidebarApiKeys": "API-Schlüssel",
|
||||||
|
"sidebarProvisioning": "Bereitstellung",
|
||||||
"sidebarSettings": "Einstellungen",
|
"sidebarSettings": "Einstellungen",
|
||||||
"sidebarAllUsers": "Alle Benutzer",
|
"sidebarAllUsers": "Alle Benutzer",
|
||||||
"sidebarIdentityProviders": "Identitätsanbieter",
|
"sidebarIdentityProviders": "Identitätsanbieter",
|
||||||
@@ -1890,6 +1948,40 @@
|
|||||||
"exitNode": "Exit-Node",
|
"exitNode": "Exit-Node",
|
||||||
"country": "Land",
|
"country": "Land",
|
||||||
"rulesMatchCountry": "Derzeit basierend auf der Quell-IP",
|
"rulesMatchCountry": "Derzeit basierend auf der Quell-IP",
|
||||||
|
"region": "Region",
|
||||||
|
"selectRegion": "Region wählen...",
|
||||||
|
"searchRegions": "Regionen suchen...",
|
||||||
|
"noRegionFound": "Keine Region gefunden.",
|
||||||
|
"rulesMatchRegion": "Wählen Sie eine Regionalgruppe von Ländern",
|
||||||
|
"rulesErrorInvalidRegion": "Ungültige Region",
|
||||||
|
"rulesErrorInvalidRegionDescription": "Bitte wählen Sie eine gültige Region aus.",
|
||||||
|
"regionAfrica": "Afrika",
|
||||||
|
"regionNorthernAfrica": "Nordafrika",
|
||||||
|
"regionEasternAfrica": "Ostafrika",
|
||||||
|
"regionMiddleAfrica": "Zentralafrika",
|
||||||
|
"regionSouthernAfrica": "Südliches Afrika",
|
||||||
|
"regionWesternAfrica": "Westafrika",
|
||||||
|
"regionAmericas": "Amerika",
|
||||||
|
"regionCaribbean": "Karibik",
|
||||||
|
"regionCentralAmerica": "Mittelamerika",
|
||||||
|
"regionSouthAmerica": "Südamerika",
|
||||||
|
"regionNorthernAmerica": "Nordamerika",
|
||||||
|
"regionAsia": "Asien",
|
||||||
|
"regionCentralAsia": "Zentralasien",
|
||||||
|
"regionEasternAsia": "Ostasien",
|
||||||
|
"regionSouthEasternAsia": "Südostasien",
|
||||||
|
"regionSouthernAsia": "Südasien",
|
||||||
|
"regionWesternAsia": "Westasien",
|
||||||
|
"regionEurope": "Europa",
|
||||||
|
"regionEasternEurope": "Osteuropa",
|
||||||
|
"regionNorthernEurope": "Nordeuropa",
|
||||||
|
"regionSouthernEurope": "Südeuropa",
|
||||||
|
"regionWesternEurope": "Westeuropa",
|
||||||
|
"regionOceania": "Ozeanien",
|
||||||
|
"regionAustraliaAndNewZealand": "Australien und Neuseeland",
|
||||||
|
"regionMelanesia": "Melanesien",
|
||||||
|
"regionMicronesia": "Mikronesien",
|
||||||
|
"regionPolynesia": "Polynesien",
|
||||||
"managedSelfHosted": {
|
"managedSelfHosted": {
|
||||||
"title": "Verwaltetes Selbsthosted",
|
"title": "Verwaltetes Selbsthosted",
|
||||||
"description": "Zuverlässiger und wartungsarmer Pangolin Server mit zusätzlichen Glocken und Pfeifen",
|
"description": "Zuverlässiger und wartungsarmer Pangolin Server mit zusätzlichen Glocken und Pfeifen",
|
||||||
@@ -1938,6 +2030,25 @@
|
|||||||
"invalidValue": "Ungültiger Wert",
|
"invalidValue": "Ungültiger Wert",
|
||||||
"idpTypeLabel": "Identitätsanbietertyp",
|
"idpTypeLabel": "Identitätsanbietertyp",
|
||||||
"roleMappingExpressionPlaceholder": "z. B. enthalten(Gruppen, 'admin') && 'Admin' || 'Mitglied'",
|
"roleMappingExpressionPlaceholder": "z. B. enthalten(Gruppen, 'admin') && 'Admin' || 'Mitglied'",
|
||||||
|
"roleMappingModeFixedRoles": "Feste Rollen",
|
||||||
|
"roleMappingModeMappingBuilder": "Mapping Builder",
|
||||||
|
"roleMappingModeRawExpression": "Roher Ausdruck",
|
||||||
|
"roleMappingFixedRolesPlaceholderSelect": "Wählen Sie eine oder mehrere Rollen",
|
||||||
|
"roleMappingFixedRolesPlaceholderFreeform": "Rollennamen eingeben (exakte Übereinstimmung pro Organisation)",
|
||||||
|
"roleMappingFixedRolesDescriptionSameForAll": "Weisen Sie jedem auto-provisionierten Benutzer die gleiche Rolle zu.",
|
||||||
|
"roleMappingFixedRolesDescriptionDefaultPolicy": "Für Standardrichtlinien geben Sie Rollennamen ein, die in jeder Organisation existieren, in der Benutzer angegeben sind. Namen müssen exakt übereinstimmen.",
|
||||||
|
"roleMappingClaimPath": "Pfad einfordern",
|
||||||
|
"roleMappingClaimPathPlaceholder": "gruppen",
|
||||||
|
"roleMappingClaimPathDescription": "Pfad in der Token Payload mit Quellwerten (zum Beispiel Gruppen).",
|
||||||
|
"roleMappingMatchValue": "Match-Wert",
|
||||||
|
"roleMappingAssignRoles": "Rollen zuweisen",
|
||||||
|
"roleMappingAddMappingRule": "Zuordnungsregel hinzufügen",
|
||||||
|
"roleMappingRawExpressionResultDescription": "Ausdruck muss zu einem String oder String Array ausgewertet werden.",
|
||||||
|
"roleMappingRawExpressionResultDescriptionSingleRole": "Ausdruck muss zu einem String (einem einzigen Rollennamen) ausgewertet werden.",
|
||||||
|
"roleMappingMatchValuePlaceholder": "Match-Wert (z. B.: Admin)",
|
||||||
|
"roleMappingAssignRolesPlaceholderFreeform": "Rollennamen eingeben (exakt pro Ort)",
|
||||||
|
"roleMappingBuilderFreeformRowHint": "Rollennamen müssen mit einer Rolle in jeder Zielorganisation übereinstimmen.",
|
||||||
|
"roleMappingRemoveRule": "Entfernen",
|
||||||
"idpGoogleConfiguration": "Google-Konfiguration",
|
"idpGoogleConfiguration": "Google-Konfiguration",
|
||||||
"idpGoogleConfigurationDescription": "Google OAuth2 Zugangsdaten konfigurieren",
|
"idpGoogleConfigurationDescription": "Google OAuth2 Zugangsdaten konfigurieren",
|
||||||
"idpGoogleClientIdDescription": "Google OAuth2 Client ID",
|
"idpGoogleClientIdDescription": "Google OAuth2 Client ID",
|
||||||
@@ -2334,6 +2445,8 @@
|
|||||||
"logRetentionAccessDescription": "Wie lange Zugriffsprotokolle beibehalten werden sollen",
|
"logRetentionAccessDescription": "Wie lange Zugriffsprotokolle beibehalten werden sollen",
|
||||||
"logRetentionActionLabel": "Aktionsprotokoll-Speicherung",
|
"logRetentionActionLabel": "Aktionsprotokoll-Speicherung",
|
||||||
"logRetentionActionDescription": "Dauer des Action-Logs",
|
"logRetentionActionDescription": "Dauer des Action-Logs",
|
||||||
|
"logRetentionConnectionLabel": "Verbindungsprotokoll-Speicherung",
|
||||||
|
"logRetentionConnectionDescription": "Wie lange Verbindungsprotokolle gespeichert werden sollen",
|
||||||
"logRetentionDisabled": "Deaktiviert",
|
"logRetentionDisabled": "Deaktiviert",
|
||||||
"logRetention3Days": "3 Tage",
|
"logRetention3Days": "3 Tage",
|
||||||
"logRetention7Days": "7 Tage",
|
"logRetention7Days": "7 Tage",
|
||||||
@@ -2344,6 +2457,13 @@
|
|||||||
"logRetentionEndOfFollowingYear": "Ende des folgenden Jahres",
|
"logRetentionEndOfFollowingYear": "Ende des folgenden Jahres",
|
||||||
"actionLogsDescription": "Verlauf der in dieser Organisation durchgeführten Aktionen anzeigen",
|
"actionLogsDescription": "Verlauf der in dieser Organisation durchgeführten Aktionen anzeigen",
|
||||||
"accessLogsDescription": "Zugriffsauth-Anfragen für Ressourcen in dieser Organisation anzeigen",
|
"accessLogsDescription": "Zugriffsauth-Anfragen für Ressourcen in dieser Organisation anzeigen",
|
||||||
|
"connectionLogs": "Verbindungsprotokolle",
|
||||||
|
"connectionLogsDescription": "Verbindungsprotokolle für Tunnel in dieser Organisation anzeigen",
|
||||||
|
"sidebarLogsConnection": "Verbindungsprotokolle",
|
||||||
|
"sidebarLogsStreaming": "Streaming",
|
||||||
|
"sourceAddress": "Quelladresse",
|
||||||
|
"destinationAddress": "Zieladresse",
|
||||||
|
"duration": "Dauer",
|
||||||
"licenseRequiredToUse": "Eine <enterpriseLicenseLink>Enterprise Edition</enterpriseLicenseLink> Lizenz oder <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink> wird benötigt, um diese Funktion nutzen zu können. <bookADemoLink>Buchen Sie eine Demo oder POC Testversion</bookADemoLink>.",
|
"licenseRequiredToUse": "Eine <enterpriseLicenseLink>Enterprise Edition</enterpriseLicenseLink> Lizenz oder <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink> wird benötigt, um diese Funktion nutzen zu können. <bookADemoLink>Buchen Sie eine Demo oder POC Testversion</bookADemoLink>.",
|
||||||
"ossEnterpriseEditionRequired": "Die <enterpriseEditionLink>Enterprise Edition</enterpriseEditionLink> wird benötigt, um diese Funktion nutzen zu können. Diese Funktion ist auch in <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>verfügbar. <bookADemoLink>Buchen Sie eine Demo oder POC Testversion</bookADemoLink>.",
|
"ossEnterpriseEditionRequired": "Die <enterpriseEditionLink>Enterprise Edition</enterpriseEditionLink> wird benötigt, um diese Funktion nutzen zu können. Diese Funktion ist auch in <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>verfügbar. <bookADemoLink>Buchen Sie eine Demo oder POC Testversion</bookADemoLink>.",
|
||||||
"certResolver": "Zertifikatsauflöser",
|
"certResolver": "Zertifikatsauflöser",
|
||||||
@@ -2683,5 +2803,90 @@
|
|||||||
"approvalsEmptyStateStep2Description": "Bearbeite eine Rolle und aktiviere die Option 'Gerätegenehmigung erforderlich'. Benutzer mit dieser Rolle benötigen Administrator-Genehmigung für neue Geräte.",
|
"approvalsEmptyStateStep2Description": "Bearbeite eine Rolle und aktiviere die Option 'Gerätegenehmigung erforderlich'. Benutzer mit dieser Rolle benötigen Administrator-Genehmigung für neue Geräte.",
|
||||||
"approvalsEmptyStatePreviewDescription": "Vorschau: Wenn aktiviert, werden ausstehende Geräteanfragen hier zur Überprüfung angezeigt",
|
"approvalsEmptyStatePreviewDescription": "Vorschau: Wenn aktiviert, werden ausstehende Geräteanfragen hier zur Überprüfung angezeigt",
|
||||||
"approvalsEmptyStateButtonText": "Rollen verwalten",
|
"approvalsEmptyStateButtonText": "Rollen verwalten",
|
||||||
"domainErrorTitle": "Wir haben Probleme mit der Überprüfung deiner Domain"
|
"domainErrorTitle": "Wir haben Probleme mit der Überprüfung deiner Domain",
|
||||||
|
"idpAdminAutoProvisionPoliciesTabHint": "Konfigurieren Sie Rollenzuordnungs- und Organisationsrichtlinien auf der Registerkarte <policiesTabLink>Auto-Bereitstellungseinstellungen</policiesTabLink>.",
|
||||||
|
"streamingTitle": "Event Streaming",
|
||||||
|
"streamingDescription": "Streamen Sie Events aus Ihrem Unternehmen in Echtzeit zu externen Zielen.",
|
||||||
|
"streamingUnnamedDestination": "Unbenanntes Ziel",
|
||||||
|
"streamingNoUrlConfigured": "Keine URL konfiguriert",
|
||||||
|
"streamingAddDestination": "Ziel hinzufügen",
|
||||||
|
"streamingHttpWebhookTitle": "HTTP Webhook",
|
||||||
|
"streamingHttpWebhookDescription": "Sende Ereignisse an jeden HTTP-Endpunkt mit flexibler Authentifizierung und Vorlage.",
|
||||||
|
"streamingS3Title": "Amazon S3",
|
||||||
|
"streamingS3Description": "Streame Ereignisse in eine S3-kompatible Objekt-Speicher-Eimer. Kommt bald.",
|
||||||
|
"streamingDatadogTitle": "Datadog",
|
||||||
|
"streamingDatadogDescription": "Events direkt an Ihr Datadog Konto weiterleiten. Kommen Sie bald.",
|
||||||
|
"streamingTypePickerDescription": "Wählen Sie einen Zieltyp aus, um loszulegen.",
|
||||||
|
"streamingFailedToLoad": "Fehler beim Laden der Ziele",
|
||||||
|
"streamingUnexpectedError": "Ein unerwarteter Fehler ist aufgetreten.",
|
||||||
|
"streamingFailedToUpdate": "Fehler beim Aktualisieren des Ziels",
|
||||||
|
"streamingDeletedSuccess": "Ziel erfolgreich gelöscht",
|
||||||
|
"streamingFailedToDelete": "Fehler beim Löschen des Ziels",
|
||||||
|
"streamingDeleteTitle": "Ziel löschen",
|
||||||
|
"streamingDeleteButtonText": "Ziel löschen",
|
||||||
|
"streamingDeleteDialogAreYouSure": "Sind Sie sicher, dass Sie löschen möchten",
|
||||||
|
"streamingDeleteDialogThisDestination": "dieses Ziel",
|
||||||
|
"streamingDeleteDialogPermanentlyRemoved": "? Alle Konfiguration wird dauerhaft entfernt.",
|
||||||
|
"httpDestEditTitle": "Ziel bearbeiten",
|
||||||
|
"httpDestAddTitle": "HTTP-Ziel hinzufügen",
|
||||||
|
"httpDestEditDescription": "Aktualisiere die Konfiguration für dieses HTTP-Streaming-Ziel.",
|
||||||
|
"httpDestAddDescription": "Konfigurieren Sie einen neuen HTTP-Endpunkt, um die Ereignisse Ihrer Organisation zu empfangen.",
|
||||||
|
"httpDestTabSettings": "Einstellungen",
|
||||||
|
"httpDestTabHeaders": "Kopfzeilen",
|
||||||
|
"httpDestTabBody": "Körper",
|
||||||
|
"httpDestTabLogs": "Logs",
|
||||||
|
"httpDestNamePlaceholder": "Mein HTTP-Ziel",
|
||||||
|
"httpDestUrlLabel": "Ziel-URL",
|
||||||
|
"httpDestUrlErrorHttpRequired": "URL muss http oder https verwenden",
|
||||||
|
"httpDestUrlErrorHttpsRequired": "HTTPS wird für Cloud-Deployment benötigt",
|
||||||
|
"httpDestUrlErrorInvalid": "Geben Sie eine gültige URL ein (z.B. https://example.com/webhook)",
|
||||||
|
"httpDestAuthTitle": "Authentifizierung",
|
||||||
|
"httpDestAuthDescription": "Legen Sie fest, wie Anfragen an Ihren Endpunkt authentifiziert werden.",
|
||||||
|
"httpDestAuthNoneTitle": "Keine Authentifizierung",
|
||||||
|
"httpDestAuthNoneDescription": "Sendet Anfragen ohne Autorisierungs-Header.",
|
||||||
|
"httpDestAuthBearerTitle": "Bären-Token",
|
||||||
|
"httpDestAuthBearerDescription": "Fügt eine Berechtigung hinzu: Bearer <token> Header zu jeder Anfrage.",
|
||||||
|
"httpDestAuthBearerPlaceholder": "Ihr API-Schlüssel oder Token",
|
||||||
|
"httpDestAuthBasicTitle": "Einfacher Auth",
|
||||||
|
"httpDestAuthBasicDescription": "Fügt eine Autorisierung hinzu: Basic <credentials> Kopfzeile hinzu. Geben Sie Anmeldedaten als Benutzername:password an.",
|
||||||
|
"httpDestAuthBasicPlaceholder": "benutzername:password",
|
||||||
|
"httpDestAuthCustomTitle": "Eigene Kopfzeile",
|
||||||
|
"httpDestAuthCustomDescription": "Geben Sie einen eigenen HTTP-Header-Namen und einen Wert für die Authentifizierung an (z.B. X-API-Key).",
|
||||||
|
"httpDestAuthCustomHeaderNamePlaceholder": "Headername (z.B. X-API-Key)",
|
||||||
|
"httpDestAuthCustomHeaderValuePlaceholder": "Header-Wert",
|
||||||
|
"httpDestCustomHeadersTitle": "Eigene HTTP-Header",
|
||||||
|
"httpDestCustomHeadersDescription": "Fügen Sie jeder ausgehenden Anfrage benutzerdefinierte Kopfzeilen hinzu. Nützlich für statische Tokens oder einen benutzerdefinierten Content-Typ. Standardmäßig wird Content-Type: application/json gesendet.",
|
||||||
|
"httpDestNoHeadersConfigured": "Keine benutzerdefinierten Header konfiguriert. Klicken Sie auf \"Header hinzufügen\", um einen hinzuzufügen.",
|
||||||
|
"httpDestHeaderNamePlaceholder": "Header-Name",
|
||||||
|
"httpDestHeaderValuePlaceholder": "Wert",
|
||||||
|
"httpDestAddHeader": "Header hinzufügen",
|
||||||
|
"httpDestBodyTemplateTitle": "Eigene Body-Vorlage",
|
||||||
|
"httpDestBodyTemplateDescription": "Steuere die JSON-Payload-Struktur, die an deinen Endpunkt gesendet wurde. Wenn deaktiviert, wird für jede Veranstaltung ein Standard-JSON-Objekt gesendet.",
|
||||||
|
"httpDestEnableBodyTemplate": "Eigene Körpervorlage aktivieren",
|
||||||
|
"httpDestBodyTemplateLabel": "Body-Vorlage (JSON)",
|
||||||
|
"httpDestBodyTemplateHint": "Verwenden Sie Template-Variablen, um Ereignisfelder in Ihrer Payload zu referenzieren.",
|
||||||
|
"httpDestPayloadFormatTitle": "Payload-Format",
|
||||||
|
"httpDestPayloadFormatDescription": "Wie Ereignisse in jedes Anfragegremium serialisiert werden.",
|
||||||
|
"httpDestFormatJsonArrayTitle": "JSON Array",
|
||||||
|
"httpDestFormatJsonArrayDescription": "Eine Anfrage pro Stapel ist ein JSON-Array. Kompatibel mit den meisten generischen Webhooks und Datadog.",
|
||||||
|
"httpDestFormatNdjsonTitle": "NDJSON",
|
||||||
|
"httpDestFormatNdjsonDescription": "Eine Anfrage pro Batch, der Körper ist newline-getrenntes JSON — ein Objekt pro Zeile, kein äußeres Array. Benötigt von Splunk HEC, Elastic / OpenSearch, und Grafana Loki.",
|
||||||
|
"httpDestFormatSingleTitle": "Ein Ereignis pro Anfrage",
|
||||||
|
"httpDestFormatSingleDescription": "Sendet eine separate HTTP-POST für jedes einzelne Ereignis. Nur für Endpunkte, die Batches nicht handhaben können.",
|
||||||
|
"httpDestLogTypesTitle": "Log-Typen",
|
||||||
|
"httpDestLogTypesDescription": "Wählen Sie, welche Log-Typen an dieses Ziel weitergeleitet werden. Nur aktivierte Log-Typen werden gestreamt.",
|
||||||
|
"httpDestAccessLogsTitle": "Zugriffsprotokolle",
|
||||||
|
"httpDestAccessLogsDescription": "Ressourcenzugriffe, einschließlich authentifizierter und abgelehnter Anfragen.",
|
||||||
|
"httpDestActionLogsTitle": "Aktionsprotokolle",
|
||||||
|
"httpDestActionLogsDescription": "Administrative Maßnahmen, die von Benutzern innerhalb der Organisation durchgeführt werden.",
|
||||||
|
"httpDestConnectionLogsTitle": "Verbindungsprotokolle",
|
||||||
|
"httpDestConnectionLogsDescription": "Site- und Tunnelverbindungen, einschließlich Verbindungen und Trennungen.",
|
||||||
|
"httpDestRequestLogsTitle": "Logs anfordern",
|
||||||
|
"httpDestRequestLogsDescription": "HTTP-Request-Protokolle für proxiierte Ressourcen, einschließlich Methode, Pfad und Antwort-Code.",
|
||||||
|
"httpDestSaveChanges": "Änderungen speichern",
|
||||||
|
"httpDestCreateDestination": "Ziel erstellen",
|
||||||
|
"httpDestUpdatedSuccess": "Ziel erfolgreich aktualisiert",
|
||||||
|
"httpDestCreatedSuccess": "Ziel erfolgreich erstellt",
|
||||||
|
"httpDestUpdateFailed": "Fehler beim Aktualisieren des Ziels",
|
||||||
|
"httpDestCreateFailed": "Fehler beim Erstellen des Ziels"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -331,6 +331,11 @@
|
|||||||
"provisioningKeysTitle": "Provisioning Key",
|
"provisioningKeysTitle": "Provisioning Key",
|
||||||
"provisioningKeysManage": "Manage Provisioning Keys",
|
"provisioningKeysManage": "Manage Provisioning Keys",
|
||||||
"provisioningKeysDescription": "Provisioning keys are used to authenticate automated site provisioning for your organization.",
|
"provisioningKeysDescription": "Provisioning keys are used to authenticate automated site provisioning for your organization.",
|
||||||
|
"provisioningManage": "Provisioning",
|
||||||
|
"provisioningDescription": "Manage provisioning keys and review pending sites awaiting approval.",
|
||||||
|
"pendingSites": "Pending Sites",
|
||||||
|
"siteApproveSuccess": "Site approved successfully",
|
||||||
|
"siteApproveError": "Error approving site",
|
||||||
"provisioningKeys": "Provisioning Keys",
|
"provisioningKeys": "Provisioning Keys",
|
||||||
"searchProvisioningKeys": "Search provisioning keys...",
|
"searchProvisioningKeys": "Search provisioning keys...",
|
||||||
"provisioningKeysAdd": "Generate Provisioning Key",
|
"provisioningKeysAdd": "Generate Provisioning Key",
|
||||||
@@ -360,9 +365,17 @@
|
|||||||
"provisioningKeysNeverUsed": "Never",
|
"provisioningKeysNeverUsed": "Never",
|
||||||
"provisioningKeysEdit": "Edit Provisioning Key",
|
"provisioningKeysEdit": "Edit Provisioning Key",
|
||||||
"provisioningKeysEditDescription": "Update the max batch size and expiration time for this key.",
|
"provisioningKeysEditDescription": "Update the max batch size and expiration time for this key.",
|
||||||
|
"provisioningKeysApproveNewSites": "Approve new sites",
|
||||||
|
"provisioningKeysApproveNewSitesDescription": "Automatically approve sites that register with this key.",
|
||||||
"provisioningKeysUpdateError": "Error updating provisioning key",
|
"provisioningKeysUpdateError": "Error updating provisioning key",
|
||||||
"provisioningKeysUpdated": "Provisioning key updated",
|
"provisioningKeysUpdated": "Provisioning key updated",
|
||||||
"provisioningKeysUpdatedDescription": "Your changes have been saved.",
|
"provisioningKeysUpdatedDescription": "Your changes have been saved.",
|
||||||
|
"provisioningKeysBannerTitle": "Site Provisioning Keys",
|
||||||
|
"provisioningKeysBannerDescription": "Generate a provisioning key and use it with the Newt connector to automatically create sites on first startup — no need to set up separate credentials for each site.",
|
||||||
|
"provisioningKeysBannerButtonText": "Learn More",
|
||||||
|
"pendingSitesBannerTitle": "Pending Sites",
|
||||||
|
"pendingSitesBannerDescription": "Sites that connect using a provisioning key appear here for review. Approve each site before it becomes active and gains access to your resources.",
|
||||||
|
"pendingSitesBannerButtonText": "Learn More",
|
||||||
"apiKeysSettings": "{apiKeyName} Settings",
|
"apiKeysSettings": "{apiKeyName} Settings",
|
||||||
"userTitle": "Manage All Users",
|
"userTitle": "Manage All Users",
|
||||||
"userDescription": "View and manage all users in the system",
|
"userDescription": "View and manage all users in the system",
|
||||||
@@ -611,6 +624,8 @@
|
|||||||
"targetErrorInvalidPortDescription": "Please enter a valid port number",
|
"targetErrorInvalidPortDescription": "Please enter a valid port number",
|
||||||
"targetErrorNoSite": "No site selected",
|
"targetErrorNoSite": "No site selected",
|
||||||
"targetErrorNoSiteDescription": "Please select a site for the target",
|
"targetErrorNoSiteDescription": "Please select a site for the target",
|
||||||
|
"targetTargetsCleared": "Targets cleared",
|
||||||
|
"targetTargetsClearedDescription": "All targets have been removed from this resource",
|
||||||
"targetCreated": "Target created",
|
"targetCreated": "Target created",
|
||||||
"targetCreatedDescription": "Target has been created successfully",
|
"targetCreatedDescription": "Target has been created successfully",
|
||||||
"targetErrorCreate": "Failed to create target",
|
"targetErrorCreate": "Failed to create target",
|
||||||
@@ -1237,7 +1252,6 @@
|
|||||||
"actionViewLogs": "View Logs",
|
"actionViewLogs": "View Logs",
|
||||||
"noneSelected": "None selected",
|
"noneSelected": "None selected",
|
||||||
"orgNotFound2": "No organizations found.",
|
"orgNotFound2": "No organizations found.",
|
||||||
"search": "Search…",
|
|
||||||
"searchPlaceholder": "Search...",
|
"searchPlaceholder": "Search...",
|
||||||
"emptySearchOptions": "No options found",
|
"emptySearchOptions": "No options found",
|
||||||
"create": "Create",
|
"create": "Create",
|
||||||
@@ -1322,96 +1336,10 @@
|
|||||||
"sidebarGeneral": "Manage",
|
"sidebarGeneral": "Manage",
|
||||||
"sidebarLogAndAnalytics": "Log & Analytics",
|
"sidebarLogAndAnalytics": "Log & Analytics",
|
||||||
"sidebarBluePrints": "Blueprints",
|
"sidebarBluePrints": "Blueprints",
|
||||||
"sidebarAlerting": "Alerting",
|
|
||||||
"sidebarOrganization": "Organization",
|
"sidebarOrganization": "Organization",
|
||||||
"sidebarManagement": "Management",
|
"sidebarManagement": "Management",
|
||||||
"sidebarBillingAndLicenses": "Billing & Licenses",
|
"sidebarBillingAndLicenses": "Billing & Licenses",
|
||||||
"sidebarLogsAnalytics": "Analytics",
|
"sidebarLogsAnalytics": "Analytics",
|
||||||
"alertingTitle": "Alerting rules",
|
|
||||||
"alertingDescription": "Define sources, triggers, and actions for notifications.",
|
|
||||||
"alertingRules": "Alert rules",
|
|
||||||
"alertingSearchRules": "Search rules…",
|
|
||||||
"alertingAddRule": "Create Rule",
|
|
||||||
"alertingColumnSource": "Source",
|
|
||||||
"alertingColumnTrigger": "Trigger",
|
|
||||||
"alertingColumnActions": "Actions",
|
|
||||||
"alertingColumnEnabled": "Enabled",
|
|
||||||
"alertingDeleteQuestion": "Delete this alert rule? This cannot be undone.",
|
|
||||||
"alertingDeleteRule": "Delete alert rule",
|
|
||||||
"alertingRuleDeleted": "Alert rule deleted",
|
|
||||||
"alertingRuleSaved": "Alert rule saved",
|
|
||||||
"alertingEditRule": "Edit alert rule",
|
|
||||||
"alertingCreateRule": "Create alert rule",
|
|
||||||
"alertingRuleCredenzaDescription": "Choose what to watch, when to fire, and how to notify your team.",
|
|
||||||
"alertingRuleNamePlaceholder": "Production site down",
|
|
||||||
"alertingRuleEnabled": "Rule enabled",
|
|
||||||
"alertingSectionSource": "Source",
|
|
||||||
"alertingSourceType": "Source type",
|
|
||||||
"alertingSourceSite": "Site",
|
|
||||||
"alertingSourceHealthCheck": "Health check",
|
|
||||||
"alertingPickSites": "Sites",
|
|
||||||
"alertingPickHealthChecks": "Health checks",
|
|
||||||
"alertingPickResources": "Resources",
|
|
||||||
"alertingSelectResources": "Select resources…",
|
|
||||||
"alertingResourcesSelected": "{count} resources selected",
|
|
||||||
"alertingResourcesEmpty": "No resources with targets in the first 10 results.",
|
|
||||||
"alertingSectionTrigger": "Trigger",
|
|
||||||
"alertingTrigger": "When to alert",
|
|
||||||
"alertingTriggerSiteOnline": "Site online",
|
|
||||||
"alertingTriggerSiteOffline": "Site offline",
|
|
||||||
"alertingTriggerHcHealthy": "Health check healthy",
|
|
||||||
"alertingTriggerHcUnhealthy": "Health check unhealthy",
|
|
||||||
"alertingSectionActions": "Actions",
|
|
||||||
"alertingAddAction": "Add action",
|
|
||||||
"alertingActionNotify": "Notify",
|
|
||||||
"alertingActionSms": "SMS",
|
|
||||||
"alertingActionWebhook": "Webhook",
|
|
||||||
"alertingActionType": "Action type",
|
|
||||||
"alertingNotifyUsers": "Users",
|
|
||||||
"alertingNotifyRoles": "Roles",
|
|
||||||
"alertingNotifyEmails": "Email addresses",
|
|
||||||
"alertingEmailPlaceholder": "Add email and press Enter",
|
|
||||||
"alertingSmsNumbers": "Phone numbers",
|
|
||||||
"alertingSmsPlaceholder": "Add number and press Enter",
|
|
||||||
"alertingWebhookMethod": "HTTP method",
|
|
||||||
"alertingWebhookSecret": "Signing secret (optional)",
|
|
||||||
"alertingWebhookSecretPlaceholder": "HMAC secret",
|
|
||||||
"alertingWebhookHeaders": "Headers",
|
|
||||||
"alertingAddHeader": "Add header",
|
|
||||||
"alertingSelectSites": "Select sites…",
|
|
||||||
"alertingSitesSelected": "{count} sites selected",
|
|
||||||
"alertingSelectHealthChecks": "Select health checks…",
|
|
||||||
"alertingHealthChecksSelected": "{count} health checks selected",
|
|
||||||
"alertingNoHealthChecks": "No targets with health checks enabled",
|
|
||||||
"alertingHealthCheckStub": "Health check source selection is not wired up yet — you can still configure triggers and actions.",
|
|
||||||
"alertingSelectUsers": "Select users…",
|
|
||||||
"alertingUsersSelected": "{count} users selected",
|
|
||||||
"alertingSelectRoles": "Select roles…",
|
|
||||||
"alertingRolesSelected": "{count} roles selected",
|
|
||||||
"alertingSummarySites": "Sites ({count})",
|
|
||||||
"alertingSummaryHealthChecks": "Health checks ({count})",
|
|
||||||
"alertingErrorNameRequired": "Enter a name",
|
|
||||||
"alertingErrorActionsMin": "Add at least one action",
|
|
||||||
"alertingErrorPickSites": "Select at least one site",
|
|
||||||
"alertingErrorPickHealthChecks": "Select at least one health check",
|
|
||||||
"alertingErrorTriggerSite": "Choose a site trigger",
|
|
||||||
"alertingErrorTriggerHealth": "Choose a health check trigger",
|
|
||||||
"alertingErrorNotifyRecipients": "Pick users, roles, or at least one email",
|
|
||||||
"alertingErrorSmsPhones": "Add at least one phone number",
|
|
||||||
"alertingErrorWebhookUrl": "Enter a valid webhook URL",
|
|
||||||
"alertingConfigureSource": "Configure Source",
|
|
||||||
"alertingConfigureTrigger": "Configure Trigger",
|
|
||||||
"alertingConfigureActions": "Configure Actions",
|
|
||||||
"alertingBackToRules": "Back to Rules",
|
|
||||||
"alertingDraftBadge": "Draft — save to store this rule",
|
|
||||||
"alertingSidebarHint": "Click a step on the canvas to edit it here.",
|
|
||||||
"alertingGraphCanvasTitle": "Rule Flow",
|
|
||||||
"alertingGraphCanvasDescription": "Visual overview of source, trigger, and actions. Select a node to edit it in the panel.",
|
|
||||||
"alertingNodeNotConfigured": "Not configured yet",
|
|
||||||
"alertingNodeActionsCount": "{count, plural, one {# action} other {# actions}}",
|
|
||||||
"alertingNodeRoleSource": "Source",
|
|
||||||
"alertingNodeRoleTrigger": "Trigger",
|
|
||||||
"alertingNodeRoleAction": "Action",
|
|
||||||
"blueprints": "Blueprints",
|
"blueprints": "Blueprints",
|
||||||
"blueprintsDescription": "Apply declarative configurations and view previous runs",
|
"blueprintsDescription": "Apply declarative configurations and view previous runs",
|
||||||
"blueprintAdd": "Add Blueprint",
|
"blueprintAdd": "Add Blueprint",
|
||||||
@@ -2022,6 +1950,40 @@
|
|||||||
"exitNode": "Exit Node",
|
"exitNode": "Exit Node",
|
||||||
"country": "Country",
|
"country": "Country",
|
||||||
"rulesMatchCountry": "Currently based on source IP",
|
"rulesMatchCountry": "Currently based on source IP",
|
||||||
|
"region": "Region",
|
||||||
|
"selectRegion": "Select region",
|
||||||
|
"searchRegions": "Search regions...",
|
||||||
|
"noRegionFound": "No region found.",
|
||||||
|
"rulesMatchRegion": "Select a regional grouping of countries",
|
||||||
|
"rulesErrorInvalidRegion": "Invalid region",
|
||||||
|
"rulesErrorInvalidRegionDescription": "Please select a valid region.",
|
||||||
|
"regionAfrica": "Africa",
|
||||||
|
"regionNorthernAfrica": "Northern Africa",
|
||||||
|
"regionEasternAfrica": "Eastern Africa",
|
||||||
|
"regionMiddleAfrica": "Middle Africa",
|
||||||
|
"regionSouthernAfrica": "Southern Africa",
|
||||||
|
"regionWesternAfrica": "Western Africa",
|
||||||
|
"regionAmericas": "Americas",
|
||||||
|
"regionCaribbean": "Caribbean",
|
||||||
|
"regionCentralAmerica": "Central America",
|
||||||
|
"regionSouthAmerica": "South America",
|
||||||
|
"regionNorthernAmerica": "Northern America",
|
||||||
|
"regionAsia": "Asia",
|
||||||
|
"regionCentralAsia": "Central Asia",
|
||||||
|
"regionEasternAsia": "Eastern Asia",
|
||||||
|
"regionSouthEasternAsia": "South-Eastern Asia",
|
||||||
|
"regionSouthernAsia": "Southern Asia",
|
||||||
|
"regionWesternAsia": "Western Asia",
|
||||||
|
"regionEurope": "Europe",
|
||||||
|
"regionEasternEurope": "Eastern Europe",
|
||||||
|
"regionNorthernEurope": "Northern Europe",
|
||||||
|
"regionSouthernEurope": "Southern Europe",
|
||||||
|
"regionWesternEurope": "Western Europe",
|
||||||
|
"regionOceania": "Oceania",
|
||||||
|
"regionAustraliaAndNewZealand": "Australia and New Zealand",
|
||||||
|
"regionMelanesia": "Melanesia",
|
||||||
|
"regionMicronesia": "Micronesia",
|
||||||
|
"regionPolynesia": "Polynesia",
|
||||||
"managedSelfHosted": {
|
"managedSelfHosted": {
|
||||||
"title": "Managed Self-Hosted",
|
"title": "Managed Self-Hosted",
|
||||||
"description": "More reliable and low-maintenance self-hosted Pangolin server with extra bells and whistles",
|
"description": "More reliable and low-maintenance self-hosted Pangolin server with extra bells and whistles",
|
||||||
@@ -2485,6 +2447,8 @@
|
|||||||
"logRetentionAccessDescription": "How long to retain access logs",
|
"logRetentionAccessDescription": "How long to retain access logs",
|
||||||
"logRetentionActionLabel": "Action Log Retention",
|
"logRetentionActionLabel": "Action Log Retention",
|
||||||
"logRetentionActionDescription": "How long to retain action logs",
|
"logRetentionActionDescription": "How long to retain action logs",
|
||||||
|
"logRetentionConnectionLabel": "Connection Log Retention",
|
||||||
|
"logRetentionConnectionDescription": "How long to retain connection logs",
|
||||||
"logRetentionDisabled": "Disabled",
|
"logRetentionDisabled": "Disabled",
|
||||||
"logRetention3Days": "3 days",
|
"logRetention3Days": "3 days",
|
||||||
"logRetention7Days": "7 days",
|
"logRetention7Days": "7 days",
|
||||||
@@ -2498,11 +2462,12 @@
|
|||||||
"connectionLogs": "Connection Logs",
|
"connectionLogs": "Connection Logs",
|
||||||
"connectionLogsDescription": "View connection logs for tunnels in this organization",
|
"connectionLogsDescription": "View connection logs for tunnels in this organization",
|
||||||
"sidebarLogsConnection": "Connection Logs",
|
"sidebarLogsConnection": "Connection Logs",
|
||||||
|
"sidebarLogsStreaming": "Streaming",
|
||||||
"sourceAddress": "Source Address",
|
"sourceAddress": "Source Address",
|
||||||
"destinationAddress": "Destination Address",
|
"destinationAddress": "Destination Address",
|
||||||
"duration": "Duration",
|
"duration": "Duration",
|
||||||
"licenseRequiredToUse": "An <enterpriseLicenseLink>Enterprise Edition</enterpriseLicenseLink> license or <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink> is required to use this feature. <bookADemoLink>Book a demo or POC trial</bookADemoLink>.",
|
"licenseRequiredToUse": "An <enterpriseLicenseLink>Enterprise Edition</enterpriseLicenseLink> license or <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink> is required to use this feature. <bookADemoLink>Book a free demo or POC trial to learn more</bookADemoLink>.",
|
||||||
"ossEnterpriseEditionRequired": "The <enterpriseEditionLink>Enterprise Edition</enterpriseEditionLink> is required to use this feature. This feature is also available in <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>. <bookADemoLink>Book a demo or POC trial</bookADemoLink>.",
|
"ossEnterpriseEditionRequired": "The <enterpriseEditionLink>Enterprise Edition</enterpriseEditionLink> is required to use this feature. This feature is also available in <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>. <bookADemoLink>Book a free demo or POC trial to learn more</bookADemoLink>.",
|
||||||
"certResolver": "Certificate Resolver",
|
"certResolver": "Certificate Resolver",
|
||||||
"certResolverDescription": "Select the certificate resolver to use for this resource.",
|
"certResolverDescription": "Select the certificate resolver to use for this resource.",
|
||||||
"selectCertResolver": "Select Certificate Resolver",
|
"selectCertResolver": "Select Certificate Resolver",
|
||||||
@@ -2841,5 +2806,89 @@
|
|||||||
"approvalsEmptyStatePreviewDescription": "Preview: When enabled, pending device requests will appear here for review",
|
"approvalsEmptyStatePreviewDescription": "Preview: When enabled, pending device requests will appear here for review",
|
||||||
"approvalsEmptyStateButtonText": "Manage Roles",
|
"approvalsEmptyStateButtonText": "Manage Roles",
|
||||||
"domainErrorTitle": "We are having trouble verifying your domain",
|
"domainErrorTitle": "We are having trouble verifying your domain",
|
||||||
"idpAdminAutoProvisionPoliciesTabHint": "Configure role mapping and organization policies on the <policiesTabLink>Auto Provision Settings</policiesTabLink> tab."
|
"idpAdminAutoProvisionPoliciesTabHint": "Configure role mapping and organization policies on the <policiesTabLink>Auto Provision Settings</policiesTabLink> tab.",
|
||||||
|
"streamingTitle": "Event Streaming",
|
||||||
|
"streamingDescription": "Stream events from your organization to external destinations in real time.",
|
||||||
|
"streamingUnnamedDestination": "Unnamed destination",
|
||||||
|
"streamingNoUrlConfigured": "No URL configured",
|
||||||
|
"streamingAddDestination": "Add Destination",
|
||||||
|
"streamingHttpWebhookTitle": "HTTP Webhook",
|
||||||
|
"streamingHttpWebhookDescription": "Send events to any HTTP endpoint with flexible authentication and templating.",
|
||||||
|
"streamingS3Title": "Amazon S3",
|
||||||
|
"streamingS3Description": "Stream events to an S3-compatible object storage bucket. Coming soon.",
|
||||||
|
"streamingDatadogTitle": "Datadog",
|
||||||
|
"streamingDatadogDescription": "Forward events directly to your Datadog account. Coming soon.",
|
||||||
|
"streamingTypePickerDescription": "Choose a destination type to get started.",
|
||||||
|
"streamingFailedToLoad": "Failed to load destinations",
|
||||||
|
"streamingUnexpectedError": "An unexpected error occurred.",
|
||||||
|
"streamingFailedToUpdate": "Failed to update destination",
|
||||||
|
"streamingDeletedSuccess": "Destination deleted successfully",
|
||||||
|
"streamingFailedToDelete": "Failed to delete destination",
|
||||||
|
"streamingDeleteTitle": "Delete Destination",
|
||||||
|
"streamingDeleteButtonText": "Delete Destination",
|
||||||
|
"streamingDeleteDialogAreYouSure": "Are you sure you want to delete",
|
||||||
|
"streamingDeleteDialogThisDestination": "this destination",
|
||||||
|
"streamingDeleteDialogPermanentlyRemoved": "? All configuration will be permanently removed.",
|
||||||
|
"httpDestEditTitle": "Edit Destination",
|
||||||
|
"httpDestAddTitle": "Add HTTP Destination",
|
||||||
|
"httpDestEditDescription": "Update the configuration for this HTTP event streaming destination.",
|
||||||
|
"httpDestAddDescription": "Configure a new HTTP endpoint to receive your organization's events.",
|
||||||
|
"httpDestTabSettings": "Settings",
|
||||||
|
"httpDestTabHeaders": "Headers",
|
||||||
|
"httpDestTabBody": "Body",
|
||||||
|
"httpDestTabLogs": "Logs",
|
||||||
|
"httpDestNamePlaceholder": "My HTTP destination",
|
||||||
|
"httpDestUrlLabel": "Destination URL",
|
||||||
|
"httpDestUrlErrorHttpRequired": "URL must use http or https",
|
||||||
|
"httpDestUrlErrorHttpsRequired": "HTTPS is required on cloud deployments",
|
||||||
|
"httpDestUrlErrorInvalid": "Enter a valid URL (e.g. https://example.com/webhook)",
|
||||||
|
"httpDestAuthTitle": "Authentication",
|
||||||
|
"httpDestAuthDescription": "Choose how requests to your endpoint are authenticated.",
|
||||||
|
"httpDestAuthNoneTitle": "No Authentication",
|
||||||
|
"httpDestAuthNoneDescription": "Sends requests without an Authorization header.",
|
||||||
|
"httpDestAuthBearerTitle": "Bearer Token",
|
||||||
|
"httpDestAuthBearerDescription": "Adds an Authorization: Bearer <token> header to each request.",
|
||||||
|
"httpDestAuthBearerPlaceholder": "Your API key or token",
|
||||||
|
"httpDestAuthBasicTitle": "Basic Auth",
|
||||||
|
"httpDestAuthBasicDescription": "Adds an Authorization: Basic <credentials> header. Provide credentials as username:password.",
|
||||||
|
"httpDestAuthBasicPlaceholder": "username:password",
|
||||||
|
"httpDestAuthCustomTitle": "Custom Header",
|
||||||
|
"httpDestAuthCustomDescription": "Specify a custom HTTP header name and value for authentication (e.g. X-API-Key).",
|
||||||
|
"httpDestAuthCustomHeaderNamePlaceholder": "Header name (e.g. X-API-Key)",
|
||||||
|
"httpDestAuthCustomHeaderValuePlaceholder": "Header value",
|
||||||
|
"httpDestCustomHeadersTitle": "Custom HTTP Headers",
|
||||||
|
"httpDestCustomHeadersDescription": "Add custom headers to every outgoing request. Useful for static tokens or a custom Content-Type. By default, Content-Type: application/json is sent.",
|
||||||
|
"httpDestNoHeadersConfigured": "No custom headers configured. Click \"Add Header\" to add one.",
|
||||||
|
"httpDestHeaderNamePlaceholder": "Header name",
|
||||||
|
"httpDestHeaderValuePlaceholder": "Value",
|
||||||
|
"httpDestAddHeader": "Add Header",
|
||||||
|
"httpDestBodyTemplateTitle": "Custom Body Template",
|
||||||
|
"httpDestBodyTemplateDescription": "Control the JSON payload structure sent to your endpoint. If disabled, a default JSON object is sent for each event.",
|
||||||
|
"httpDestEnableBodyTemplate": "Enable custom body template",
|
||||||
|
"httpDestBodyTemplateLabel": "Body Template (JSON)",
|
||||||
|
"httpDestBodyTemplateHint": "Use template variables to reference event fields in your payload.",
|
||||||
|
"httpDestPayloadFormatTitle": "Payload Format",
|
||||||
|
"httpDestPayloadFormatDescription": "How events are serialised into each request body.",
|
||||||
|
"httpDestFormatJsonArrayTitle": "JSON Array",
|
||||||
|
"httpDestFormatJsonArrayDescription": "One request per batch, body is a JSON array. Compatible with most generic webhooks and Datadog.",
|
||||||
|
"httpDestFormatNdjsonTitle": "NDJSON",
|
||||||
|
"httpDestFormatNdjsonDescription": "One request per batch, body is newline-delimited JSON — one object per line, no outer array. Required by Splunk HEC, Elastic / OpenSearch, and Grafana Loki.",
|
||||||
|
"httpDestFormatSingleTitle": "One Event Per Request",
|
||||||
|
"httpDestFormatSingleDescription": "Sends a separate HTTP POST for each individual event. Use only for endpoints that cannot handle batches.",
|
||||||
|
"httpDestLogTypesTitle": "Log Types",
|
||||||
|
"httpDestLogTypesDescription": "Choose which log types are forwarded to this destination. Only enabled log types will be streamed.",
|
||||||
|
"httpDestAccessLogsTitle": "Access Logs",
|
||||||
|
"httpDestAccessLogsDescription": "Resource access attempts, including authenticated and denied requests.",
|
||||||
|
"httpDestActionLogsTitle": "Action Logs",
|
||||||
|
"httpDestActionLogsDescription": "Administrative actions performed by users within the organization.",
|
||||||
|
"httpDestConnectionLogsTitle": "Connection Logs",
|
||||||
|
"httpDestConnectionLogsDescription": "Site and tunnel connection events, including connects and disconnects.",
|
||||||
|
"httpDestRequestLogsTitle": "Request Logs",
|
||||||
|
"httpDestRequestLogsDescription": "HTTP request logs for proxied resources, including method, path, and response code.",
|
||||||
|
"httpDestSaveChanges": "Save Changes",
|
||||||
|
"httpDestCreateDestination": "Create Destination",
|
||||||
|
"httpDestUpdatedSuccess": "Destination updated successfully",
|
||||||
|
"httpDestCreatedSuccess": "Destination created successfully",
|
||||||
|
"httpDestUpdateFailed": "Failed to update destination",
|
||||||
|
"httpDestCreateFailed": "Failed to create destination"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -148,6 +148,11 @@
|
|||||||
"createLink": "Crear enlace",
|
"createLink": "Crear enlace",
|
||||||
"resourcesNotFound": "No se encontraron recursos",
|
"resourcesNotFound": "No se encontraron recursos",
|
||||||
"resourceSearch": "Buscar recursos",
|
"resourceSearch": "Buscar recursos",
|
||||||
|
"machineSearch": "Buscar máquinas",
|
||||||
|
"machinesSearch": "Buscar clientes...",
|
||||||
|
"machineNotFound": "No hay máquinas",
|
||||||
|
"userDeviceSearch": "Buscar dispositivos de usuario",
|
||||||
|
"userDevicesSearch": "Buscar dispositivos de usuario...",
|
||||||
"openMenu": "Abrir menú",
|
"openMenu": "Abrir menú",
|
||||||
"resource": "Recurso",
|
"resource": "Recurso",
|
||||||
"title": "Título",
|
"title": "Título",
|
||||||
@@ -323,6 +328,54 @@
|
|||||||
"apiKeysDelete": "Borrar Clave API",
|
"apiKeysDelete": "Borrar Clave API",
|
||||||
"apiKeysManage": "Administrar claves API",
|
"apiKeysManage": "Administrar claves API",
|
||||||
"apiKeysDescription": "Las claves API se utilizan para autenticar con la API de integración",
|
"apiKeysDescription": "Las claves API se utilizan para autenticar con la API de integración",
|
||||||
|
"provisioningKeysTitle": "Clave de aprovisionamiento",
|
||||||
|
"provisioningKeysManage": "Administrar Claves de Aprovisionamiento",
|
||||||
|
"provisioningKeysDescription": "Las claves de aprovisionamiento se utilizan para autenticar la provisión automatizada del sitio para su organización.",
|
||||||
|
"provisioningManage": "Aprovisionamiento",
|
||||||
|
"provisioningDescription": "Administrar las claves de aprovisionamiento y revisar los sitios pendientes de aprobación.",
|
||||||
|
"pendingSites": "Sitios pendientes",
|
||||||
|
"siteApproveSuccess": "Sitio aprobado con éxito",
|
||||||
|
"siteApproveError": "Error al aprobar el sitio",
|
||||||
|
"provisioningKeys": "Claves de aprovisionamiento",
|
||||||
|
"searchProvisioningKeys": "Buscar claves de suministro...",
|
||||||
|
"provisioningKeysAdd": "Generar clave de aprovisionamiento",
|
||||||
|
"provisioningKeysErrorDelete": "Error al eliminar la clave de aprovisionamiento",
|
||||||
|
"provisioningKeysErrorDeleteMessage": "Error al eliminar la clave de aprovisionamiento",
|
||||||
|
"provisioningKeysQuestionRemove": "¿Está seguro que desea eliminar esta clave de aprovisionamiento de la organización?",
|
||||||
|
"provisioningKeysMessageRemove": "Una vez eliminada, la clave ya no se puede utilizar para la disposición del sitio.",
|
||||||
|
"provisioningKeysDeleteConfirm": "Confirmar Eliminar Clave de Aprovisionamiento",
|
||||||
|
"provisioningKeysDelete": "Eliminar clave de aprovisionamiento",
|
||||||
|
"provisioningKeysCreate": "Generar clave de aprovisionamiento",
|
||||||
|
"provisioningKeysCreateDescription": "Generar una nueva clave de aprovisionamiento para la organización",
|
||||||
|
"provisioningKeysSeeAll": "Ver todas las claves de aprovisionamiento",
|
||||||
|
"provisioningKeysSave": "Guardar la clave de aprovisionamiento",
|
||||||
|
"provisioningKeysSaveDescription": "Sólo podrás verlo una vez. Copítalo a un lugar seguro.",
|
||||||
|
"provisioningKeysErrorCreate": "Error al crear la clave de provisioning",
|
||||||
|
"provisioningKeysList": "Nueva clave de aprovisionamiento",
|
||||||
|
"provisioningKeysMaxBatchSize": "Tamaño máximo de lote",
|
||||||
|
"provisioningKeysUnlimitedBatchSize": "Tamaño ilimitado del lote (sin límite)",
|
||||||
|
"provisioningKeysMaxBatchUnlimited": "Ilimitado",
|
||||||
|
"provisioningKeysMaxBatchSizeInvalid": "Introduzca un tamaño máximo de lote válido (1–1,000,000).",
|
||||||
|
"provisioningKeysValidUntil": "Válido hasta",
|
||||||
|
"provisioningKeysValidUntilHint": "Dejar vacío para no expirar.",
|
||||||
|
"provisioningKeysValidUntilInvalid": "Introduzca una fecha y hora válidas.",
|
||||||
|
"provisioningKeysNumUsed": "Tiempos usados",
|
||||||
|
"provisioningKeysLastUsed": "Último uso",
|
||||||
|
"provisioningKeysNoExpiry": "No expiración",
|
||||||
|
"provisioningKeysNeverUsed": "Nunca",
|
||||||
|
"provisioningKeysEdit": "Editar clave de aprovisionamiento",
|
||||||
|
"provisioningKeysEditDescription": "Actualizar el tamaño máximo de lote y el tiempo de caducidad para esta clave.",
|
||||||
|
"provisioningKeysApproveNewSites": "Aprobar nuevos sitios",
|
||||||
|
"provisioningKeysApproveNewSitesDescription": "Aprobar automáticamente los sitios que se registran con esta clave.",
|
||||||
|
"provisioningKeysUpdateError": "Error al actualizar la clave de aprovisionamiento",
|
||||||
|
"provisioningKeysUpdated": "Clave de aprovisionamiento actualizada",
|
||||||
|
"provisioningKeysUpdatedDescription": "Sus cambios han sido guardados.",
|
||||||
|
"provisioningKeysBannerTitle": "Claves de aprovisionamiento del sitio",
|
||||||
|
"provisioningKeysBannerDescription": "Generar una clave de aprovisionamiento y usarla con el conector Newt para crear automáticamente sitios en el primer inicio — no es necesario configurar credenciales separadas para cada sitio.",
|
||||||
|
"provisioningKeysBannerButtonText": "Saber más",
|
||||||
|
"pendingSitesBannerTitle": "Sitios pendientes",
|
||||||
|
"pendingSitesBannerDescription": "Los sitios que se conectan usando una clave de aprovisionamiento aparecen aquí para su revisión. Aprobar cada sitio antes de que se active y obtenga acceso a sus recursos.",
|
||||||
|
"pendingSitesBannerButtonText": "Saber más",
|
||||||
"apiKeysSettings": "Ajustes {apiKeyName}",
|
"apiKeysSettings": "Ajustes {apiKeyName}",
|
||||||
"userTitle": "Administrar todos los usuarios",
|
"userTitle": "Administrar todos los usuarios",
|
||||||
"userDescription": "Ver y administrar todos los usuarios en el sistema",
|
"userDescription": "Ver y administrar todos los usuarios en el sistema",
|
||||||
@@ -509,9 +562,12 @@
|
|||||||
"userSaved": "Usuario guardado",
|
"userSaved": "Usuario guardado",
|
||||||
"userSavedDescription": "El usuario ha sido actualizado.",
|
"userSavedDescription": "El usuario ha sido actualizado.",
|
||||||
"autoProvisioned": "Auto asegurado",
|
"autoProvisioned": "Auto asegurado",
|
||||||
|
"autoProvisionSettings": "Configuración de Auto Provision",
|
||||||
"autoProvisionedDescription": "Permitir a este usuario ser administrado automáticamente por el proveedor de identidad",
|
"autoProvisionedDescription": "Permitir a este usuario ser administrado automáticamente por el proveedor de identidad",
|
||||||
"accessControlsDescription": "Administrar lo que este usuario puede acceder y hacer en la organización",
|
"accessControlsDescription": "Administrar lo que este usuario puede acceder y hacer en la organización",
|
||||||
"accessControlsSubmit": "Guardar controles de acceso",
|
"accessControlsSubmit": "Guardar controles de acceso",
|
||||||
|
"singleRolePerUserPlanNotice": "Tu plan sólo soporta un rol por usuario.",
|
||||||
|
"singleRolePerUserEditionNotice": "Esta edición sólo soporta un rol por usuario.",
|
||||||
"roles": "Roles",
|
"roles": "Roles",
|
||||||
"accessUsersRoles": "Administrar usuarios y roles",
|
"accessUsersRoles": "Administrar usuarios y roles",
|
||||||
"accessUsersRolesDescription": "Invitar usuarios y añadirlos a roles para administrar el acceso a la organización",
|
"accessUsersRolesDescription": "Invitar usuarios y añadirlos a roles para administrar el acceso a la organización",
|
||||||
@@ -1119,6 +1175,7 @@
|
|||||||
"setupTokenDescription": "Ingrese el token de configuración desde la consola del servidor.",
|
"setupTokenDescription": "Ingrese el token de configuración desde la consola del servidor.",
|
||||||
"setupTokenRequired": "Se requiere el token de configuración",
|
"setupTokenRequired": "Se requiere el token de configuración",
|
||||||
"actionUpdateSite": "Actualizar sitio",
|
"actionUpdateSite": "Actualizar sitio",
|
||||||
|
"actionResetSiteBandwidth": "Restablecer ancho de banda de la organización",
|
||||||
"actionListSiteRoles": "Lista de roles permitidos del sitio",
|
"actionListSiteRoles": "Lista de roles permitidos del sitio",
|
||||||
"actionCreateResource": "Crear Recurso",
|
"actionCreateResource": "Crear Recurso",
|
||||||
"actionDeleteResource": "Eliminar Recurso",
|
"actionDeleteResource": "Eliminar Recurso",
|
||||||
@@ -1148,7 +1205,7 @@
|
|||||||
"actionRemoveUser": "Eliminar usuario",
|
"actionRemoveUser": "Eliminar usuario",
|
||||||
"actionListUsers": "Listar usuarios",
|
"actionListUsers": "Listar usuarios",
|
||||||
"actionAddUserRole": "Añadir rol de usuario",
|
"actionAddUserRole": "Añadir rol de usuario",
|
||||||
"actionSetUserOrgRoles": "Set User Roles",
|
"actionSetUserOrgRoles": "Establecer roles de usuario",
|
||||||
"actionGenerateAccessToken": "Generar token de acceso",
|
"actionGenerateAccessToken": "Generar token de acceso",
|
||||||
"actionDeleteAccessToken": "Eliminar token de acceso",
|
"actionDeleteAccessToken": "Eliminar token de acceso",
|
||||||
"actionListAccessTokens": "Lista de Tokens de Acceso",
|
"actionListAccessTokens": "Lista de Tokens de Acceso",
|
||||||
@@ -1265,6 +1322,7 @@
|
|||||||
"sidebarRoles": "Roles",
|
"sidebarRoles": "Roles",
|
||||||
"sidebarShareableLinks": "Enlaces",
|
"sidebarShareableLinks": "Enlaces",
|
||||||
"sidebarApiKeys": "Claves API",
|
"sidebarApiKeys": "Claves API",
|
||||||
|
"sidebarProvisioning": "Aprovisionamiento",
|
||||||
"sidebarSettings": "Ajustes",
|
"sidebarSettings": "Ajustes",
|
||||||
"sidebarAllUsers": "Todos los usuarios",
|
"sidebarAllUsers": "Todos los usuarios",
|
||||||
"sidebarIdentityProviders": "Proveedores de identidad",
|
"sidebarIdentityProviders": "Proveedores de identidad",
|
||||||
@@ -1890,6 +1948,40 @@
|
|||||||
"exitNode": "Nodo de Salida",
|
"exitNode": "Nodo de Salida",
|
||||||
"country": "País",
|
"country": "País",
|
||||||
"rulesMatchCountry": "Actualmente basado en IP de origen",
|
"rulesMatchCountry": "Actualmente basado en IP de origen",
|
||||||
|
"region": "Región",
|
||||||
|
"selectRegion": "Seleccionar región",
|
||||||
|
"searchRegions": "Buscar regiones...",
|
||||||
|
"noRegionFound": "Región no encontrada.",
|
||||||
|
"rulesMatchRegion": "Seleccione una agrupación regional de países",
|
||||||
|
"rulesErrorInvalidRegion": "Región no válida",
|
||||||
|
"rulesErrorInvalidRegionDescription": "Por favor, seleccione una región válida.",
|
||||||
|
"regionAfrica": "Africa",
|
||||||
|
"regionNorthernAfrica": "África septentrional",
|
||||||
|
"regionEasternAfrica": "África oriental",
|
||||||
|
"regionMiddleAfrica": "África central",
|
||||||
|
"regionSouthernAfrica": "África del Sur",
|
||||||
|
"regionWesternAfrica": "África Occidental",
|
||||||
|
"regionAmericas": "Américas",
|
||||||
|
"regionCaribbean": "Caribe",
|
||||||
|
"regionCentralAmerica": "América Central",
|
||||||
|
"regionSouthAmerica": "América del Sur",
|
||||||
|
"regionNorthernAmerica": "América del Norte",
|
||||||
|
"regionAsia": "Asia",
|
||||||
|
"regionCentralAsia": "Asia Central",
|
||||||
|
"regionEasternAsia": "Asia oriental",
|
||||||
|
"regionSouthEasternAsia": "Asia sudoriental",
|
||||||
|
"regionSouthernAsia": "Asia meridional",
|
||||||
|
"regionWesternAsia": "Asia Occidental",
|
||||||
|
"regionEurope": "Europa",
|
||||||
|
"regionEasternEurope": "Europa del Este",
|
||||||
|
"regionNorthernEurope": "Europa septentrional",
|
||||||
|
"regionSouthernEurope": "Europa meridional",
|
||||||
|
"regionWesternEurope": "Europa Occidental",
|
||||||
|
"regionOceania": "Oceania",
|
||||||
|
"regionAustraliaAndNewZealand": "Australia y Nueva Zelanda",
|
||||||
|
"regionMelanesia": "Melanesia",
|
||||||
|
"regionMicronesia": "Micronesia",
|
||||||
|
"regionPolynesia": "Polynesia",
|
||||||
"managedSelfHosted": {
|
"managedSelfHosted": {
|
||||||
"title": "Autogestionado",
|
"title": "Autogestionado",
|
||||||
"description": "Servidor Pangolin autoalojado más fiable y de bajo mantenimiento con campanas y silbidos extra",
|
"description": "Servidor Pangolin autoalojado más fiable y de bajo mantenimiento con campanas y silbidos extra",
|
||||||
@@ -1938,6 +2030,25 @@
|
|||||||
"invalidValue": "Valor inválido",
|
"invalidValue": "Valor inválido",
|
||||||
"idpTypeLabel": "Tipo de proveedor de identidad",
|
"idpTypeLabel": "Tipo de proveedor de identidad",
|
||||||
"roleMappingExpressionPlaceholder": "e.g., contiene(grupos, 'administrador') && 'administrador' || 'miembro'",
|
"roleMappingExpressionPlaceholder": "e.g., contiene(grupos, 'administrador') && 'administrador' || 'miembro'",
|
||||||
|
"roleMappingModeFixedRoles": "Roles fijos",
|
||||||
|
"roleMappingModeMappingBuilder": "Constructor de mapeo",
|
||||||
|
"roleMappingModeRawExpression": "Expresión sin procesar",
|
||||||
|
"roleMappingFixedRolesPlaceholderSelect": "Seleccione uno o más roles",
|
||||||
|
"roleMappingFixedRolesPlaceholderFreeform": "Nombre de rol de tipo (coincidencia exacta por organización)",
|
||||||
|
"roleMappingFixedRolesDescriptionSameForAll": "Asignar el mismo rol establecido a cada usuario auto-provisionado.",
|
||||||
|
"roleMappingFixedRolesDescriptionDefaultPolicy": "Para las políticas predeterminadas, escriba nombres de roles que existen en cada organización donde los usuarios son proporcionados. Los nombres deben coincidir exactamente.",
|
||||||
|
"roleMappingClaimPath": "Reclamar ruta",
|
||||||
|
"roleMappingClaimPathPlaceholder": "grupos",
|
||||||
|
"roleMappingClaimPathDescription": "Ruta en el payload del token que contiene valores de origen (por ejemplo, grupos).",
|
||||||
|
"roleMappingMatchValue": "Valor de partida",
|
||||||
|
"roleMappingAssignRoles": "Asignar roles",
|
||||||
|
"roleMappingAddMappingRule": "Añadir regla de mapeo",
|
||||||
|
"roleMappingRawExpressionResultDescription": "La expresión debe evaluar a un array de cadenas o cadenas.",
|
||||||
|
"roleMappingRawExpressionResultDescriptionSingleRole": "La expresión debe evaluar una cadena (un solo nombre de rol).",
|
||||||
|
"roleMappingMatchValuePlaceholder": "Valor coincidente (por ejemplo: admin)",
|
||||||
|
"roleMappingAssignRolesPlaceholderFreeform": "Escriba nombres de rol (exacto por org)",
|
||||||
|
"roleMappingBuilderFreeformRowHint": "Los nombres de rol deben coincidir con un rol en cada organización objetivo.",
|
||||||
|
"roleMappingRemoveRule": "Eliminar",
|
||||||
"idpGoogleConfiguration": "Configuración de Google",
|
"idpGoogleConfiguration": "Configuración de Google",
|
||||||
"idpGoogleConfigurationDescription": "Configurar las credenciales de Google OAuth2",
|
"idpGoogleConfigurationDescription": "Configurar las credenciales de Google OAuth2",
|
||||||
"idpGoogleClientIdDescription": "Google OAuth2 Client ID",
|
"idpGoogleClientIdDescription": "Google OAuth2 Client ID",
|
||||||
@@ -2334,6 +2445,8 @@
|
|||||||
"logRetentionAccessDescription": "Cuánto tiempo retener los registros de acceso",
|
"logRetentionAccessDescription": "Cuánto tiempo retener los registros de acceso",
|
||||||
"logRetentionActionLabel": "Retención de registro de acción",
|
"logRetentionActionLabel": "Retención de registro de acción",
|
||||||
"logRetentionActionDescription": "Cuánto tiempo retener los registros de acción",
|
"logRetentionActionDescription": "Cuánto tiempo retener los registros de acción",
|
||||||
|
"logRetentionConnectionLabel": "Retención de Registro de Conexión",
|
||||||
|
"logRetentionConnectionDescription": "Cuánto tiempo conservar los registros de conexión",
|
||||||
"logRetentionDisabled": "Deshabilitado",
|
"logRetentionDisabled": "Deshabilitado",
|
||||||
"logRetention3Days": "3 días",
|
"logRetention3Days": "3 días",
|
||||||
"logRetention7Days": "7 días",
|
"logRetention7Days": "7 días",
|
||||||
@@ -2344,6 +2457,13 @@
|
|||||||
"logRetentionEndOfFollowingYear": "Fin del año siguiente",
|
"logRetentionEndOfFollowingYear": "Fin del año siguiente",
|
||||||
"actionLogsDescription": "Ver un historial de acciones realizadas en esta organización",
|
"actionLogsDescription": "Ver un historial de acciones realizadas en esta organización",
|
||||||
"accessLogsDescription": "Ver solicitudes de acceso a los recursos de esta organización",
|
"accessLogsDescription": "Ver solicitudes de acceso a los recursos de esta organización",
|
||||||
|
"connectionLogs": "Registros de conexión",
|
||||||
|
"connectionLogsDescription": "Ver registros de conexión para túneles en esta organización",
|
||||||
|
"sidebarLogsConnection": "Registros de conexión",
|
||||||
|
"sidebarLogsStreaming": "Transmisión",
|
||||||
|
"sourceAddress": "Dirección de origen",
|
||||||
|
"destinationAddress": "Dirección de destino",
|
||||||
|
"duration": "Duración",
|
||||||
"licenseRequiredToUse": "Se requiere una licencia <enterpriseLicenseLink>Enterprise Edition</enterpriseLicenseLink> o <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink> para usar esta función. <bookADemoLink>Reserve una demostración o prueba POC</bookADemoLink>.",
|
"licenseRequiredToUse": "Se requiere una licencia <enterpriseLicenseLink>Enterprise Edition</enterpriseLicenseLink> o <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink> para usar esta función. <bookADemoLink>Reserve una demostración o prueba POC</bookADemoLink>.",
|
||||||
"ossEnterpriseEditionRequired": "La <enterpriseEditionLink>Enterprise Edition</enterpriseEditionLink> es necesaria para utilizar esta función. Esta función también está disponible en <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>. <bookADemoLink>Reserva una demostración o prueba POC</bookADemoLink>.",
|
"ossEnterpriseEditionRequired": "La <enterpriseEditionLink>Enterprise Edition</enterpriseEditionLink> es necesaria para utilizar esta función. Esta función también está disponible en <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>. <bookADemoLink>Reserva una demostración o prueba POC</bookADemoLink>.",
|
||||||
"certResolver": "Resolver certificado",
|
"certResolver": "Resolver certificado",
|
||||||
@@ -2683,5 +2803,90 @@
|
|||||||
"approvalsEmptyStateStep2Description": "Editar un rol y habilitar la opción 'Requerir aprobaciones de dispositivos'. Los usuarios con este rol necesitarán la aprobación del administrador para nuevos dispositivos.",
|
"approvalsEmptyStateStep2Description": "Editar un rol y habilitar la opción 'Requerir aprobaciones de dispositivos'. Los usuarios con este rol necesitarán la aprobación del administrador para nuevos dispositivos.",
|
||||||
"approvalsEmptyStatePreviewDescription": "Vista previa: Cuando está habilitado, las solicitudes de dispositivo pendientes aparecerán aquí para su revisión",
|
"approvalsEmptyStatePreviewDescription": "Vista previa: Cuando está habilitado, las solicitudes de dispositivo pendientes aparecerán aquí para su revisión",
|
||||||
"approvalsEmptyStateButtonText": "Administrar roles",
|
"approvalsEmptyStateButtonText": "Administrar roles",
|
||||||
"domainErrorTitle": "Estamos teniendo problemas para verificar su dominio"
|
"domainErrorTitle": "Estamos teniendo problemas para verificar su dominio",
|
||||||
|
"idpAdminAutoProvisionPoliciesTabHint": "Configure el mapeo de roles y las políticas de organización en la pestaña <policiesTabLink>Configuración de provisión automática</policiesTabLink>.",
|
||||||
|
"streamingTitle": "Transmisión de Eventos",
|
||||||
|
"streamingDescription": "Transmita eventos desde su organización a destinos externos en tiempo real.",
|
||||||
|
"streamingUnnamedDestination": "Destino sin nombre",
|
||||||
|
"streamingNoUrlConfigured": "No hay URL configurada",
|
||||||
|
"streamingAddDestination": "Añadir destino",
|
||||||
|
"streamingHttpWebhookTitle": "Webhook HTTP",
|
||||||
|
"streamingHttpWebhookDescription": "Enviar eventos a cualquier extremo HTTP con autenticación flexible y plantilla.",
|
||||||
|
"streamingS3Title": "Amazon S3",
|
||||||
|
"streamingS3Description": "Transmite eventos a un bucket de almacenamiento de objetos compatible con S3. Próximamente.",
|
||||||
|
"streamingDatadogTitle": "Datadog",
|
||||||
|
"streamingDatadogDescription": "Reenviar eventos directamente a tu cuenta de Datadog. Próximamente.",
|
||||||
|
"streamingTypePickerDescription": "Elija un tipo de destino para empezar.",
|
||||||
|
"streamingFailedToLoad": "Error al cargar destinos",
|
||||||
|
"streamingUnexpectedError": "Se ha producido un error inesperado.",
|
||||||
|
"streamingFailedToUpdate": "Error al actualizar destino",
|
||||||
|
"streamingDeletedSuccess": "Destino eliminado correctamente",
|
||||||
|
"streamingFailedToDelete": "Error al eliminar destino",
|
||||||
|
"streamingDeleteTitle": "Eliminar destino",
|
||||||
|
"streamingDeleteButtonText": "Eliminar destino",
|
||||||
|
"streamingDeleteDialogAreYouSure": "¿Está seguro que desea eliminar",
|
||||||
|
"streamingDeleteDialogThisDestination": "este destino",
|
||||||
|
"streamingDeleteDialogPermanentlyRemoved": "? Toda la configuración se eliminará permanentemente.",
|
||||||
|
"httpDestEditTitle": "Editar destino",
|
||||||
|
"httpDestAddTitle": "Añadir destino HTTP",
|
||||||
|
"httpDestEditDescription": "Actualizar la configuración para este destino de transmisión de eventos HTTP.",
|
||||||
|
"httpDestAddDescription": "Configure un nuevo extremo HTTP para recibir los eventos de su organización.",
|
||||||
|
"httpDestTabSettings": "Ajustes",
|
||||||
|
"httpDestTabHeaders": "Encabezados",
|
||||||
|
"httpDestTabBody": "Cuerpo",
|
||||||
|
"httpDestTabLogs": "Registros",
|
||||||
|
"httpDestNamePlaceholder": "Mi destino HTTP",
|
||||||
|
"httpDestUrlLabel": "URL de destino",
|
||||||
|
"httpDestUrlErrorHttpRequired": "URL debe usar http o https",
|
||||||
|
"httpDestUrlErrorHttpsRequired": "HTTPS es necesario en implementaciones en la nube",
|
||||||
|
"httpDestUrlErrorInvalid": "Introduzca una URL válida (ej. https://example.com/webhook)",
|
||||||
|
"httpDestAuthTitle": "Autenticación",
|
||||||
|
"httpDestAuthDescription": "Elija cómo están autenticadas las solicitudes en su punto final.",
|
||||||
|
"httpDestAuthNoneTitle": "Sin autenticación",
|
||||||
|
"httpDestAuthNoneDescription": "Envía solicitudes sin un encabezado de autorización.",
|
||||||
|
"httpDestAuthBearerTitle": "Tóken de portador",
|
||||||
|
"httpDestAuthBearerDescription": "Añade una autorización: portador <token> encabezado a cada solicitud.",
|
||||||
|
"httpDestAuthBearerPlaceholder": "Tu clave o token API",
|
||||||
|
"httpDestAuthBasicTitle": "Auth Básica",
|
||||||
|
"httpDestAuthBasicDescription": "Añade una Autorización: encabezado básico <credentials> . Proporcione credenciales como nombre de usuario: contraseña.",
|
||||||
|
"httpDestAuthBasicPlaceholder": "usuario:contraseña",
|
||||||
|
"httpDestAuthCustomTitle": "Cabecera personalizada",
|
||||||
|
"httpDestAuthCustomDescription": "Especifique un nombre de cabecera HTTP personalizado y un valor para la autenticación (por ejemplo, X-API-Key).",
|
||||||
|
"httpDestAuthCustomHeaderNamePlaceholder": "Nombre de cabecera (ej. X-API-Key)",
|
||||||
|
"httpDestAuthCustomHeaderValuePlaceholder": "Valor de cabecera",
|
||||||
|
"httpDestCustomHeadersTitle": "Cabeceras HTTP personalizadas",
|
||||||
|
"httpDestCustomHeadersDescription": "Añadir cabeceras personalizadas a cada petición saliente. Útil para tokens estáticos o un tipo de contenido personalizado. De forma predeterminada, Content Type: application/json es enviado.",
|
||||||
|
"httpDestNoHeadersConfigured": "No hay cabeceras personalizadas. Haga clic en \"Añadir cabecera\" para añadir una.",
|
||||||
|
"httpDestHeaderNamePlaceholder": "Nombre de cabecera",
|
||||||
|
"httpDestHeaderValuePlaceholder": "Valor",
|
||||||
|
"httpDestAddHeader": "Añadir cabecera",
|
||||||
|
"httpDestBodyTemplateTitle": "Plantilla de cuerpo personalizada",
|
||||||
|
"httpDestBodyTemplateDescription": "Controla la estructura de carga de JSON enviada a tu punto final. Si está desactivado, se envía un objeto JSON por defecto para cada evento.",
|
||||||
|
"httpDestEnableBodyTemplate": "Activar plantilla de cuerpo personalizado",
|
||||||
|
"httpDestBodyTemplateLabel": "Plantilla de cuerpo (JSON)",
|
||||||
|
"httpDestBodyTemplateHint": "Utilice variables de plantilla para referenciar los campos del evento en su carga útil.",
|
||||||
|
"httpDestPayloadFormatTitle": "Formato de carga",
|
||||||
|
"httpDestPayloadFormatDescription": "Cómo se serializan los eventos en cada cuerpo de solicitud.",
|
||||||
|
"httpDestFormatJsonArrayTitle": "Matriz JSON",
|
||||||
|
"httpDestFormatJsonArrayDescription": "Una petición por lote, cuerpo es una matriz JSON. Compatible con la mayoría de los webhooks y Datadog.",
|
||||||
|
"httpDestFormatNdjsonTitle": "NDJSON",
|
||||||
|
"httpDestFormatNdjsonDescription": "Una petición por lote, el cuerpo es JSON delimitado por línea — un objeto por línea, sin arrays externos. Requerido por Splunk HEC, Elastic / OpenSearch, y Grafana Loki.",
|
||||||
|
"httpDestFormatSingleTitle": "Un evento por solicitud",
|
||||||
|
"httpDestFormatSingleDescription": "Envía un HTTP POST separado para cada evento individual. Úsalo sólo para los extremos que no pueden manejar lotes.",
|
||||||
|
"httpDestLogTypesTitle": "Tipos de Log",
|
||||||
|
"httpDestLogTypesDescription": "Elija qué tipos de registro son reenviados a este destino. Sólo los tipos de registro habilitados serán transmitidos.",
|
||||||
|
"httpDestAccessLogsTitle": "Registros de acceso",
|
||||||
|
"httpDestAccessLogsDescription": "Intentos de acceso a recursos, incluyendo solicitudes autenticadas y denegadas.",
|
||||||
|
"httpDestActionLogsTitle": "Registros de acción",
|
||||||
|
"httpDestActionLogsDescription": "Acciones administrativas realizadas por los usuarios dentro de la organización.",
|
||||||
|
"httpDestConnectionLogsTitle": "Registros de conexión",
|
||||||
|
"httpDestConnectionLogsDescription": "Eventos de conexión de sitios y túneles, incluyendo conexiones y desconexiones.",
|
||||||
|
"httpDestRequestLogsTitle": "Registros de Solicitud",
|
||||||
|
"httpDestRequestLogsDescription": "Registros de peticiones HTTP para recursos proxyficados, incluyendo método, ruta y código de respuesta.",
|
||||||
|
"httpDestSaveChanges": "Guardar Cambios",
|
||||||
|
"httpDestCreateDestination": "Crear destino",
|
||||||
|
"httpDestUpdatedSuccess": "Destino actualizado correctamente",
|
||||||
|
"httpDestCreatedSuccess": "Destino creado correctamente",
|
||||||
|
"httpDestUpdateFailed": "Error al actualizar destino",
|
||||||
|
"httpDestCreateFailed": "Error al crear el destino"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -148,6 +148,11 @@
|
|||||||
"createLink": "Créer un lien",
|
"createLink": "Créer un lien",
|
||||||
"resourcesNotFound": "Aucune ressource trouvée",
|
"resourcesNotFound": "Aucune ressource trouvée",
|
||||||
"resourceSearch": "Rechercher des ressources",
|
"resourceSearch": "Rechercher des ressources",
|
||||||
|
"machineSearch": "Rechercher des machines",
|
||||||
|
"machinesSearch": "Rechercher des clients de la machine...",
|
||||||
|
"machineNotFound": "Aucune machine trouvée",
|
||||||
|
"userDeviceSearch": "Rechercher des périphériques utilisateur",
|
||||||
|
"userDevicesSearch": "Rechercher des appareils utilisateurs...",
|
||||||
"openMenu": "Ouvrir le menu",
|
"openMenu": "Ouvrir le menu",
|
||||||
"resource": "Ressource",
|
"resource": "Ressource",
|
||||||
"title": "Titre de la page",
|
"title": "Titre de la page",
|
||||||
@@ -323,6 +328,54 @@
|
|||||||
"apiKeysDelete": "Supprimer la clé d'API",
|
"apiKeysDelete": "Supprimer la clé d'API",
|
||||||
"apiKeysManage": "Gérer les clés d'API",
|
"apiKeysManage": "Gérer les clés d'API",
|
||||||
"apiKeysDescription": "Les clés d'API sont utilisées pour s'authentifier avec l'API d'intégration",
|
"apiKeysDescription": "Les clés d'API sont utilisées pour s'authentifier avec l'API d'intégration",
|
||||||
|
"provisioningKeysTitle": "Clé de provisioning",
|
||||||
|
"provisioningKeysManage": "Gérer les clés de provisioning",
|
||||||
|
"provisioningKeysDescription": "Les clés de provisioning sont utilisées pour authentifier la fourniture automatique de sites pour votre organisation.",
|
||||||
|
"provisioningManage": "Mise en place",
|
||||||
|
"provisioningDescription": "Gérer les clés de provisioning et examiner les sites en attente d'approbation.",
|
||||||
|
"pendingSites": "Sites en attente",
|
||||||
|
"siteApproveSuccess": "Site approuvé avec succès",
|
||||||
|
"siteApproveError": "Erreur lors de l'approbation du site",
|
||||||
|
"provisioningKeys": "Clés de provisionnement",
|
||||||
|
"searchProvisioningKeys": "Recherche des clés de provision...",
|
||||||
|
"provisioningKeysAdd": "Générer une clé de provisioning",
|
||||||
|
"provisioningKeysErrorDelete": "Erreur lors de la suppression de la clé de provisioning",
|
||||||
|
"provisioningKeysErrorDeleteMessage": "Erreur lors de la suppression de la clé de provisioning",
|
||||||
|
"provisioningKeysQuestionRemove": "Êtes-vous sûr de vouloir supprimer cette clé de provisioning de l'organisation ?",
|
||||||
|
"provisioningKeysMessageRemove": "Une fois supprimée, la clé ne peut plus être utilisée pour le provisionnement du site.",
|
||||||
|
"provisioningKeysDeleteConfirm": "Confirmer la suppression de la clé de provisioning",
|
||||||
|
"provisioningKeysDelete": "Supprimer la clé de provisioning",
|
||||||
|
"provisioningKeysCreate": "Générer une clé de provisioning",
|
||||||
|
"provisioningKeysCreateDescription": "Générer une nouvelle clé de provisioning pour l'organisation",
|
||||||
|
"provisioningKeysSeeAll": "Voir toutes les clés de provisioning",
|
||||||
|
"provisioningKeysSave": "Enregistrer la clé de provisioning",
|
||||||
|
"provisioningKeysSaveDescription": "Vous ne pourrez voir cela qu'une seule fois. Copiez-le dans un endroit sécurisé.",
|
||||||
|
"provisioningKeysErrorCreate": "Erreur lors de la création de la clé de provisioning",
|
||||||
|
"provisioningKeysList": "Nouvelle clé de provisioning",
|
||||||
|
"provisioningKeysMaxBatchSize": "Taille maximale du lot",
|
||||||
|
"provisioningKeysUnlimitedBatchSize": "Taille de lot illimitée (sans limite)",
|
||||||
|
"provisioningKeysMaxBatchUnlimited": "Illimité",
|
||||||
|
"provisioningKeysMaxBatchSizeInvalid": "Entrez une taille de lot maximale valide (1–1 000 000).",
|
||||||
|
"provisioningKeysValidUntil": "Valable jusqu'au",
|
||||||
|
"provisioningKeysValidUntilHint": "Laisser vide pour ne pas expirer.",
|
||||||
|
"provisioningKeysValidUntilInvalid": "Entrez une date et une heure valides.",
|
||||||
|
"provisioningKeysNumUsed": "Nombre de fois utilisées",
|
||||||
|
"provisioningKeysLastUsed": "Dernière utilisation",
|
||||||
|
"provisioningKeysNoExpiry": "Pas d'expiration",
|
||||||
|
"provisioningKeysNeverUsed": "Jamais",
|
||||||
|
"provisioningKeysEdit": "Modifier la clé de provisioning",
|
||||||
|
"provisioningKeysEditDescription": "Mettre à jour la taille maximale du lot et la durée d'expiration de cette clé.",
|
||||||
|
"provisioningKeysApproveNewSites": "Approuver les nouveaux sites",
|
||||||
|
"provisioningKeysApproveNewSitesDescription": "Approuver automatiquement les sites qui s'inscrivent avec cette clé.",
|
||||||
|
"provisioningKeysUpdateError": "Erreur lors de la mise à jour de la clé de provisioning",
|
||||||
|
"provisioningKeysUpdated": "Clé de provisioning mise à jour",
|
||||||
|
"provisioningKeysUpdatedDescription": "Vos modifications ont été enregistrées.",
|
||||||
|
"provisioningKeysBannerTitle": "Clés de provisioning du site",
|
||||||
|
"provisioningKeysBannerDescription": "Générez une clé de provisioning et utilisez-la avec le connecteur Newt pour créer automatiquement des sites au premier démarrage — pas besoin de configurer des identifiants distincts pour chaque site.",
|
||||||
|
"provisioningKeysBannerButtonText": "En savoir plus",
|
||||||
|
"pendingSitesBannerTitle": "Sites en attente",
|
||||||
|
"pendingSitesBannerDescription": "Les sites qui se connectent à l'aide d'une clé de provisioning apparaissent ici pour être revus. Approuver chaque site avant qu'il ne devienne actif et qu'il accède à vos ressources.",
|
||||||
|
"pendingSitesBannerButtonText": "En savoir plus",
|
||||||
"apiKeysSettings": "Paramètres de {apiKeyName}",
|
"apiKeysSettings": "Paramètres de {apiKeyName}",
|
||||||
"userTitle": "Gérer tous les utilisateurs",
|
"userTitle": "Gérer tous les utilisateurs",
|
||||||
"userDescription": "Voir et gérer tous les utilisateurs du système",
|
"userDescription": "Voir et gérer tous les utilisateurs du système",
|
||||||
@@ -509,9 +562,12 @@
|
|||||||
"userSaved": "Utilisateur enregistré",
|
"userSaved": "Utilisateur enregistré",
|
||||||
"userSavedDescription": "L'utilisateur a été mis à jour.",
|
"userSavedDescription": "L'utilisateur a été mis à jour.",
|
||||||
"autoProvisioned": "Auto-provisionné",
|
"autoProvisioned": "Auto-provisionné",
|
||||||
|
"autoProvisionSettings": "Paramètres de la fourniture automatique",
|
||||||
"autoProvisionedDescription": "Permettre à cet utilisateur d'être géré automatiquement par le fournisseur d'identité",
|
"autoProvisionedDescription": "Permettre à cet utilisateur d'être géré automatiquement par le fournisseur d'identité",
|
||||||
"accessControlsDescription": "Gérer ce que cet utilisateur peut accéder et faire dans l'organisation",
|
"accessControlsDescription": "Gérer ce que cet utilisateur peut accéder et faire dans l'organisation",
|
||||||
"accessControlsSubmit": "Enregistrer les contrôles d'accès",
|
"accessControlsSubmit": "Enregistrer les contrôles d'accès",
|
||||||
|
"singleRolePerUserPlanNotice": "Votre plan ne prend en charge qu'un seul rôle par utilisateur.",
|
||||||
|
"singleRolePerUserEditionNotice": "Cette édition ne prend en charge qu'un rôle par utilisateur.",
|
||||||
"roles": "Rôles",
|
"roles": "Rôles",
|
||||||
"accessUsersRoles": "Gérer les utilisateurs et les rôles",
|
"accessUsersRoles": "Gérer les utilisateurs et les rôles",
|
||||||
"accessUsersRolesDescription": "Invitez des utilisateurs et ajoutez-les aux rôles pour gérer l'accès à l'organisation",
|
"accessUsersRolesDescription": "Invitez des utilisateurs et ajoutez-les aux rôles pour gérer l'accès à l'organisation",
|
||||||
@@ -1119,6 +1175,7 @@
|
|||||||
"setupTokenDescription": "Entrez le jeton de configuration depuis la console du serveur.",
|
"setupTokenDescription": "Entrez le jeton de configuration depuis la console du serveur.",
|
||||||
"setupTokenRequired": "Le jeton de configuration est requis.",
|
"setupTokenRequired": "Le jeton de configuration est requis.",
|
||||||
"actionUpdateSite": "Mettre à jour un site",
|
"actionUpdateSite": "Mettre à jour un site",
|
||||||
|
"actionResetSiteBandwidth": "Réinitialiser la bande passante de l'organisation",
|
||||||
"actionListSiteRoles": "Lister les rôles autorisés du site",
|
"actionListSiteRoles": "Lister les rôles autorisés du site",
|
||||||
"actionCreateResource": "Créer une ressource",
|
"actionCreateResource": "Créer une ressource",
|
||||||
"actionDeleteResource": "Supprimer une ressource",
|
"actionDeleteResource": "Supprimer une ressource",
|
||||||
@@ -1148,7 +1205,7 @@
|
|||||||
"actionRemoveUser": "Supprimer un utilisateur",
|
"actionRemoveUser": "Supprimer un utilisateur",
|
||||||
"actionListUsers": "Lister les utilisateurs",
|
"actionListUsers": "Lister les utilisateurs",
|
||||||
"actionAddUserRole": "Ajouter un rôle utilisateur",
|
"actionAddUserRole": "Ajouter un rôle utilisateur",
|
||||||
"actionSetUserOrgRoles": "Set User Roles",
|
"actionSetUserOrgRoles": "Définir les rôles de l'utilisateur",
|
||||||
"actionGenerateAccessToken": "Générer un jeton d'accès",
|
"actionGenerateAccessToken": "Générer un jeton d'accès",
|
||||||
"actionDeleteAccessToken": "Supprimer un jeton d'accès",
|
"actionDeleteAccessToken": "Supprimer un jeton d'accès",
|
||||||
"actionListAccessTokens": "Lister les jetons d'accès",
|
"actionListAccessTokens": "Lister les jetons d'accès",
|
||||||
@@ -1265,6 +1322,7 @@
|
|||||||
"sidebarRoles": "Rôles",
|
"sidebarRoles": "Rôles",
|
||||||
"sidebarShareableLinks": "Liens",
|
"sidebarShareableLinks": "Liens",
|
||||||
"sidebarApiKeys": "Clés API",
|
"sidebarApiKeys": "Clés API",
|
||||||
|
"sidebarProvisioning": "Mise en place",
|
||||||
"sidebarSettings": "Réglages",
|
"sidebarSettings": "Réglages",
|
||||||
"sidebarAllUsers": "Tous les utilisateurs",
|
"sidebarAllUsers": "Tous les utilisateurs",
|
||||||
"sidebarIdentityProviders": "Fournisseurs d'identité",
|
"sidebarIdentityProviders": "Fournisseurs d'identité",
|
||||||
@@ -1890,6 +1948,40 @@
|
|||||||
"exitNode": "Nœud de sortie",
|
"exitNode": "Nœud de sortie",
|
||||||
"country": "Pays",
|
"country": "Pays",
|
||||||
"rulesMatchCountry": "Actuellement basé sur l'IP source",
|
"rulesMatchCountry": "Actuellement basé sur l'IP source",
|
||||||
|
"region": "Région",
|
||||||
|
"selectRegion": "Sélectionner une région",
|
||||||
|
"searchRegions": "Rechercher des régions...",
|
||||||
|
"noRegionFound": "Aucune région trouvée.",
|
||||||
|
"rulesMatchRegion": "Sélectionnez un groupement régional de pays",
|
||||||
|
"rulesErrorInvalidRegion": "Région invalide",
|
||||||
|
"rulesErrorInvalidRegionDescription": "Veuillez sélectionner une région valide.",
|
||||||
|
"regionAfrica": "L'Afrique",
|
||||||
|
"regionNorthernAfrica": "Afrique du Nord",
|
||||||
|
"regionEasternAfrica": "Afrique de l'Est",
|
||||||
|
"regionMiddleAfrica": "Afrique Moyenne",
|
||||||
|
"regionSouthernAfrica": "Afrique australe",
|
||||||
|
"regionWesternAfrica": "Afrique de l'Ouest",
|
||||||
|
"regionAmericas": "Amériques",
|
||||||
|
"regionCaribbean": "Caraïbes",
|
||||||
|
"regionCentralAmerica": "Amérique centrale",
|
||||||
|
"regionSouthAmerica": "Amérique du Sud",
|
||||||
|
"regionNorthernAmerica": "Amérique du Nord",
|
||||||
|
"regionAsia": "L'Asie",
|
||||||
|
"regionCentralAsia": "Asie centrale",
|
||||||
|
"regionEasternAsia": "Asie de l'Est",
|
||||||
|
"regionSouthEasternAsia": "Asie du Sud-Est",
|
||||||
|
"regionSouthernAsia": "Asie du Sud",
|
||||||
|
"regionWesternAsia": "Asie de l'Ouest",
|
||||||
|
"regionEurope": "L’Europe",
|
||||||
|
"regionEasternEurope": "Europe de l'Est",
|
||||||
|
"regionNorthernEurope": "Europe du Nord",
|
||||||
|
"regionSouthernEurope": "Europe du Sud",
|
||||||
|
"regionWesternEurope": "Europe occidentale",
|
||||||
|
"regionOceania": "Oceania",
|
||||||
|
"regionAustraliaAndNewZealand": "Australie et Nouvelle-Zélande",
|
||||||
|
"regionMelanesia": "Melanesia",
|
||||||
|
"regionMicronesia": "Micronesia",
|
||||||
|
"regionPolynesia": "Polynesia",
|
||||||
"managedSelfHosted": {
|
"managedSelfHosted": {
|
||||||
"title": "Gestion autonome",
|
"title": "Gestion autonome",
|
||||||
"description": "Serveur Pangolin auto-hébergé avec des cloches et des sifflets supplémentaires",
|
"description": "Serveur Pangolin auto-hébergé avec des cloches et des sifflets supplémentaires",
|
||||||
@@ -1938,6 +2030,25 @@
|
|||||||
"invalidValue": "Valeur non valide",
|
"invalidValue": "Valeur non valide",
|
||||||
"idpTypeLabel": "Type de fournisseur d'identité",
|
"idpTypeLabel": "Type de fournisseur d'identité",
|
||||||
"roleMappingExpressionPlaceholder": "ex: contenu(groupes) && 'admin' || 'membre'",
|
"roleMappingExpressionPlaceholder": "ex: contenu(groupes) && 'admin' || 'membre'",
|
||||||
|
"roleMappingModeFixedRoles": "Rôles fixes",
|
||||||
|
"roleMappingModeMappingBuilder": "Constructeur de cartographie",
|
||||||
|
"roleMappingModeRawExpression": "Expression brute",
|
||||||
|
"roleMappingFixedRolesPlaceholderSelect": "Sélectionnez un ou plusieurs rôles",
|
||||||
|
"roleMappingFixedRolesPlaceholderFreeform": "Tapez les noms des rôles (correspondance exacte par organisation)",
|
||||||
|
"roleMappingFixedRolesDescriptionSameForAll": "Assigner le même jeu de rôles à chaque utilisateur auto-provisionné.",
|
||||||
|
"roleMappingFixedRolesDescriptionDefaultPolicy": "Pour les politiques par défaut, les noms de rôles de type qui existent dans chaque organisation où les utilisateurs sont fournis. Les noms doivent correspondre exactement.",
|
||||||
|
"roleMappingClaimPath": "Chemin de revendication",
|
||||||
|
"roleMappingClaimPathPlaceholder": "Groupes",
|
||||||
|
"roleMappingClaimPathDescription": "Chemin dans le bloc de jeton qui contient les valeurs source (par exemple, les groupes).",
|
||||||
|
"roleMappingMatchValue": "Valeur de la correspondance",
|
||||||
|
"roleMappingAssignRoles": "Assigner des rôles",
|
||||||
|
"roleMappingAddMappingRule": "Ajouter une règle de mappage",
|
||||||
|
"roleMappingRawExpressionResultDescription": "L'expression doit être évaluée à une chaîne ou un tableau de chaînes.",
|
||||||
|
"roleMappingRawExpressionResultDescriptionSingleRole": "L'expression doit être évaluée à une chaîne (un seul nom de rôle).",
|
||||||
|
"roleMappingMatchValuePlaceholder": "Valeur de la correspondance (par exemple: admin)",
|
||||||
|
"roleMappingAssignRolesPlaceholderFreeform": "Tapez les noms des rôles (exact par org)",
|
||||||
|
"roleMappingBuilderFreeformRowHint": "Les noms de rôle doivent correspondre à un rôle dans chaque organisation cible.",
|
||||||
|
"roleMappingRemoveRule": "Supprimer",
|
||||||
"idpGoogleConfiguration": "Configuration Google",
|
"idpGoogleConfiguration": "Configuration Google",
|
||||||
"idpGoogleConfigurationDescription": "Configurer les identifiants Google OAuth2",
|
"idpGoogleConfigurationDescription": "Configurer les identifiants Google OAuth2",
|
||||||
"idpGoogleClientIdDescription": "Google OAuth2 Client ID",
|
"idpGoogleClientIdDescription": "Google OAuth2 Client ID",
|
||||||
@@ -2334,6 +2445,8 @@
|
|||||||
"logRetentionAccessDescription": "Durée de conservation des journaux d'accès",
|
"logRetentionAccessDescription": "Durée de conservation des journaux d'accès",
|
||||||
"logRetentionActionLabel": "Retention du journal des actions",
|
"logRetentionActionLabel": "Retention du journal des actions",
|
||||||
"logRetentionActionDescription": "Durée de conservation du journal des actions",
|
"logRetentionActionDescription": "Durée de conservation du journal des actions",
|
||||||
|
"logRetentionConnectionLabel": "Rétention du journal de connexion",
|
||||||
|
"logRetentionConnectionDescription": "Durée de conservation des logs de connexion",
|
||||||
"logRetentionDisabled": "Désactivé",
|
"logRetentionDisabled": "Désactivé",
|
||||||
"logRetention3Days": "3 jours",
|
"logRetention3Days": "3 jours",
|
||||||
"logRetention7Days": "7 jours",
|
"logRetention7Days": "7 jours",
|
||||||
@@ -2344,6 +2457,13 @@
|
|||||||
"logRetentionEndOfFollowingYear": "Fin de l'année suivante",
|
"logRetentionEndOfFollowingYear": "Fin de l'année suivante",
|
||||||
"actionLogsDescription": "Voir l'historique des actions effectuées dans cette organisation",
|
"actionLogsDescription": "Voir l'historique des actions effectuées dans cette organisation",
|
||||||
"accessLogsDescription": "Voir les demandes d'authentification d'accès aux ressources de cette organisation",
|
"accessLogsDescription": "Voir les demandes d'authentification d'accès aux ressources de cette organisation",
|
||||||
|
"connectionLogs": "Journaux de connexion",
|
||||||
|
"connectionLogsDescription": "Voir les journaux de connexion pour les tunnels de cette organisation",
|
||||||
|
"sidebarLogsConnection": "Journaux de connexion",
|
||||||
|
"sidebarLogsStreaming": "Streaming en cours",
|
||||||
|
"sourceAddress": "Adresse source",
|
||||||
|
"destinationAddress": "Adresse de destination",
|
||||||
|
"duration": "Durée",
|
||||||
"licenseRequiredToUse": "Une <enterpriseLicenseLink>licence Enterprise Edition</enterpriseLicenseLink> ou <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink> est requise pour utiliser cette fonctionnalité. <bookADemoLink>Réservez une démonstration ou une évaluation de POC</bookADemoLink>.",
|
"licenseRequiredToUse": "Une <enterpriseLicenseLink>licence Enterprise Edition</enterpriseLicenseLink> ou <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink> est requise pour utiliser cette fonctionnalité. <bookADemoLink>Réservez une démonstration ou une évaluation de POC</bookADemoLink>.",
|
||||||
"ossEnterpriseEditionRequired": "La version <enterpriseEditionLink>Enterprise Edition</enterpriseEditionLink> est requise pour utiliser cette fonctionnalité. Cette fonctionnalité est également disponible dans <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>. <bookADemoLink>Réservez une démo ou un essai POC</bookADemoLink>.",
|
"ossEnterpriseEditionRequired": "La version <enterpriseEditionLink>Enterprise Edition</enterpriseEditionLink> est requise pour utiliser cette fonctionnalité. Cette fonctionnalité est également disponible dans <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>. <bookADemoLink>Réservez une démo ou un essai POC</bookADemoLink>.",
|
||||||
"certResolver": "Résolveur de certificat",
|
"certResolver": "Résolveur de certificat",
|
||||||
@@ -2683,5 +2803,90 @@
|
|||||||
"approvalsEmptyStateStep2Description": "Modifier un rôle et activer l'option 'Exiger les autorisations de l'appareil'. Les utilisateurs avec ce rôle auront besoin de l'approbation de l'administrateur pour les nouveaux appareils.",
|
"approvalsEmptyStateStep2Description": "Modifier un rôle et activer l'option 'Exiger les autorisations de l'appareil'. Les utilisateurs avec ce rôle auront besoin de l'approbation de l'administrateur pour les nouveaux appareils.",
|
||||||
"approvalsEmptyStatePreviewDescription": "Aperçu: Lorsque cette option est activée, les demandes de périphérique en attente apparaîtront ici pour vérification",
|
"approvalsEmptyStatePreviewDescription": "Aperçu: Lorsque cette option est activée, les demandes de périphérique en attente apparaîtront ici pour vérification",
|
||||||
"approvalsEmptyStateButtonText": "Gérer les rôles",
|
"approvalsEmptyStateButtonText": "Gérer les rôles",
|
||||||
"domainErrorTitle": "Nous avons des difficultés à vérifier votre domaine"
|
"domainErrorTitle": "Nous avons des difficultés à vérifier votre domaine",
|
||||||
|
"idpAdminAutoProvisionPoliciesTabHint": "Configurer les politiques de mappage des rôles et de l'organisation dans l'onglet <policiesTabLink>Paramètres de la fourniture automatique</policiesTabLink>.",
|
||||||
|
"streamingTitle": "Streaming d'événements",
|
||||||
|
"streamingDescription": "Diffusez en temps réel des événements de votre organisation vers des destinations externes.",
|
||||||
|
"streamingUnnamedDestination": "Destination sans nom",
|
||||||
|
"streamingNoUrlConfigured": "Aucune URL configurée",
|
||||||
|
"streamingAddDestination": "Ajouter une destination",
|
||||||
|
"streamingHttpWebhookTitle": "Webhook HTTP",
|
||||||
|
"streamingHttpWebhookDescription": "Envoyez des événements à n'importe quel point de terminaison HTTP avec une authentification flexible et un template.",
|
||||||
|
"streamingS3Title": "Amazon S3",
|
||||||
|
"streamingS3Description": "Flux d'événements vers un compartiment de stockage d'objet compatible S3. Bientôt.",
|
||||||
|
"streamingDatadogTitle": "Datadog",
|
||||||
|
"streamingDatadogDescription": "Transférer des événements directement sur votre compte Datadog. Prochainement.",
|
||||||
|
"streamingTypePickerDescription": "Choisissez un type de destination pour commencer.",
|
||||||
|
"streamingFailedToLoad": "Impossible de charger les destinations",
|
||||||
|
"streamingUnexpectedError": "Une erreur inattendue s'est produite.",
|
||||||
|
"streamingFailedToUpdate": "Impossible de mettre à jour la destination",
|
||||||
|
"streamingDeletedSuccess": "Destination supprimée avec succès",
|
||||||
|
"streamingFailedToDelete": "Impossible de supprimer la destination",
|
||||||
|
"streamingDeleteTitle": "Supprimer la destination",
|
||||||
|
"streamingDeleteButtonText": "Supprimer la destination",
|
||||||
|
"streamingDeleteDialogAreYouSure": "Êtes-vous sûr de vouloir supprimer",
|
||||||
|
"streamingDeleteDialogThisDestination": "cette destination",
|
||||||
|
"streamingDeleteDialogPermanentlyRemoved": "? Toutes les configurations seront définitivement supprimées.",
|
||||||
|
"httpDestEditTitle": "Modifier la destination",
|
||||||
|
"httpDestAddTitle": "Ajouter une destination HTTP",
|
||||||
|
"httpDestEditDescription": "Mettre à jour la configuration pour cette destination de streaming d'événements HTTP.",
|
||||||
|
"httpDestAddDescription": "Configurez un nouveau point de terminaison HTTP pour recevoir les événements de votre organisation.",
|
||||||
|
"httpDestTabSettings": "Réglages",
|
||||||
|
"httpDestTabHeaders": "En-têtes",
|
||||||
|
"httpDestTabBody": "Corps",
|
||||||
|
"httpDestTabLogs": "Journaux",
|
||||||
|
"httpDestNamePlaceholder": "Ma destination HTTP",
|
||||||
|
"httpDestUrlLabel": "URL de destination",
|
||||||
|
"httpDestUrlErrorHttpRequired": "L'URL doit utiliser http ou https",
|
||||||
|
"httpDestUrlErrorHttpsRequired": "HTTPS est requis pour les déploiements du cloud",
|
||||||
|
"httpDestUrlErrorInvalid": "Entrez une URL valide (par exemple https://example.com/webhook)",
|
||||||
|
"httpDestAuthTitle": "Authentification",
|
||||||
|
"httpDestAuthDescription": "Choisissez comment les requêtes à votre terminaison sont authentifiées.",
|
||||||
|
"httpDestAuthNoneTitle": "Aucune authentification",
|
||||||
|
"httpDestAuthNoneDescription": "Envoie des requêtes sans en-tête d'autorisation.",
|
||||||
|
"httpDestAuthBearerTitle": "Jeton de Porteur",
|
||||||
|
"httpDestAuthBearerDescription": "Ajoute un en-tête Authorization: Bearer <token> à chaque requête.",
|
||||||
|
"httpDestAuthBearerPlaceholder": "Votre clé API ou votre jeton",
|
||||||
|
"httpDestAuthBasicTitle": "Authentification basique",
|
||||||
|
"httpDestAuthBasicDescription": "Ajoute une autorisation : en-tête de base <credentials> . Fournissez des informations d'identification comme nom d'utilisateur:mot de passe.",
|
||||||
|
"httpDestAuthBasicPlaceholder": "nom d'utilisateur:mot de passe",
|
||||||
|
"httpDestAuthCustomTitle": "En-tête personnalisé",
|
||||||
|
"httpDestAuthCustomDescription": "Spécifiez un nom d'en-tête HTTP personnalisé et une valeur pour l'authentification (par exemple X-API-Key).",
|
||||||
|
"httpDestAuthCustomHeaderNamePlaceholder": "Nom de l'en-tête (par exemple X-API-Key)",
|
||||||
|
"httpDestAuthCustomHeaderValuePlaceholder": "Valeur de l'en-tête",
|
||||||
|
"httpDestCustomHeadersTitle": "En-têtes HTTP personnalisés",
|
||||||
|
"httpDestCustomHeadersDescription": "Ajouter des en-têtes personnalisés à chaque requête sortante. Utile pour les jetons statiques ou un type de contenu personnalisé. Par défaut, Content-Type: application/json est envoyé.",
|
||||||
|
"httpDestNoHeadersConfigured": "Aucun en-tête personnalisé configuré. Cliquez sur \"Ajouter un en-tête\" pour en ajouter un.",
|
||||||
|
"httpDestHeaderNamePlaceholder": "Nom de l'en-tête",
|
||||||
|
"httpDestHeaderValuePlaceholder": "Valeur",
|
||||||
|
"httpDestAddHeader": "Ajouter un en-tête",
|
||||||
|
"httpDestBodyTemplateTitle": "Modèle de corps personnalisé",
|
||||||
|
"httpDestBodyTemplateDescription": "Contrôle la structure de charge utile JSON envoyée à votre terminal. Si désactivé, un objet JSON par défaut est envoyé pour chaque événement.",
|
||||||
|
"httpDestEnableBodyTemplate": "Activer le modèle de corps personnalisé",
|
||||||
|
"httpDestBodyTemplateLabel": "Modèle de corps (JSON)",
|
||||||
|
"httpDestBodyTemplateHint": "Utilisez les variables de modèle pour référencer les champs d'événement dans votre charge utile.",
|
||||||
|
"httpDestPayloadFormatTitle": "Format de la charge utile",
|
||||||
|
"httpDestPayloadFormatDescription": "Comment les événements sont sérialisés dans chaque corps de requête.",
|
||||||
|
"httpDestFormatJsonArrayTitle": "Tableau JSON",
|
||||||
|
"httpDestFormatJsonArrayDescription": "Une requête par lot, le corps est un tableau JSON. Compatible avec la plupart des webhooks génériques et des datadog.",
|
||||||
|
"httpDestFormatNdjsonTitle": "NDJSON",
|
||||||
|
"httpDestFormatNdjsonDescription": "Une requête par lot, body est un JSON délimité par une nouvelle ligne — un objet par ligne, pas de tableau extérieur. Requis par Splunk HEC, Elastic / OpenSearch, et Grafana Loki.",
|
||||||
|
"httpDestFormatSingleTitle": "Un événement par demande",
|
||||||
|
"httpDestFormatSingleDescription": "Envoie un POST HTTP séparé pour chaque événement individuel. Utilisé uniquement pour les terminaux qui ne peuvent pas gérer des lots.",
|
||||||
|
"httpDestLogTypesTitle": "Types de logs",
|
||||||
|
"httpDestLogTypesDescription": "Choisissez quels types de journaux sont envoyés à cette destination. Seuls les types de journaux activés seront diffusés.",
|
||||||
|
"httpDestAccessLogsTitle": "Journaux d'accès",
|
||||||
|
"httpDestAccessLogsDescription": "Tentatives d'accès aux ressources, y compris les demandes authentifiées et refusées.",
|
||||||
|
"httpDestActionLogsTitle": "Journaux des actions",
|
||||||
|
"httpDestActionLogsDescription": "Actions administratives effectuées par les utilisateurs au sein de l'organisation.",
|
||||||
|
"httpDestConnectionLogsTitle": "Journaux de connexion",
|
||||||
|
"httpDestConnectionLogsDescription": "Événements de connexion du site et du tunnel, y compris les connexions et les déconnexions.",
|
||||||
|
"httpDestRequestLogsTitle": "Journal des requêtes",
|
||||||
|
"httpDestRequestLogsDescription": "Journaux des requêtes HTTP pour les ressources proxiées, y compris la méthode, le chemin et le code de réponse.",
|
||||||
|
"httpDestSaveChanges": "Enregistrer les modifications",
|
||||||
|
"httpDestCreateDestination": "Créer une destination",
|
||||||
|
"httpDestUpdatedSuccess": "Destination mise à jour avec succès",
|
||||||
|
"httpDestCreatedSuccess": "Destination créée avec succès",
|
||||||
|
"httpDestUpdateFailed": "Impossible de mettre à jour la destination",
|
||||||
|
"httpDestCreateFailed": "Impossible de créer la destination"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -148,6 +148,11 @@
|
|||||||
"createLink": "Crea Collegamento",
|
"createLink": "Crea Collegamento",
|
||||||
"resourcesNotFound": "Nessuna risorsa trovata",
|
"resourcesNotFound": "Nessuna risorsa trovata",
|
||||||
"resourceSearch": "Cerca risorse",
|
"resourceSearch": "Cerca risorse",
|
||||||
|
"machineSearch": "Ricerca macchine",
|
||||||
|
"machinesSearch": "Cerca client macchina...",
|
||||||
|
"machineNotFound": "Nessuna macchina trovata",
|
||||||
|
"userDeviceSearch": "Cerca dispositivi utente",
|
||||||
|
"userDevicesSearch": "Cerca dispositivi utente...",
|
||||||
"openMenu": "Apri menu",
|
"openMenu": "Apri menu",
|
||||||
"resource": "Risorsa",
|
"resource": "Risorsa",
|
||||||
"title": "Titolo",
|
"title": "Titolo",
|
||||||
@@ -323,6 +328,54 @@
|
|||||||
"apiKeysDelete": "Elimina Chiave API",
|
"apiKeysDelete": "Elimina Chiave API",
|
||||||
"apiKeysManage": "Gestisci Chiavi API",
|
"apiKeysManage": "Gestisci Chiavi API",
|
||||||
"apiKeysDescription": "Le chiavi API sono utilizzate per autenticarsi con l'API di integrazione",
|
"apiKeysDescription": "Le chiavi API sono utilizzate per autenticarsi con l'API di integrazione",
|
||||||
|
"provisioningKeysTitle": "Chiave Di Provvedimento",
|
||||||
|
"provisioningKeysManage": "Gestisci Chiavi Di Provvedimento",
|
||||||
|
"provisioningKeysDescription": "Le chiavi di provisioning vengono utilizzate per autenticare il provisioning automatico del sito per la tua organizzazione.",
|
||||||
|
"provisioningManage": "Accantonamento",
|
||||||
|
"provisioningDescription": "Gestire le chiavi di provisioning e rivedere i siti in attesa di approvazione.",
|
||||||
|
"pendingSites": "Siti In Attesa",
|
||||||
|
"siteApproveSuccess": "Sito approvato con successo",
|
||||||
|
"siteApproveError": "Errore nell'approvazione del sito",
|
||||||
|
"provisioningKeys": "Chiavi Di Provvedimento",
|
||||||
|
"searchProvisioningKeys": "Cerca i tasti di provisioning ...",
|
||||||
|
"provisioningKeysAdd": "Genera Chiave Di Provvedimento",
|
||||||
|
"provisioningKeysErrorDelete": "Errore nell'eliminare la chiave di provisioning",
|
||||||
|
"provisioningKeysErrorDeleteMessage": "Errore nell'eliminare la chiave di provisioning",
|
||||||
|
"provisioningKeysQuestionRemove": "Sei sicuro di voler rimuovere questa chiave di provisioning dall'organizzazione?",
|
||||||
|
"provisioningKeysMessageRemove": "Una volta rimossa, la chiave non può più essere utilizzata per il provisioning.",
|
||||||
|
"provisioningKeysDeleteConfirm": "Conferma Elimina Chiave Provvisoria",
|
||||||
|
"provisioningKeysDelete": "Elimina chiave di provisioning",
|
||||||
|
"provisioningKeysCreate": "Genera Chiave Di Provvedimento",
|
||||||
|
"provisioningKeysCreateDescription": "Genera una nuova chiave di provisioning per l'organizzazione",
|
||||||
|
"provisioningKeysSeeAll": "Vedi tutte le chiavi di provisioning",
|
||||||
|
"provisioningKeysSave": "Salva la chiave di provisioning",
|
||||||
|
"provisioningKeysSaveDescription": "Sarai in grado di vedere solo una volta. Copiarlo in un posto sicuro.",
|
||||||
|
"provisioningKeysErrorCreate": "Errore nella creazione della chiave di provisioning",
|
||||||
|
"provisioningKeysList": "Nuova chiave di provisioning",
|
||||||
|
"provisioningKeysMaxBatchSize": "Dimensione massima lotto",
|
||||||
|
"provisioningKeysUnlimitedBatchSize": "Dimensione illimitata del lotto (nessun limite)",
|
||||||
|
"provisioningKeysMaxBatchUnlimited": "Illimitato",
|
||||||
|
"provisioningKeysMaxBatchSizeInvalid": "Inserisci un lotto massimo valido (1–1.000.000).",
|
||||||
|
"provisioningKeysValidUntil": "Valido fino al",
|
||||||
|
"provisioningKeysValidUntilHint": "Lasciare vuoto per nessuna scadenza.",
|
||||||
|
"provisioningKeysValidUntilInvalid": "Inserisci una data e ora valide.",
|
||||||
|
"provisioningKeysNumUsed": "Volte usate",
|
||||||
|
"provisioningKeysLastUsed": "Ultimo utilizzo",
|
||||||
|
"provisioningKeysNoExpiry": "Nessuna scadenza",
|
||||||
|
"provisioningKeysNeverUsed": "Mai",
|
||||||
|
"provisioningKeysEdit": "Modifica Chiave Di Provvedimento",
|
||||||
|
"provisioningKeysEditDescription": "Aggiorna la dimensione massima del lotto e il tempo di scadenza per questa chiave.",
|
||||||
|
"provisioningKeysApproveNewSites": "Approva nuovi siti",
|
||||||
|
"provisioningKeysApproveNewSitesDescription": "Approvare automaticamente i siti che si registrano con questa chiave.",
|
||||||
|
"provisioningKeysUpdateError": "Errore nell'aggiornamento della chiave di provisioning",
|
||||||
|
"provisioningKeysUpdated": "Chiave di accantonamento aggiornata",
|
||||||
|
"provisioningKeysUpdatedDescription": "Le tue modifiche sono state salvate.",
|
||||||
|
"provisioningKeysBannerTitle": "Chiavi Di Provvedimento Sito",
|
||||||
|
"provisioningKeysBannerDescription": "Generare una chiave di provisioning e usarla con il connettore Newt per creare automaticamente siti al primo avvio — non è necessario impostare credenziali separate per ogni sito.",
|
||||||
|
"provisioningKeysBannerButtonText": "Scopri di più",
|
||||||
|
"pendingSitesBannerTitle": "Siti In Attesa",
|
||||||
|
"pendingSitesBannerDescription": "I siti che si connettono utilizzando una chiave di provisioning appaiono qui per la revisione. Approva ogni sito prima che diventi attivo e ottenga l'accesso alle tue risorse.",
|
||||||
|
"pendingSitesBannerButtonText": "Scopri di più",
|
||||||
"apiKeysSettings": "Impostazioni {apiKeyName}",
|
"apiKeysSettings": "Impostazioni {apiKeyName}",
|
||||||
"userTitle": "Gestisci Tutti Gli Utenti",
|
"userTitle": "Gestisci Tutti Gli Utenti",
|
||||||
"userDescription": "Visualizza e gestisci tutti gli utenti del sistema",
|
"userDescription": "Visualizza e gestisci tutti gli utenti del sistema",
|
||||||
@@ -509,9 +562,12 @@
|
|||||||
"userSaved": "Utente salvato",
|
"userSaved": "Utente salvato",
|
||||||
"userSavedDescription": "L'utente è stato aggiornato.",
|
"userSavedDescription": "L'utente è stato aggiornato.",
|
||||||
"autoProvisioned": "Auto Provisioned",
|
"autoProvisioned": "Auto Provisioned",
|
||||||
|
"autoProvisionSettings": "Impostazioni Automatiche Di Fornitura",
|
||||||
"autoProvisionedDescription": "Permetti a questo utente di essere gestito automaticamente dal provider di identità",
|
"autoProvisionedDescription": "Permetti a questo utente di essere gestito automaticamente dal provider di identità",
|
||||||
"accessControlsDescription": "Gestisci cosa questo utente può accedere e fare nell'organizzazione",
|
"accessControlsDescription": "Gestisci cosa questo utente può accedere e fare nell'organizzazione",
|
||||||
"accessControlsSubmit": "Salva Controlli di Accesso",
|
"accessControlsSubmit": "Salva Controlli di Accesso",
|
||||||
|
"singleRolePerUserPlanNotice": "Il tuo piano supporta solo un ruolo per utente.",
|
||||||
|
"singleRolePerUserEditionNotice": "Questa edizione supporta solo un ruolo per utente.",
|
||||||
"roles": "Ruoli",
|
"roles": "Ruoli",
|
||||||
"accessUsersRoles": "Gestisci Utenti e Ruoli",
|
"accessUsersRoles": "Gestisci Utenti e Ruoli",
|
||||||
"accessUsersRolesDescription": "Invita gli utenti e aggiungili ai ruoli per gestire l'accesso all'organizzazione",
|
"accessUsersRolesDescription": "Invita gli utenti e aggiungili ai ruoli per gestire l'accesso all'organizzazione",
|
||||||
@@ -1119,6 +1175,7 @@
|
|||||||
"setupTokenDescription": "Inserisci il token di configurazione dalla console del server.",
|
"setupTokenDescription": "Inserisci il token di configurazione dalla console del server.",
|
||||||
"setupTokenRequired": "Il token di configurazione è richiesto",
|
"setupTokenRequired": "Il token di configurazione è richiesto",
|
||||||
"actionUpdateSite": "Aggiorna Sito",
|
"actionUpdateSite": "Aggiorna Sito",
|
||||||
|
"actionResetSiteBandwidth": "Reimposta Larghezza Banda Dell'Organizzazione",
|
||||||
"actionListSiteRoles": "Elenca Ruoli Sito Consentiti",
|
"actionListSiteRoles": "Elenca Ruoli Sito Consentiti",
|
||||||
"actionCreateResource": "Crea Risorsa",
|
"actionCreateResource": "Crea Risorsa",
|
||||||
"actionDeleteResource": "Elimina Risorsa",
|
"actionDeleteResource": "Elimina Risorsa",
|
||||||
@@ -1148,7 +1205,7 @@
|
|||||||
"actionRemoveUser": "Rimuovi Utente",
|
"actionRemoveUser": "Rimuovi Utente",
|
||||||
"actionListUsers": "Elenca Utenti",
|
"actionListUsers": "Elenca Utenti",
|
||||||
"actionAddUserRole": "Aggiungi Ruolo Utente",
|
"actionAddUserRole": "Aggiungi Ruolo Utente",
|
||||||
"actionSetUserOrgRoles": "Set User Roles",
|
"actionSetUserOrgRoles": "Imposta Ruoli Utente",
|
||||||
"actionGenerateAccessToken": "Genera Token di Accesso",
|
"actionGenerateAccessToken": "Genera Token di Accesso",
|
||||||
"actionDeleteAccessToken": "Elimina Token di Accesso",
|
"actionDeleteAccessToken": "Elimina Token di Accesso",
|
||||||
"actionListAccessTokens": "Elenca Token di Accesso",
|
"actionListAccessTokens": "Elenca Token di Accesso",
|
||||||
@@ -1265,6 +1322,7 @@
|
|||||||
"sidebarRoles": "Ruoli",
|
"sidebarRoles": "Ruoli",
|
||||||
"sidebarShareableLinks": "Collegamenti",
|
"sidebarShareableLinks": "Collegamenti",
|
||||||
"sidebarApiKeys": "Chiavi API",
|
"sidebarApiKeys": "Chiavi API",
|
||||||
|
"sidebarProvisioning": "Accantonamento",
|
||||||
"sidebarSettings": "Impostazioni",
|
"sidebarSettings": "Impostazioni",
|
||||||
"sidebarAllUsers": "Tutti Gli Utenti",
|
"sidebarAllUsers": "Tutti Gli Utenti",
|
||||||
"sidebarIdentityProviders": "Fornitori Di Identità",
|
"sidebarIdentityProviders": "Fornitori Di Identità",
|
||||||
@@ -1890,6 +1948,40 @@
|
|||||||
"exitNode": "Nodo di Uscita",
|
"exitNode": "Nodo di Uscita",
|
||||||
"country": "Paese",
|
"country": "Paese",
|
||||||
"rulesMatchCountry": "Attualmente basato sull'IP di origine",
|
"rulesMatchCountry": "Attualmente basato sull'IP di origine",
|
||||||
|
"region": "Regione",
|
||||||
|
"selectRegion": "Seleziona regione",
|
||||||
|
"searchRegions": "Cerca regioni...",
|
||||||
|
"noRegionFound": "Nessuna regione trovata.",
|
||||||
|
"rulesMatchRegion": "Seleziona un raggruppamento regionale di paesi",
|
||||||
|
"rulesErrorInvalidRegion": "Regione non valida",
|
||||||
|
"rulesErrorInvalidRegionDescription": "Seleziona una regione valida.",
|
||||||
|
"regionAfrica": "Africa",
|
||||||
|
"regionNorthernAfrica": "Africa Settentrionale",
|
||||||
|
"regionEasternAfrica": "Africa Orientale",
|
||||||
|
"regionMiddleAfrica": "Africa Centrale",
|
||||||
|
"regionSouthernAfrica": "Africa Meridionale",
|
||||||
|
"regionWesternAfrica": "Africa Occidentale",
|
||||||
|
"regionAmericas": "Americhe",
|
||||||
|
"regionCaribbean": "Caraibi",
|
||||||
|
"regionCentralAmerica": "America Centrale",
|
||||||
|
"regionSouthAmerica": "America Del Sud",
|
||||||
|
"regionNorthernAmerica": "America Del Nord",
|
||||||
|
"regionAsia": "Asia",
|
||||||
|
"regionCentralAsia": "Asia Centrale",
|
||||||
|
"regionEasternAsia": "Asia Orientale",
|
||||||
|
"regionSouthEasternAsia": "Asia Sudorientale",
|
||||||
|
"regionSouthernAsia": "Asia Meridionale",
|
||||||
|
"regionWesternAsia": "Asia Occidentale",
|
||||||
|
"regionEurope": "Europa",
|
||||||
|
"regionEasternEurope": "Europa Orientale",
|
||||||
|
"regionNorthernEurope": "Europa Settentrionale",
|
||||||
|
"regionSouthernEurope": "Europa Meridionale",
|
||||||
|
"regionWesternEurope": "Europa Occidentale",
|
||||||
|
"regionOceania": "Oceania",
|
||||||
|
"regionAustraliaAndNewZealand": "Australia e Nuova Zelanda",
|
||||||
|
"regionMelanesia": "Melanesia",
|
||||||
|
"regionMicronesia": "Micronesia",
|
||||||
|
"regionPolynesia": "Polynesia",
|
||||||
"managedSelfHosted": {
|
"managedSelfHosted": {
|
||||||
"title": "Gestito Auto-Ospitato",
|
"title": "Gestito Auto-Ospitato",
|
||||||
"description": "Server Pangolin self-hosted più affidabile e a bassa manutenzione con campanelli e fischietti extra",
|
"description": "Server Pangolin self-hosted più affidabile e a bassa manutenzione con campanelli e fischietti extra",
|
||||||
@@ -1938,6 +2030,25 @@
|
|||||||
"invalidValue": "Valore non valido",
|
"invalidValue": "Valore non valido",
|
||||||
"idpTypeLabel": "Tipo Provider Identità",
|
"idpTypeLabel": "Tipo Provider Identità",
|
||||||
"roleMappingExpressionPlaceholder": "es. contiene(gruppi, 'admin') && 'Admin' <unk> <unk> 'Membro'",
|
"roleMappingExpressionPlaceholder": "es. contiene(gruppi, 'admin') && 'Admin' <unk> <unk> 'Membro'",
|
||||||
|
"roleMappingModeFixedRoles": "Ruoli Fissi",
|
||||||
|
"roleMappingModeMappingBuilder": "Mapping Builder",
|
||||||
|
"roleMappingModeRawExpression": "Espressione Raw",
|
||||||
|
"roleMappingFixedRolesPlaceholderSelect": "Seleziona uno o più ruoli",
|
||||||
|
"roleMappingFixedRolesPlaceholderFreeform": "Digita nomi dei ruoli (corrispondenza esatta per organizzazione)",
|
||||||
|
"roleMappingFixedRolesDescriptionSameForAll": "Assegna lo stesso ruolo impostato a ogni utente auto-provisioned.",
|
||||||
|
"roleMappingFixedRolesDescriptionDefaultPolicy": "Per i criteri predefiniti, digita i nomi dei ruoli che esistono in ogni organizzazione in cui gli utenti sono forniti. I nomi devono corrispondere esattamente.",
|
||||||
|
"roleMappingClaimPath": "Richiedi Percorso",
|
||||||
|
"roleMappingClaimPathPlaceholder": "gruppi",
|
||||||
|
"roleMappingClaimPathDescription": "Percorso nel payload del token che contiene valori sorgente (ad esempio, gruppi).",
|
||||||
|
"roleMappingMatchValue": "Valore Della Partita",
|
||||||
|
"roleMappingAssignRoles": "Assegna Ruoli",
|
||||||
|
"roleMappingAddMappingRule": "Aggiungi Regola Mappatura",
|
||||||
|
"roleMappingRawExpressionResultDescription": "Espressione deve essere valutata in una stringa o array di stringhe.",
|
||||||
|
"roleMappingRawExpressionResultDescriptionSingleRole": "Espressione deve valutare in una stringa (un singolo nome ruolo).",
|
||||||
|
"roleMappingMatchValuePlaceholder": "Valore della corrispondenza (per esempio: admin)",
|
||||||
|
"roleMappingAssignRolesPlaceholderFreeform": "Digita i nomi dei ruoli (esatto per org)",
|
||||||
|
"roleMappingBuilderFreeformRowHint": "I nomi dei ruoli devono corrispondere a un ruolo in ogni organizzazione di destinazione.",
|
||||||
|
"roleMappingRemoveRule": "Rimuovi",
|
||||||
"idpGoogleConfiguration": "Configurazione Google",
|
"idpGoogleConfiguration": "Configurazione Google",
|
||||||
"idpGoogleConfigurationDescription": "Configura le credenziali di Google OAuth2",
|
"idpGoogleConfigurationDescription": "Configura le credenziali di Google OAuth2",
|
||||||
"idpGoogleClientIdDescription": "Google OAuth2 Client ID",
|
"idpGoogleClientIdDescription": "Google OAuth2 Client ID",
|
||||||
@@ -2334,6 +2445,8 @@
|
|||||||
"logRetentionAccessDescription": "Per quanto tempo conservare i log di accesso",
|
"logRetentionAccessDescription": "Per quanto tempo conservare i log di accesso",
|
||||||
"logRetentionActionLabel": "Ritenzione Registro Azioni",
|
"logRetentionActionLabel": "Ritenzione Registro Azioni",
|
||||||
"logRetentionActionDescription": "Per quanto tempo conservare i log delle azioni",
|
"logRetentionActionDescription": "Per quanto tempo conservare i log delle azioni",
|
||||||
|
"logRetentionConnectionLabel": "Ritenzione Registro Di Connessione",
|
||||||
|
"logRetentionConnectionDescription": "Per quanto tempo conservare i log di connessione",
|
||||||
"logRetentionDisabled": "Disabilitato",
|
"logRetentionDisabled": "Disabilitato",
|
||||||
"logRetention3Days": "3 giorni",
|
"logRetention3Days": "3 giorni",
|
||||||
"logRetention7Days": "7 giorni",
|
"logRetention7Days": "7 giorni",
|
||||||
@@ -2344,6 +2457,13 @@
|
|||||||
"logRetentionEndOfFollowingYear": "Fine dell'anno successivo",
|
"logRetentionEndOfFollowingYear": "Fine dell'anno successivo",
|
||||||
"actionLogsDescription": "Visualizza una cronologia delle azioni eseguite in questa organizzazione",
|
"actionLogsDescription": "Visualizza una cronologia delle azioni eseguite in questa organizzazione",
|
||||||
"accessLogsDescription": "Visualizza le richieste di autenticazione di accesso per le risorse in questa organizzazione",
|
"accessLogsDescription": "Visualizza le richieste di autenticazione di accesso per le risorse in questa organizzazione",
|
||||||
|
"connectionLogs": "Log Di Connessione",
|
||||||
|
"connectionLogsDescription": "Visualizza i log di connessione per i tunnel in questa organizzazione",
|
||||||
|
"sidebarLogsConnection": "Log Di Connessione",
|
||||||
|
"sidebarLogsStreaming": "Streaming",
|
||||||
|
"sourceAddress": "Indirizzo Di Origine",
|
||||||
|
"destinationAddress": "Indirizzo Di Destinazione",
|
||||||
|
"duration": "Durata",
|
||||||
"licenseRequiredToUse": "Per utilizzare questa funzione è necessaria una licenza <enterpriseLicenseLink>Enterprise Edition</enterpriseLicenseLink> o <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink> . <bookADemoLink>Prenota una demo o una prova POC</bookADemoLink>.",
|
"licenseRequiredToUse": "Per utilizzare questa funzione è necessaria una licenza <enterpriseLicenseLink>Enterprise Edition</enterpriseLicenseLink> o <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink> . <bookADemoLink>Prenota una demo o una prova POC</bookADemoLink>.",
|
||||||
"ossEnterpriseEditionRequired": "L' <enterpriseEditionLink>Enterprise Edition</enterpriseEditionLink> è necessaria per utilizzare questa funzione. Questa funzione è disponibile anche in <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>. <bookADemoLink>Prenota una demo o una prova POC</bookADemoLink>.",
|
"ossEnterpriseEditionRequired": "L' <enterpriseEditionLink>Enterprise Edition</enterpriseEditionLink> è necessaria per utilizzare questa funzione. Questa funzione è disponibile anche in <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>. <bookADemoLink>Prenota una demo o una prova POC</bookADemoLink>.",
|
||||||
"certResolver": "Risolutore Di Certificato",
|
"certResolver": "Risolutore Di Certificato",
|
||||||
@@ -2683,5 +2803,90 @@
|
|||||||
"approvalsEmptyStateStep2Description": "Modifica un ruolo e abilita l'opzione 'Richiedi l'approvazione del dispositivo'. Gli utenti con questo ruolo avranno bisogno dell'approvazione dell'amministratore per i nuovi dispositivi.",
|
"approvalsEmptyStateStep2Description": "Modifica un ruolo e abilita l'opzione 'Richiedi l'approvazione del dispositivo'. Gli utenti con questo ruolo avranno bisogno dell'approvazione dell'amministratore per i nuovi dispositivi.",
|
||||||
"approvalsEmptyStatePreviewDescription": "Anteprima: quando abilitato, le richieste di dispositivo in attesa appariranno qui per la revisione",
|
"approvalsEmptyStatePreviewDescription": "Anteprima: quando abilitato, le richieste di dispositivo in attesa appariranno qui per la revisione",
|
||||||
"approvalsEmptyStateButtonText": "Gestisci Ruoli",
|
"approvalsEmptyStateButtonText": "Gestisci Ruoli",
|
||||||
"domainErrorTitle": "Stiamo avendo problemi a verificare il tuo dominio"
|
"domainErrorTitle": "Stiamo avendo problemi a verificare il tuo dominio",
|
||||||
|
"idpAdminAutoProvisionPoliciesTabHint": "Configura la mappatura dei ruoli e le politiche di organizzazione nella scheda <policiesTabLink>Auto Provision Settings</policiesTabLink>.",
|
||||||
|
"streamingTitle": "Streaming Eventi",
|
||||||
|
"streamingDescription": "Trasmetti eventi dalla tua organizzazione a destinazioni esterne in tempo reale.",
|
||||||
|
"streamingUnnamedDestination": "Destinazione senza nome",
|
||||||
|
"streamingNoUrlConfigured": "Nessun URL configurato",
|
||||||
|
"streamingAddDestination": "Aggiungi Destinazione",
|
||||||
|
"streamingHttpWebhookTitle": "Webhook HTTP",
|
||||||
|
"streamingHttpWebhookDescription": "Invia eventi a qualsiasi endpoint HTTP con autenticazione e template flessibili.",
|
||||||
|
"streamingS3Title": "Amazon S3",
|
||||||
|
"streamingS3Description": "Trasmetti eventi su un contenitore di archiviazione per oggetti compatibile con S3. Presto in arrivo.",
|
||||||
|
"streamingDatadogTitle": "Datadog",
|
||||||
|
"streamingDatadogDescription": "Inoltra gli eventi direttamente al tuo account Datadog. In arrivo.",
|
||||||
|
"streamingTypePickerDescription": "Scegli un tipo di destinazione per iniziare.",
|
||||||
|
"streamingFailedToLoad": "Impossibile caricare le destinazioni",
|
||||||
|
"streamingUnexpectedError": "Si è verificato un errore imprevisto.",
|
||||||
|
"streamingFailedToUpdate": "Impossibile aggiornare la destinazione",
|
||||||
|
"streamingDeletedSuccess": "Destinazione eliminata con successo",
|
||||||
|
"streamingFailedToDelete": "Impossibile eliminare la destinazione",
|
||||||
|
"streamingDeleteTitle": "Elimina Destinazione",
|
||||||
|
"streamingDeleteButtonText": "Elimina Destinazione",
|
||||||
|
"streamingDeleteDialogAreYouSure": "Sei sicuro di voler eliminare",
|
||||||
|
"streamingDeleteDialogThisDestination": "questa destinazione",
|
||||||
|
"streamingDeleteDialogPermanentlyRemoved": "? Tutta la configurazione verrà definitivamente rimossa.",
|
||||||
|
"httpDestEditTitle": "Modifica Destinazione",
|
||||||
|
"httpDestAddTitle": "Aggiungi Destinazione HTTP",
|
||||||
|
"httpDestEditDescription": "Aggiorna la configurazione per questa destinazione di streaming di eventi HTTP.",
|
||||||
|
"httpDestAddDescription": "Configura un nuovo endpoint HTTP per ricevere gli eventi della tua organizzazione.",
|
||||||
|
"httpDestTabSettings": "Impostazioni",
|
||||||
|
"httpDestTabHeaders": "Intestazioni",
|
||||||
|
"httpDestTabBody": "Corpo",
|
||||||
|
"httpDestTabLogs": "Registri",
|
||||||
|
"httpDestNamePlaceholder": "La mia destinazione HTTP",
|
||||||
|
"httpDestUrlLabel": "Url Di Destinazione",
|
||||||
|
"httpDestUrlErrorHttpRequired": "L'URL deve usare http o https",
|
||||||
|
"httpDestUrlErrorHttpsRequired": "HTTPS è richiesto sulle distribuzioni cloud",
|
||||||
|
"httpDestUrlErrorInvalid": "Inserisci un URL valido (es. https://example.com/webhook)",
|
||||||
|
"httpDestAuthTitle": "Autenticazione",
|
||||||
|
"httpDestAuthDescription": "Scegli come vengono autenticate le richieste al tuo endpoint.",
|
||||||
|
"httpDestAuthNoneTitle": "Nessuna Autenticazione",
|
||||||
|
"httpDestAuthNoneDescription": "Invia richieste senza intestazione autorizzazione.",
|
||||||
|
"httpDestAuthBearerTitle": "Token Del Portatore",
|
||||||
|
"httpDestAuthBearerDescription": "Aggiunge un'intestazione Autorizzazione: Bearer <token> ad ogni richiesta.",
|
||||||
|
"httpDestAuthBearerPlaceholder": "La tua chiave API o token",
|
||||||
|
"httpDestAuthBasicTitle": "Autenticazione Base",
|
||||||
|
"httpDestAuthBasicDescription": "Aggiunge un'autorizzazione: intestazione di base <credentials> . Fornisce le credenziali come username:password.",
|
||||||
|
"httpDestAuthBasicPlaceholder": "username:password",
|
||||||
|
"httpDestAuthCustomTitle": "Intestazione Personalizzata",
|
||||||
|
"httpDestAuthCustomDescription": "Specifica un nome e un valore di intestazione HTTP personalizzati per l'autenticazione (ad esempio X-API-Key).",
|
||||||
|
"httpDestAuthCustomHeaderNamePlaceholder": "Nome intestazione (es. X-API-Key)",
|
||||||
|
"httpDestAuthCustomHeaderValuePlaceholder": "Valore intestazione",
|
||||||
|
"httpDestCustomHeadersTitle": "Intestazioni Http Personalizzate",
|
||||||
|
"httpDestCustomHeadersDescription": "Aggiungi intestazioni personalizzate ad ogni richiesta in uscita. Utile per token statici o un tipo di contenuto personalizzato. Come impostazione predefinita, viene inviato il tipo di contenuto/json.",
|
||||||
|
"httpDestNoHeadersConfigured": "Nessuna intestazione personalizzata configurata. Fare clic su \"Aggiungi intestazione\" per aggiungerne una.",
|
||||||
|
"httpDestHeaderNamePlaceholder": "Nome intestazione",
|
||||||
|
"httpDestHeaderValuePlaceholder": "Valore",
|
||||||
|
"httpDestAddHeader": "Aggiungi Intestazione",
|
||||||
|
"httpDestBodyTemplateTitle": "Modello Corpo Personalizzato",
|
||||||
|
"httpDestBodyTemplateDescription": "Controlla la struttura JSON payload inviata al tuo endpoint. Se disabilitata, viene inviato un oggetto JSON predefinito per ogni evento.",
|
||||||
|
"httpDestEnableBodyTemplate": "Abilita modello corpo personalizzato",
|
||||||
|
"httpDestBodyTemplateLabel": "Modello Corpo (JSON)",
|
||||||
|
"httpDestBodyTemplateHint": "Usa le variabili del modello per fare riferimento ai campi dell'evento nel tuo payload.",
|
||||||
|
"httpDestPayloadFormatTitle": "Formato Payload",
|
||||||
|
"httpDestPayloadFormatDescription": "Come gli eventi sono serializzati in ogni organismo di richiesta.",
|
||||||
|
"httpDestFormatJsonArrayTitle": "JSON Array",
|
||||||
|
"httpDestFormatJsonArrayDescription": "Una richiesta per lotto, corpo è un array JSON. Compatibile con la maggior parte dei webhooks generici e Datadog.",
|
||||||
|
"httpDestFormatNdjsonTitle": "NDJSON",
|
||||||
|
"httpDestFormatNdjsonDescription": "Una richiesta per lotto, corpo è newline-delimited JSON — un oggetto per linea, nessun array esterno. Richiesto da Splunk HEC, Elastic / OpenSearch, e Grafana Loki.",
|
||||||
|
"httpDestFormatSingleTitle": "Un Evento Per Richiesta",
|
||||||
|
"httpDestFormatSingleDescription": "Invia un HTTP POST separato per ogni singolo evento. Usa solo per gli endpoint che non possono gestire i batch.",
|
||||||
|
"httpDestLogTypesTitle": "Tipi Di Log",
|
||||||
|
"httpDestLogTypesDescription": "Scegli quali tipi di log vengono inoltrati a questa destinazione. Verranno trasmessi solo i tipi di log abilitati.",
|
||||||
|
"httpDestAccessLogsTitle": "Log Accesso",
|
||||||
|
"httpDestAccessLogsDescription": "Tentativi di accesso alle risorse, comprese le richieste autenticate e negate.",
|
||||||
|
"httpDestActionLogsTitle": "Log Azioni",
|
||||||
|
"httpDestActionLogsDescription": "Azioni amministrative eseguite dagli utenti all'interno dell'organizzazione.",
|
||||||
|
"httpDestConnectionLogsTitle": "Log Di Connessione",
|
||||||
|
"httpDestConnectionLogsDescription": "Eventi di connessione al sito e al tunnel, inclusi collegamenti e disconnessioni.",
|
||||||
|
"httpDestRequestLogsTitle": "Log Richiesta",
|
||||||
|
"httpDestRequestLogsDescription": "Registri di richiesta HTTP per le risorse proxy, inclusi metodo, percorso e codice di risposta.",
|
||||||
|
"httpDestSaveChanges": "Salva Modifiche",
|
||||||
|
"httpDestCreateDestination": "Crea Destinazione",
|
||||||
|
"httpDestUpdatedSuccess": "Destinazione aggiornata con successo",
|
||||||
|
"httpDestCreatedSuccess": "Destinazione creata con successo",
|
||||||
|
"httpDestUpdateFailed": "Impossibile aggiornare la destinazione",
|
||||||
|
"httpDestCreateFailed": "Impossibile creare la destinazione"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -148,6 +148,11 @@
|
|||||||
"createLink": "링크 생성",
|
"createLink": "링크 생성",
|
||||||
"resourcesNotFound": "리소스가 발견되지 않았습니다.",
|
"resourcesNotFound": "리소스가 발견되지 않았습니다.",
|
||||||
"resourceSearch": "리소스 검색",
|
"resourceSearch": "리소스 검색",
|
||||||
|
"machineSearch": "기계 검색",
|
||||||
|
"machinesSearch": "기계 클라이언트 검색...",
|
||||||
|
"machineNotFound": "기계를 찾을 수 없습니다",
|
||||||
|
"userDeviceSearch": "사용자 장치 검색",
|
||||||
|
"userDevicesSearch": "사용자 장치 검색...",
|
||||||
"openMenu": "메뉴 열기",
|
"openMenu": "메뉴 열기",
|
||||||
"resource": "리소스",
|
"resource": "리소스",
|
||||||
"title": "제목",
|
"title": "제목",
|
||||||
@@ -323,6 +328,54 @@
|
|||||||
"apiKeysDelete": "API 키 삭제",
|
"apiKeysDelete": "API 키 삭제",
|
||||||
"apiKeysManage": "API 키 관리",
|
"apiKeysManage": "API 키 관리",
|
||||||
"apiKeysDescription": "API 키는 통합 API와 인증하는 데 사용됩니다.",
|
"apiKeysDescription": "API 키는 통합 API와 인증하는 데 사용됩니다.",
|
||||||
|
"provisioningKeysTitle": "프로비저닝 키",
|
||||||
|
"provisioningKeysManage": "프로비저닝 키 관리",
|
||||||
|
"provisioningKeysDescription": "프로비저닝 키는 조직의 자동 사이트 프로비저닝 인증에 사용됩니다.",
|
||||||
|
"provisioningManage": "프로비저닝",
|
||||||
|
"provisioningDescription": "프로비저닝 키를 관리하고 승인을 기다리는 사이트를 검토합니다.",
|
||||||
|
"pendingSites": "대기중인 사이트",
|
||||||
|
"siteApproveSuccess": "사이트가 성공적으로 승인되었습니다",
|
||||||
|
"siteApproveError": "사이트 승인 오류",
|
||||||
|
"provisioningKeys": "프로비저닝 키",
|
||||||
|
"searchProvisioningKeys": "프로비저닝 키 검색...",
|
||||||
|
"provisioningKeysAdd": "프로비저닝 키 생성",
|
||||||
|
"provisioningKeysErrorDelete": "프로비저닝 키 삭제 오류",
|
||||||
|
"provisioningKeysErrorDeleteMessage": "프로비저닝 키 삭제 오류",
|
||||||
|
"provisioningKeysQuestionRemove": "이 프로비저닝 키를 조직에서 제거하시겠습니까?",
|
||||||
|
"provisioningKeysMessageRemove": "제거 후에는 이 키를 사이트 프로비저닝에 사용할 수 없습니다.",
|
||||||
|
"provisioningKeysDeleteConfirm": "프로비저닝 키 삭제 확인",
|
||||||
|
"provisioningKeysDelete": "프로비저닝 키 삭제",
|
||||||
|
"provisioningKeysCreate": "프로비저닝 키 생성",
|
||||||
|
"provisioningKeysCreateDescription": "조직을 위한 새로운 프로비저닝 키 생성",
|
||||||
|
"provisioningKeysSeeAll": "모든 프로비저닝 키 보기",
|
||||||
|
"provisioningKeysSave": "프로비저닝 키 저장",
|
||||||
|
"provisioningKeysSaveDescription": "이것은 한 번만 볼 수 있습니다. 안전한 장소에 복사해 두세요.",
|
||||||
|
"provisioningKeysErrorCreate": "프로비저닝 키 생성 오류",
|
||||||
|
"provisioningKeysList": "새 프로비저닝 키",
|
||||||
|
"provisioningKeysMaxBatchSize": "최대 배치 크기",
|
||||||
|
"provisioningKeysUnlimitedBatchSize": "무제한 배치 크기 (제한 없음)",
|
||||||
|
"provisioningKeysMaxBatchUnlimited": "무제한",
|
||||||
|
"provisioningKeysMaxBatchSizeInvalid": "유효한 최대 배치 크기를 입력하세요 (1–1,000,000).",
|
||||||
|
"provisioningKeysValidUntil": "유효 기간",
|
||||||
|
"provisioningKeysValidUntilHint": "만료 날짜를 설정하지 않을 경우 빈칸으로 남겨 두세요.",
|
||||||
|
"provisioningKeysValidUntilInvalid": "유효한 날짜와 시간을 입력하세요.",
|
||||||
|
"provisioningKeysNumUsed": "사용 횟수",
|
||||||
|
"provisioningKeysLastUsed": "마지막 사용",
|
||||||
|
"provisioningKeysNoExpiry": "만료 없음",
|
||||||
|
"provisioningKeysNeverUsed": "절대",
|
||||||
|
"provisioningKeysEdit": "프로비저닝 키 수정",
|
||||||
|
"provisioningKeysEditDescription": "이 키의 최대 배치 크기 및 만료 시간을 업데이트하세요.",
|
||||||
|
"provisioningKeysApproveNewSites": "새로운 사이트 승인",
|
||||||
|
"provisioningKeysApproveNewSitesDescription": "이 키를 등록하는 사이트를 자동으로 승인합니다.",
|
||||||
|
"provisioningKeysUpdateError": "프로비저닝 키 업데이트 오류",
|
||||||
|
"provisioningKeysUpdated": "프로비저닝 키가 업데이트되었습니다",
|
||||||
|
"provisioningKeysUpdatedDescription": "변경 사항이 저장되었습니다.",
|
||||||
|
"provisioningKeysBannerTitle": "사이트 프로비저닝 키",
|
||||||
|
"provisioningKeysBannerDescription": "프로비저닝 키를 생성하여 Newt 커넥터와 함께 사용해 첫 실행 시 자동으로 사이트를 생성하세요 — 각 사이트마다 별도의 인증을 설정할 필요가 없습니다.",
|
||||||
|
"provisioningKeysBannerButtonText": "자세히 알아보기",
|
||||||
|
"pendingSitesBannerTitle": "대기중인 사이트",
|
||||||
|
"pendingSitesBannerDescription": "프로비저닝 키를 사용하여 연결하는 사이트는 검토 대기 중입니다. 사이트가 활성화되어 리소스에 액세스하기 전에 각 사이트를 승인하세요.",
|
||||||
|
"pendingSitesBannerButtonText": "자세히 알아보기",
|
||||||
"apiKeysSettings": "{apiKeyName} 설정",
|
"apiKeysSettings": "{apiKeyName} 설정",
|
||||||
"userTitle": "모든 사용자 관리",
|
"userTitle": "모든 사용자 관리",
|
||||||
"userDescription": "시스템의 모든 사용자를 보고 관리합니다",
|
"userDescription": "시스템의 모든 사용자를 보고 관리합니다",
|
||||||
@@ -509,9 +562,12 @@
|
|||||||
"userSaved": "사용자 저장됨",
|
"userSaved": "사용자 저장됨",
|
||||||
"userSavedDescription": "사용자가 업데이트되었습니다.",
|
"userSavedDescription": "사용자가 업데이트되었습니다.",
|
||||||
"autoProvisioned": "자동 프로비저닝됨",
|
"autoProvisioned": "자동 프로비저닝됨",
|
||||||
|
"autoProvisionSettings": "자동 프로비저닝 설정",
|
||||||
"autoProvisionedDescription": "이 사용자가 ID 공급자에 의해 자동으로 관리될 수 있도록 허용합니다",
|
"autoProvisionedDescription": "이 사용자가 ID 공급자에 의해 자동으로 관리될 수 있도록 허용합니다",
|
||||||
"accessControlsDescription": "이 사용자가 조직에서 접근하고 수행할 수 있는 작업을 관리하세요",
|
"accessControlsDescription": "이 사용자가 조직에서 접근하고 수행할 수 있는 작업을 관리하세요",
|
||||||
"accessControlsSubmit": "접근 제어 저장",
|
"accessControlsSubmit": "접근 제어 저장",
|
||||||
|
"singleRolePerUserPlanNotice": "계획에는 사용자당 한 가지 역할만 지원됩니다.",
|
||||||
|
"singleRolePerUserEditionNotice": "이 판에는 사용자당 한 가지 역할만 지원됩니다.",
|
||||||
"roles": "역할",
|
"roles": "역할",
|
||||||
"accessUsersRoles": "사용자 및 역할 관리",
|
"accessUsersRoles": "사용자 및 역할 관리",
|
||||||
"accessUsersRolesDescription": "사용자를 초대하고 역할에 추가하여 조직에 대한 접근을 관리하세요",
|
"accessUsersRolesDescription": "사용자를 초대하고 역할에 추가하여 조직에 대한 접근을 관리하세요",
|
||||||
@@ -1119,6 +1175,7 @@
|
|||||||
"setupTokenDescription": "서버 콘솔에서 설정 토큰 입력.",
|
"setupTokenDescription": "서버 콘솔에서 설정 토큰 입력.",
|
||||||
"setupTokenRequired": "설정 토큰이 필요합니다",
|
"setupTokenRequired": "설정 토큰이 필요합니다",
|
||||||
"actionUpdateSite": "사이트 업데이트",
|
"actionUpdateSite": "사이트 업데이트",
|
||||||
|
"actionResetSiteBandwidth": "조직 대역폭 재설정",
|
||||||
"actionListSiteRoles": "허용된 사이트 역할 목록",
|
"actionListSiteRoles": "허용된 사이트 역할 목록",
|
||||||
"actionCreateResource": "리소스 생성",
|
"actionCreateResource": "리소스 생성",
|
||||||
"actionDeleteResource": "리소스 삭제",
|
"actionDeleteResource": "리소스 삭제",
|
||||||
@@ -1148,7 +1205,7 @@
|
|||||||
"actionRemoveUser": "사용자 제거",
|
"actionRemoveUser": "사용자 제거",
|
||||||
"actionListUsers": "사용자 목록",
|
"actionListUsers": "사용자 목록",
|
||||||
"actionAddUserRole": "사용자 역할 추가",
|
"actionAddUserRole": "사용자 역할 추가",
|
||||||
"actionSetUserOrgRoles": "Set User Roles",
|
"actionSetUserOrgRoles": "사용자 역할 설정",
|
||||||
"actionGenerateAccessToken": "액세스 토큰 생성",
|
"actionGenerateAccessToken": "액세스 토큰 생성",
|
||||||
"actionDeleteAccessToken": "액세스 토큰 삭제",
|
"actionDeleteAccessToken": "액세스 토큰 삭제",
|
||||||
"actionListAccessTokens": "액세스 토큰 목록",
|
"actionListAccessTokens": "액세스 토큰 목록",
|
||||||
@@ -1265,6 +1322,7 @@
|
|||||||
"sidebarRoles": "역할",
|
"sidebarRoles": "역할",
|
||||||
"sidebarShareableLinks": "링크",
|
"sidebarShareableLinks": "링크",
|
||||||
"sidebarApiKeys": "API 키",
|
"sidebarApiKeys": "API 키",
|
||||||
|
"sidebarProvisioning": "프로비저닝",
|
||||||
"sidebarSettings": "설정",
|
"sidebarSettings": "설정",
|
||||||
"sidebarAllUsers": "모든 사용자",
|
"sidebarAllUsers": "모든 사용자",
|
||||||
"sidebarIdentityProviders": "신원 공급자",
|
"sidebarIdentityProviders": "신원 공급자",
|
||||||
@@ -1890,6 +1948,40 @@
|
|||||||
"exitNode": "종단 노드",
|
"exitNode": "종단 노드",
|
||||||
"country": "국가",
|
"country": "국가",
|
||||||
"rulesMatchCountry": "현재 소스 IP를 기반으로 합니다",
|
"rulesMatchCountry": "현재 소스 IP를 기반으로 합니다",
|
||||||
|
"region": "지역",
|
||||||
|
"selectRegion": "지역 선택",
|
||||||
|
"searchRegions": "지역 검색...",
|
||||||
|
"noRegionFound": "지역을 찾을 수 없습니다.",
|
||||||
|
"rulesMatchRegion": "국가의 지역 구성을 선택합니다",
|
||||||
|
"rulesErrorInvalidRegion": "잘못된 지역",
|
||||||
|
"rulesErrorInvalidRegionDescription": "유효한 지역을 선택하세요.",
|
||||||
|
"regionAfrica": "아프리카",
|
||||||
|
"regionNorthernAfrica": "북부 아프리카",
|
||||||
|
"regionEasternAfrica": "동부 아프리카",
|
||||||
|
"regionMiddleAfrica": "중부 아프리카",
|
||||||
|
"regionSouthernAfrica": "남부 아프리카",
|
||||||
|
"regionWesternAfrica": "서부 아프리카",
|
||||||
|
"regionAmericas": "아메리카",
|
||||||
|
"regionCaribbean": "카리브",
|
||||||
|
"regionCentralAmerica": "중앙 아메리카",
|
||||||
|
"regionSouthAmerica": "남아메리카",
|
||||||
|
"regionNorthernAmerica": "북미",
|
||||||
|
"regionAsia": "아시아",
|
||||||
|
"regionCentralAsia": "중앙 아시아",
|
||||||
|
"regionEasternAsia": "동아시아",
|
||||||
|
"regionSouthEasternAsia": "동남아시아",
|
||||||
|
"regionSouthernAsia": "남아시아",
|
||||||
|
"regionWesternAsia": "서아시아",
|
||||||
|
"regionEurope": "유럽",
|
||||||
|
"regionEasternEurope": "동부 유럽",
|
||||||
|
"regionNorthernEurope": "북부 유럽",
|
||||||
|
"regionSouthernEurope": "남부 유럽",
|
||||||
|
"regionWesternEurope": "서부 유럽",
|
||||||
|
"regionOceania": "오세아니아",
|
||||||
|
"regionAustraliaAndNewZealand": "호주와 뉴질랜드",
|
||||||
|
"regionMelanesia": "멜라네시아",
|
||||||
|
"regionMicronesia": "미크로네시아",
|
||||||
|
"regionPolynesia": "폴리네시아",
|
||||||
"managedSelfHosted": {
|
"managedSelfHosted": {
|
||||||
"title": "관리 자체 호스팅",
|
"title": "관리 자체 호스팅",
|
||||||
"description": "더 신뢰할 수 있고 낮은 유지보수의 자체 호스팅 팡골린 서버, 추가 기능 포함",
|
"description": "더 신뢰할 수 있고 낮은 유지보수의 자체 호스팅 팡골린 서버, 추가 기능 포함",
|
||||||
@@ -1938,6 +2030,25 @@
|
|||||||
"invalidValue": "잘못된 값",
|
"invalidValue": "잘못된 값",
|
||||||
"idpTypeLabel": "신원 공급자 유형",
|
"idpTypeLabel": "신원 공급자 유형",
|
||||||
"roleMappingExpressionPlaceholder": "예: contains(groups, 'admin') && 'Admin' || 'Member'",
|
"roleMappingExpressionPlaceholder": "예: contains(groups, 'admin') && 'Admin' || 'Member'",
|
||||||
|
"roleMappingModeFixedRoles": "고정 역할",
|
||||||
|
"roleMappingModeMappingBuilder": "매핑 빌더",
|
||||||
|
"roleMappingModeRawExpression": "원시 표현식",
|
||||||
|
"roleMappingFixedRolesPlaceholderSelect": "하나 이상의 역할을 선택하세요",
|
||||||
|
"roleMappingFixedRolesPlaceholderFreeform": "역할 이름 입력 (조직마다 정확히 일치)",
|
||||||
|
"roleMappingFixedRolesDescriptionSameForAll": "모든 자동 프로비전 사용자에게 동일한 역할 세트를 할당합니다.",
|
||||||
|
"roleMappingFixedRolesDescriptionDefaultPolicy": "기본 정책의 경우 사용자가 프로비저닝된 조직의 역할 이름을 입력하세요. 이름은 정확히 일치해야 합니다.",
|
||||||
|
"roleMappingClaimPath": "클레임 경로",
|
||||||
|
"roleMappingClaimPathPlaceholder": "그룹",
|
||||||
|
"roleMappingClaimPathDescription": "토큰 페이로드에서 소스 값을 포함하는 경로 (예: 그룹).",
|
||||||
|
"roleMappingMatchValue": "매치 값",
|
||||||
|
"roleMappingAssignRoles": "역할 할당",
|
||||||
|
"roleMappingAddMappingRule": "매핑 규칙 추가",
|
||||||
|
"roleMappingRawExpressionResultDescription": "표현식은 문자열 또는 문자열 배열로 평가되어야 합니다.",
|
||||||
|
"roleMappingRawExpressionResultDescriptionSingleRole": "표현식은 문자열 (단일 역할 이름)로 평가되어야 합니다.",
|
||||||
|
"roleMappingMatchValuePlaceholder": "매치 값 (예: 관리자)",
|
||||||
|
"roleMappingAssignRolesPlaceholderFreeform": "역할 이름 입력 (조직마다 정확히)",
|
||||||
|
"roleMappingBuilderFreeformRowHint": "역할 이름은 각 대상 조직의 역할과 일치해야 합니다.",
|
||||||
|
"roleMappingRemoveRule": "제거",
|
||||||
"idpGoogleConfiguration": "Google 구성",
|
"idpGoogleConfiguration": "Google 구성",
|
||||||
"idpGoogleConfigurationDescription": "Google OAuth2 자격 증명을 구성합니다.",
|
"idpGoogleConfigurationDescription": "Google OAuth2 자격 증명을 구성합니다.",
|
||||||
"idpGoogleClientIdDescription": "Google OAuth2 클라이언트 ID",
|
"idpGoogleClientIdDescription": "Google OAuth2 클라이언트 ID",
|
||||||
@@ -2334,6 +2445,8 @@
|
|||||||
"logRetentionAccessDescription": "접근 로그를 얼마나 오래 보관할지",
|
"logRetentionAccessDescription": "접근 로그를 얼마나 오래 보관할지",
|
||||||
"logRetentionActionLabel": "작업 로그 보관",
|
"logRetentionActionLabel": "작업 로그 보관",
|
||||||
"logRetentionActionDescription": "작업 로그를 얼마나 오래 보관할지",
|
"logRetentionActionDescription": "작업 로그를 얼마나 오래 보관할지",
|
||||||
|
"logRetentionConnectionLabel": "연결 로그 보유 기간",
|
||||||
|
"logRetentionConnectionDescription": "연결 로그를 얼마나 오래 보유할지",
|
||||||
"logRetentionDisabled": "비활성화됨",
|
"logRetentionDisabled": "비활성화됨",
|
||||||
"logRetention3Days": "3 일",
|
"logRetention3Days": "3 일",
|
||||||
"logRetention7Days": "7 일",
|
"logRetention7Days": "7 일",
|
||||||
@@ -2344,6 +2457,13 @@
|
|||||||
"logRetentionEndOfFollowingYear": "다음 연도 말",
|
"logRetentionEndOfFollowingYear": "다음 연도 말",
|
||||||
"actionLogsDescription": "이 조직에서 수행된 작업의 기록을 봅니다",
|
"actionLogsDescription": "이 조직에서 수행된 작업의 기록을 봅니다",
|
||||||
"accessLogsDescription": "이 조직의 자원에 대한 접근 인증 요청을 확인합니다",
|
"accessLogsDescription": "이 조직의 자원에 대한 접근 인증 요청을 확인합니다",
|
||||||
|
"connectionLogs": "연결 로그",
|
||||||
|
"connectionLogsDescription": "이 조직의 터널 연결 로그 보기",
|
||||||
|
"sidebarLogsConnection": "연결 로그",
|
||||||
|
"sidebarLogsStreaming": "스트리밍",
|
||||||
|
"sourceAddress": "소스 주소",
|
||||||
|
"destinationAddress": "대상 주소",
|
||||||
|
"duration": "지속 시간",
|
||||||
"licenseRequiredToUse": "이 기능을 사용하려면 <enterpriseLicenseLink>엔터프라이즈 에디션</enterpriseLicenseLink> 라이선스가 필요합니다. 이 기능은 <pangolinCloudLink>판골린 클라우드</pangolinCloudLink>에서도 사용할 수 있습니다. <bookADemoLink>데모 또는 POC 체험을 예약하세요</bookADemoLink>.",
|
"licenseRequiredToUse": "이 기능을 사용하려면 <enterpriseLicenseLink>엔터프라이즈 에디션</enterpriseLicenseLink> 라이선스가 필요합니다. 이 기능은 <pangolinCloudLink>판골린 클라우드</pangolinCloudLink>에서도 사용할 수 있습니다. <bookADemoLink>데모 또는 POC 체험을 예약하세요</bookADemoLink>.",
|
||||||
"ossEnterpriseEditionRequired": "이 기능을 사용하려면 <enterpriseEditionLink>엔터프라이즈 에디션</enterpriseEditionLink>이(가) 필요합니다. 이 기능은 <pangolinCloudLink>판골린 클라우드</pangolinCloudLink>에서도 사용할 수 있습니다. <bookADemoLink>데모 또는 POC 체험을 예약하세요</bookADemoLink>.",
|
"ossEnterpriseEditionRequired": "이 기능을 사용하려면 <enterpriseEditionLink>엔터프라이즈 에디션</enterpriseEditionLink>이(가) 필요합니다. 이 기능은 <pangolinCloudLink>판골린 클라우드</pangolinCloudLink>에서도 사용할 수 있습니다. <bookADemoLink>데모 또는 POC 체험을 예약하세요</bookADemoLink>.",
|
||||||
"certResolver": "인증서 해결사",
|
"certResolver": "인증서 해결사",
|
||||||
@@ -2683,5 +2803,90 @@
|
|||||||
"approvalsEmptyStateStep2Description": "역할을 편집하고 '장치 승인 요구' 옵션을 활성화하세요. 이 역할을 가진 사용자는 새 장치에 대해 관리자의 승인이 필요합니다.",
|
"approvalsEmptyStateStep2Description": "역할을 편집하고 '장치 승인 요구' 옵션을 활성화하세요. 이 역할을 가진 사용자는 새 장치에 대해 관리자의 승인이 필요합니다.",
|
||||||
"approvalsEmptyStatePreviewDescription": "미리 보기: 활성화된 경우, 승인 대기 중인 장치 요청이 검토용으로 여기에 표시됩니다.",
|
"approvalsEmptyStatePreviewDescription": "미리 보기: 활성화된 경우, 승인 대기 중인 장치 요청이 검토용으로 여기에 표시됩니다.",
|
||||||
"approvalsEmptyStateButtonText": "역할 관리",
|
"approvalsEmptyStateButtonText": "역할 관리",
|
||||||
"domainErrorTitle": "도메인 확인에 문제가 발생했습니다."
|
"domainErrorTitle": "도메인 확인에 문제가 발생했습니다.",
|
||||||
|
"idpAdminAutoProvisionPoliciesTabHint": "<policiesTabLink>자동 프로비저닝 설정</policiesTabLink> 탭에서 역할 매핑 및 조직 정책을 구성합니다.",
|
||||||
|
"streamingTitle": "이벤트 스트리밍",
|
||||||
|
"streamingDescription": "조직의 이벤트를 외부 목적지로 실시간 전송합니다.",
|
||||||
|
"streamingUnnamedDestination": "이름이 없는 대상지",
|
||||||
|
"streamingNoUrlConfigured": "설정된 URL이 없습니다",
|
||||||
|
"streamingAddDestination": "대상지 추가",
|
||||||
|
"streamingHttpWebhookTitle": "HTTP 웹훅",
|
||||||
|
"streamingHttpWebhookDescription": "유연한 인증 및 템플릿 작성 기능을 갖춘 HTTP 엔드포인트에 이벤트를 전송합니다.",
|
||||||
|
"streamingS3Title": "아마존 S3",
|
||||||
|
"streamingS3Description": "S3 호환 객체 스토리지 버킷에 이벤트를 스트리밍합니다. 곧 제공됩니다.",
|
||||||
|
"streamingDatadogTitle": "데이터독",
|
||||||
|
"streamingDatadogDescription": "이벤트를 직접 Datadog 계정으로 전달합니다. 곧 제공됩니다.",
|
||||||
|
"streamingTypePickerDescription": "목표 유형을 선택하여 시작합니다.",
|
||||||
|
"streamingFailedToLoad": "대상 로드에 실패했습니다",
|
||||||
|
"streamingUnexpectedError": "예기치 않은 오류가 발생했습니다.",
|
||||||
|
"streamingFailedToUpdate": "대상지를 업데이트하는 데 실패했습니다",
|
||||||
|
"streamingDeletedSuccess": "대상지가 성공적으로 삭제되었습니다",
|
||||||
|
"streamingFailedToDelete": "대상지 삭제 실패",
|
||||||
|
"streamingDeleteTitle": "대상지 삭제",
|
||||||
|
"streamingDeleteButtonText": "대상지 삭제",
|
||||||
|
"streamingDeleteDialogAreYouSure": "삭제하시겠습니까",
|
||||||
|
"streamingDeleteDialogThisDestination": "이 대상지",
|
||||||
|
"streamingDeleteDialogPermanentlyRemoved": "? 모든 구성은 영구적으로 제거됩니다.",
|
||||||
|
"httpDestEditTitle": "대상지 수정",
|
||||||
|
"httpDestAddTitle": "HTTP 대상지 추가",
|
||||||
|
"httpDestEditDescription": "이 HTTP 이벤트 스트리밍 대상지의 구성을 업데이트하세요.",
|
||||||
|
"httpDestAddDescription": "조직의 이벤트 수신을 위한 새로운 HTTP 엔드포인트를 구성하세요.",
|
||||||
|
"httpDestTabSettings": "설정",
|
||||||
|
"httpDestTabHeaders": "헤더",
|
||||||
|
"httpDestTabBody": "본문",
|
||||||
|
"httpDestTabLogs": "로그",
|
||||||
|
"httpDestNamePlaceholder": "내 HTTP 대상",
|
||||||
|
"httpDestUrlLabel": "대상 URL",
|
||||||
|
"httpDestUrlErrorHttpRequired": "URL은 http 또는 https를 사용해야 합니다",
|
||||||
|
"httpDestUrlErrorHttpsRequired": "클라우드 배포에는 HTTPS가 필요합니다",
|
||||||
|
"httpDestUrlErrorInvalid": "유효한 URL을 입력하세요 (예: https://example.com/webhook)",
|
||||||
|
"httpDestAuthTitle": "인증",
|
||||||
|
"httpDestAuthDescription": "엔드포인트에 대한 요청 인증 방법을 선택하세요.",
|
||||||
|
"httpDestAuthNoneTitle": "인증 없음",
|
||||||
|
"httpDestAuthNoneDescription": "Authorization 헤더 없이 요청을 보냅니다.",
|
||||||
|
"httpDestAuthBearerTitle": "Bearer 토큰",
|
||||||
|
"httpDestAuthBearerDescription": "모든 요청에 Authorization: Bearer <token> 헤더를 추가합니다.",
|
||||||
|
"httpDestAuthBearerPlaceholder": "API 키 또는 토큰",
|
||||||
|
"httpDestAuthBasicTitle": "기본 인증",
|
||||||
|
"httpDestAuthBasicDescription": "Authorization: Basic <credentials> 헤더를 추가합니다. 자격 증명은 username:password 형식으로 제공하세요.",
|
||||||
|
"httpDestAuthBasicPlaceholder": "사용자 이름:비밀번호",
|
||||||
|
"httpDestAuthCustomTitle": "사용자 정의 헤더",
|
||||||
|
"httpDestAuthCustomDescription": "인증을 위한 사용자 정의 HTTP 헤더 이름 및 값을 지정하세요 (예: X-API-Key).",
|
||||||
|
"httpDestAuthCustomHeaderNamePlaceholder": "헤더 이름 (예: X-API-Key)",
|
||||||
|
"httpDestAuthCustomHeaderValuePlaceholder": "헤더 값",
|
||||||
|
"httpDestCustomHeadersTitle": "사용자 정의 HTTP 헤더",
|
||||||
|
"httpDestCustomHeadersDescription": "모든 발신 요청에 사용자 정의 헤더를 추가합니다. 정적 토큰 또는 사용자 정의 Content-Type에 유용합니다. 기본적으로 Content-Type: application/json이 전송됩니다.",
|
||||||
|
"httpDestNoHeadersConfigured": "구성된 사용자 정의 헤더가 없습니다. \"헤더 추가\"를 클릭하여 추가하세요.",
|
||||||
|
"httpDestHeaderNamePlaceholder": "헤더 이름",
|
||||||
|
"httpDestHeaderValuePlaceholder": "값",
|
||||||
|
"httpDestAddHeader": "헤더 추가",
|
||||||
|
"httpDestBodyTemplateTitle": "사용자 정의 본문 템플릿",
|
||||||
|
"httpDestBodyTemplateDescription": "엔드포인트에 전송되는 JSON 페이로드 구조를 제어합니다. 비활성화된 경우 각 이벤트에 대해 기본 JSON 객체가 전송됩니다.",
|
||||||
|
"httpDestEnableBodyTemplate": "사용자 정의 본문 템플릿 활성화",
|
||||||
|
"httpDestBodyTemplateLabel": "본문 템플릿 (JSON)",
|
||||||
|
"httpDestBodyTemplateHint": "템플릿 변수를 사용하여 페이로드에서 이벤트 필드를 참조하세요.",
|
||||||
|
"httpDestPayloadFormatTitle": "페이로드 형식",
|
||||||
|
"httpDestPayloadFormatDescription": "각 요청 본문에 이벤트가 시리얼라이즈되는 방식입니다.",
|
||||||
|
"httpDestFormatJsonArrayTitle": "JSON 배열",
|
||||||
|
"httpDestFormatJsonArrayDescription": "각 배치마다 요청 하나씩, 본문은 JSON 배열입니다. 대부분의 일반 웹훅 및 Datadog과 호환됩니다.",
|
||||||
|
"httpDestFormatNdjsonTitle": "NDJSON",
|
||||||
|
"httpDestFormatNdjsonDescription": "각 배치마다 요청 하나씩, 본문은 줄 구분 JSON — 한 라인에 하나의 객체가 있으며 외부 배열이 없습니다. Splunk HEC, Elastic / OpenSearch, Grafana Loki에 필요합니다.",
|
||||||
|
"httpDestFormatSingleTitle": "각 요청 당 하나의 이벤트",
|
||||||
|
"httpDestFormatSingleDescription": "각 개별 이벤트에 대해 별도의 HTTP POST를 전송합니다. 배치를 처리할 수 없는 엔드포인트에만 사용하세요.",
|
||||||
|
"httpDestLogTypesTitle": "로그 유형",
|
||||||
|
"httpDestLogTypesDescription": "이 대상지에 전달될 로그 유형을 선택하세요. 활성화된 로그 유형만 스트리밍 됩니다.",
|
||||||
|
"httpDestAccessLogsTitle": "접근 로그",
|
||||||
|
"httpDestAccessLogsDescription": "인증 및 거부된 요청을 포함한 리소스 접근 시도.",
|
||||||
|
"httpDestActionLogsTitle": "작업 로그",
|
||||||
|
"httpDestActionLogsDescription": "조직 내에서 사용자가 수행한 관리 작업.",
|
||||||
|
"httpDestConnectionLogsTitle": "연결 로그",
|
||||||
|
"httpDestConnectionLogsDescription": "사이트 및 터널 연결 이벤트, 연결 및 연결 끊기를 포함합니다.",
|
||||||
|
"httpDestRequestLogsTitle": "요청 로그",
|
||||||
|
"httpDestRequestLogsDescription": "프록시된 리소스에 대한 HTTP 요청 로그, 메서드, 경로 및 응답 코드를 포함합니다.",
|
||||||
|
"httpDestSaveChanges": "변경 사항 저장",
|
||||||
|
"httpDestCreateDestination": "대상지 생성",
|
||||||
|
"httpDestUpdatedSuccess": "대상지가 성공적으로 업데이트되었습니다",
|
||||||
|
"httpDestCreatedSuccess": "대상지가 성공적으로 생성되었습니다",
|
||||||
|
"httpDestUpdateFailed": "대상지를 업데이트하는 데 실패했습니다",
|
||||||
|
"httpDestCreateFailed": "대상지를 생성하는 데 실패했습니다"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -148,6 +148,11 @@
|
|||||||
"createLink": "Opprett lenke",
|
"createLink": "Opprett lenke",
|
||||||
"resourcesNotFound": "Ingen ressurser funnet",
|
"resourcesNotFound": "Ingen ressurser funnet",
|
||||||
"resourceSearch": "Søk i ressurser",
|
"resourceSearch": "Søk i ressurser",
|
||||||
|
"machineSearch": "Søk etter maskiner",
|
||||||
|
"machinesSearch": "Søk etter maskinklienter...",
|
||||||
|
"machineNotFound": "Ingen maskiner funnet",
|
||||||
|
"userDeviceSearch": "Søk etter brukerenheter",
|
||||||
|
"userDevicesSearch": "Søk etter brukerenheter...",
|
||||||
"openMenu": "Åpne meny",
|
"openMenu": "Åpne meny",
|
||||||
"resource": "Ressurs",
|
"resource": "Ressurs",
|
||||||
"title": "Tittel",
|
"title": "Tittel",
|
||||||
@@ -323,6 +328,54 @@
|
|||||||
"apiKeysDelete": "Slett API-nøkkel",
|
"apiKeysDelete": "Slett API-nøkkel",
|
||||||
"apiKeysManage": "Administrer API-nøkler",
|
"apiKeysManage": "Administrer API-nøkler",
|
||||||
"apiKeysDescription": "API-nøkler brukes for å autentisere med integrasjons-API",
|
"apiKeysDescription": "API-nøkler brukes for å autentisere med integrasjons-API",
|
||||||
|
"provisioningKeysTitle": "Foreløpig nøkkel",
|
||||||
|
"provisioningKeysManage": "Behandle bestemmende nøkler",
|
||||||
|
"provisioningKeysDescription": "Bestemmelsesnøkler brukes til å godkjenne automatisert nettstedsløsning for din organisasjon.",
|
||||||
|
"provisioningManage": "Levering",
|
||||||
|
"provisioningDescription": "Administrer foreløpig nøkler og gjennomgå ventende nettsteder som venter på godkjenning.",
|
||||||
|
"pendingSites": "Ventende nettsteder",
|
||||||
|
"siteApproveSuccess": "Vellykket godkjenning av nettsted",
|
||||||
|
"siteApproveError": "Feil ved godkjenning av side",
|
||||||
|
"provisioningKeys": "Foreløpig nøkler",
|
||||||
|
"searchProvisioningKeys": "Søk varer i lagrings nøkler...",
|
||||||
|
"provisioningKeysAdd": "Generer fremvisende nøkkel",
|
||||||
|
"provisioningKeysErrorDelete": "Feil under sletting av foreløpig nøkkel",
|
||||||
|
"provisioningKeysErrorDeleteMessage": "Feil under sletting av foreløpig nøkkel",
|
||||||
|
"provisioningKeysQuestionRemove": "Er du sikker på at du vil fjerne denne midlertidig nøkkelen fra organisasjonen?",
|
||||||
|
"provisioningKeysMessageRemove": "Når nøkkelen er fjernet, kan den ikke lenger brukes til anleggsavsetning.",
|
||||||
|
"provisioningKeysDeleteConfirm": "Bekreft sletting av bestemmelsesnøkkel",
|
||||||
|
"provisioningKeysDelete": "Slett bestemmelsesnøkkel",
|
||||||
|
"provisioningKeysCreate": "Generer fremvisende nøkkel",
|
||||||
|
"provisioningKeysCreateDescription": "Generer en ny foreløpig nøkkel til organisasjonen",
|
||||||
|
"provisioningKeysSeeAll": "Se alle foreløpig nøkler",
|
||||||
|
"provisioningKeysSave": "Lagre den midlertidig nøkkelen",
|
||||||
|
"provisioningKeysSaveDescription": "Du kan bare se denne én gang. Kopier det til et sikkert sted.",
|
||||||
|
"provisioningKeysErrorCreate": "Feil under oppretting av foreløpig nøkkel",
|
||||||
|
"provisioningKeysList": "Ny provisorisk nøkkel",
|
||||||
|
"provisioningKeysMaxBatchSize": "Maks størrelse på bunt",
|
||||||
|
"provisioningKeysUnlimitedBatchSize": "Ubegrenset mengde bunt (ingen begrensning)",
|
||||||
|
"provisioningKeysMaxBatchUnlimited": "Ubegrenset",
|
||||||
|
"provisioningKeysMaxBatchSizeInvalid": "Angi en gyldig sjakkstørrelse (1–1 000.000).",
|
||||||
|
"provisioningKeysValidUntil": "Gyldig til",
|
||||||
|
"provisioningKeysValidUntilHint": "La stå tomt for ingen utløp.",
|
||||||
|
"provisioningKeysValidUntilInvalid": "Angi en gyldig dato og klokkeslett.",
|
||||||
|
"provisioningKeysNumUsed": "Antall ganger brukt",
|
||||||
|
"provisioningKeysLastUsed": "Sist brukt",
|
||||||
|
"provisioningKeysNoExpiry": "Ingen utløpsdato",
|
||||||
|
"provisioningKeysNeverUsed": "Aldri",
|
||||||
|
"provisioningKeysEdit": "Rediger bestemmelsesnøkkel",
|
||||||
|
"provisioningKeysEditDescription": "Oppdater maksimal størrelse for bunt og utløpstid for denne nøkkelen.",
|
||||||
|
"provisioningKeysApproveNewSites": "Godkjenn nye nettsteder",
|
||||||
|
"provisioningKeysApproveNewSitesDescription": "Godkjenn automatisk nettsteder som registrerer deg med denne nøkkelen.",
|
||||||
|
"provisioningKeysUpdateError": "Feil under oppdatering av foreløpig nøkkel",
|
||||||
|
"provisioningKeysUpdated": "Foreslå nøkkel oppdatert",
|
||||||
|
"provisioningKeysUpdatedDescription": "Dine endringer er lagret.",
|
||||||
|
"provisioningKeysBannerTitle": "Sidens bestemmende nøkler",
|
||||||
|
"provisioningKeysBannerDescription": "Generer en foreløpig nøkkel og bruk den med Nyhetskontakten for å automatisk opprette sider ved første oppstart — trenger ikke å sette opp separat innloggingsinformasjon for hver side.",
|
||||||
|
"provisioningKeysBannerButtonText": "Lær mer",
|
||||||
|
"pendingSitesBannerTitle": "Ventende nettsteder",
|
||||||
|
"pendingSitesBannerDescription": "Nettsteder som kobler deg til ved hjelp av en bestemmelsestekst, vises her for gjennomgang. Godkjenn hvert nettsted før det blir aktivt og får tilgang til ressursene dine.",
|
||||||
|
"pendingSitesBannerButtonText": "Lær mer",
|
||||||
"apiKeysSettings": "{apiKeyName} Innstillinger",
|
"apiKeysSettings": "{apiKeyName} Innstillinger",
|
||||||
"userTitle": "Administrer alle brukere",
|
"userTitle": "Administrer alle brukere",
|
||||||
"userDescription": "Vis og administrer alle brukere i systemet",
|
"userDescription": "Vis og administrer alle brukere i systemet",
|
||||||
@@ -509,9 +562,12 @@
|
|||||||
"userSaved": "Bruker lagret",
|
"userSaved": "Bruker lagret",
|
||||||
"userSavedDescription": "Brukeren har blitt oppdatert.",
|
"userSavedDescription": "Brukeren har blitt oppdatert.",
|
||||||
"autoProvisioned": "Auto avlyst",
|
"autoProvisioned": "Auto avlyst",
|
||||||
|
"autoProvisionSettings": "Auto leveringsinnstillinger",
|
||||||
"autoProvisionedDescription": "Tillat denne brukeren å bli automatisk administrert av en identitetsleverandør",
|
"autoProvisionedDescription": "Tillat denne brukeren å bli automatisk administrert av en identitetsleverandør",
|
||||||
"accessControlsDescription": "Administrer hva denne brukeren kan få tilgang til og gjøre i organisasjonen",
|
"accessControlsDescription": "Administrer hva denne brukeren kan få tilgang til og gjøre i organisasjonen",
|
||||||
"accessControlsSubmit": "Lagre tilgangskontroller",
|
"accessControlsSubmit": "Lagre tilgangskontroller",
|
||||||
|
"singleRolePerUserPlanNotice": "Din plan støtter bare én rolle per bruker.",
|
||||||
|
"singleRolePerUserEditionNotice": "Denne utgaven støtter bare én rolle per bruker.",
|
||||||
"roles": "Roller",
|
"roles": "Roller",
|
||||||
"accessUsersRoles": "Administrer brukere og roller",
|
"accessUsersRoles": "Administrer brukere og roller",
|
||||||
"accessUsersRolesDescription": "Inviter brukere og legg dem til roller for å administrere tilgang til organisasjonen",
|
"accessUsersRolesDescription": "Inviter brukere og legg dem til roller for å administrere tilgang til organisasjonen",
|
||||||
@@ -1119,6 +1175,7 @@
|
|||||||
"setupTokenDescription": "Skriv inn oppsetttoken fra serverkonsollen.",
|
"setupTokenDescription": "Skriv inn oppsetttoken fra serverkonsollen.",
|
||||||
"setupTokenRequired": "Oppsetttoken er nødvendig",
|
"setupTokenRequired": "Oppsetttoken er nødvendig",
|
||||||
"actionUpdateSite": "Oppdater område",
|
"actionUpdateSite": "Oppdater område",
|
||||||
|
"actionResetSiteBandwidth": "Tilbakestill organisasjons-båndbredde",
|
||||||
"actionListSiteRoles": "List opp tillatte områderoller",
|
"actionListSiteRoles": "List opp tillatte områderoller",
|
||||||
"actionCreateResource": "Opprett ressurs",
|
"actionCreateResource": "Opprett ressurs",
|
||||||
"actionDeleteResource": "Slett ressurs",
|
"actionDeleteResource": "Slett ressurs",
|
||||||
@@ -1148,7 +1205,7 @@
|
|||||||
"actionRemoveUser": "Fjern bruker",
|
"actionRemoveUser": "Fjern bruker",
|
||||||
"actionListUsers": "List opp brukere",
|
"actionListUsers": "List opp brukere",
|
||||||
"actionAddUserRole": "Legg til brukerrolle",
|
"actionAddUserRole": "Legg til brukerrolle",
|
||||||
"actionSetUserOrgRoles": "Set User Roles",
|
"actionSetUserOrgRoles": "Angi brukerroller",
|
||||||
"actionGenerateAccessToken": "Generer tilgangstoken",
|
"actionGenerateAccessToken": "Generer tilgangstoken",
|
||||||
"actionDeleteAccessToken": "Slett tilgangstoken",
|
"actionDeleteAccessToken": "Slett tilgangstoken",
|
||||||
"actionListAccessTokens": "List opp tilgangstokener",
|
"actionListAccessTokens": "List opp tilgangstokener",
|
||||||
@@ -1265,6 +1322,7 @@
|
|||||||
"sidebarRoles": "Roller",
|
"sidebarRoles": "Roller",
|
||||||
"sidebarShareableLinks": "Lenker",
|
"sidebarShareableLinks": "Lenker",
|
||||||
"sidebarApiKeys": "API-nøkler",
|
"sidebarApiKeys": "API-nøkler",
|
||||||
|
"sidebarProvisioning": "Levering",
|
||||||
"sidebarSettings": "Innstillinger",
|
"sidebarSettings": "Innstillinger",
|
||||||
"sidebarAllUsers": "Alle brukere",
|
"sidebarAllUsers": "Alle brukere",
|
||||||
"sidebarIdentityProviders": "Identitetsleverandører",
|
"sidebarIdentityProviders": "Identitetsleverandører",
|
||||||
@@ -1890,6 +1948,40 @@
|
|||||||
"exitNode": "Utgangsnode",
|
"exitNode": "Utgangsnode",
|
||||||
"country": "Land",
|
"country": "Land",
|
||||||
"rulesMatchCountry": "For tiden basert på kilde IP",
|
"rulesMatchCountry": "For tiden basert på kilde IP",
|
||||||
|
"region": "Fylke",
|
||||||
|
"selectRegion": "Velg region",
|
||||||
|
"searchRegions": "Søk etter områder...",
|
||||||
|
"noRegionFound": "Ingen region funnet.",
|
||||||
|
"rulesMatchRegion": "Velg en regional gruppering av land",
|
||||||
|
"rulesErrorInvalidRegion": "Ugyldig område",
|
||||||
|
"rulesErrorInvalidRegionDescription": "Vennligst velg et gyldig område.",
|
||||||
|
"regionAfrica": "Afrika",
|
||||||
|
"regionNorthernAfrica": "[country name] Nord-Afrika",
|
||||||
|
"regionEasternAfrica": "Øst-Afrika",
|
||||||
|
"regionMiddleAfrica": "Middle Africa",
|
||||||
|
"regionSouthernAfrica": "Sør-Afrika",
|
||||||
|
"regionWesternAfrica": "[country name] Vest-Afrika",
|
||||||
|
"regionAmericas": "Amerika",
|
||||||
|
"regionCaribbean": "Karibia",
|
||||||
|
"regionCentralAmerica": "Sentral-Amerika",
|
||||||
|
"regionSouthAmerica": "Sør-Amerika",
|
||||||
|
"regionNorthernAmerica": "Nord-Amerika",
|
||||||
|
"regionAsia": "Asia",
|
||||||
|
"regionCentralAsia": "Sentral-Asia",
|
||||||
|
"regionEasternAsia": "Øst-Asia",
|
||||||
|
"regionSouthEasternAsia": "Sørøst-Asia",
|
||||||
|
"regionSouthernAsia": "Sørlige Asia",
|
||||||
|
"regionWesternAsia": "Vest-Asia",
|
||||||
|
"regionEurope": "Europa",
|
||||||
|
"regionEasternEurope": "Øst-Europa",
|
||||||
|
"regionNorthernEurope": "Nord-Europa",
|
||||||
|
"regionSouthernEurope": "Sørlige Europa",
|
||||||
|
"regionWesternEurope": "Vest-Europa",
|
||||||
|
"regionOceania": "Oceania",
|
||||||
|
"regionAustraliaAndNewZealand": "Australia og New Zealand",
|
||||||
|
"regionMelanesia": "Melanesia",
|
||||||
|
"regionMicronesia": "Micronesia",
|
||||||
|
"regionPolynesia": "Polynesia",
|
||||||
"managedSelfHosted": {
|
"managedSelfHosted": {
|
||||||
"title": "Administrert selv-hostet",
|
"title": "Administrert selv-hostet",
|
||||||
"description": "Sikre og lavvedlikeholdsservere, selvbetjente Pangolin med ekstra klokker, og understell",
|
"description": "Sikre og lavvedlikeholdsservere, selvbetjente Pangolin med ekstra klokker, og understell",
|
||||||
@@ -1938,6 +2030,25 @@
|
|||||||
"invalidValue": "Ugyldig verdi",
|
"invalidValue": "Ugyldig verdi",
|
||||||
"idpTypeLabel": "Identitet leverandør type",
|
"idpTypeLabel": "Identitet leverandør type",
|
||||||
"roleMappingExpressionPlaceholder": "F.eks. inneholder(grupper, 'admin') && 'Admin' ⋅'Medlem'",
|
"roleMappingExpressionPlaceholder": "F.eks. inneholder(grupper, 'admin') && 'Admin' ⋅'Medlem'",
|
||||||
|
"roleMappingModeFixedRoles": "Fast roller",
|
||||||
|
"roleMappingModeMappingBuilder": "Kartlegger bygger",
|
||||||
|
"roleMappingModeRawExpression": "Rå uttrykk",
|
||||||
|
"roleMappingFixedRolesPlaceholderSelect": "Velg en eller flere roller",
|
||||||
|
"roleMappingFixedRolesPlaceholderFreeform": "Skriv inn rollenavn (eksakt treff per organisasjon)",
|
||||||
|
"roleMappingFixedRolesDescriptionSameForAll": "Tilordne den samme rollen som er satt til hver automatisk midlertidig bruker.",
|
||||||
|
"roleMappingFixedRolesDescriptionDefaultPolicy": "For standard policyer, type rollenavn som eksisterer i hver organisasjon der brukerne tilbys. Navn må stemmer nøyaktig.",
|
||||||
|
"roleMappingClaimPath": "Krev sti",
|
||||||
|
"roleMappingClaimPathPlaceholder": "grupper",
|
||||||
|
"roleMappingClaimPathDescription": "Sti i i token nyttelast som inneholder kildeverdier (for eksempel grupper).",
|
||||||
|
"roleMappingMatchValue": "Treff verdi",
|
||||||
|
"roleMappingAssignRoles": "Tilordne roller",
|
||||||
|
"roleMappingAddMappingRule": "Legg til tilordningsregel",
|
||||||
|
"roleMappingRawExpressionResultDescription": "Uttrykk skal vurderes til en streng eller en tekststreng.",
|
||||||
|
"roleMappingRawExpressionResultDescriptionSingleRole": "Uttrykk må evaluere til en streng (en rollenavn).",
|
||||||
|
"roleMappingMatchValuePlaceholder": "Match verdi (for eksempel: admin)",
|
||||||
|
"roleMappingAssignRolesPlaceholderFreeform": "Angi rollenavn (eksakt per org)",
|
||||||
|
"roleMappingBuilderFreeformRowHint": "Rollenavn må samsvare med en rolle i hver målorganisasjon.",
|
||||||
|
"roleMappingRemoveRule": "Fjern",
|
||||||
"idpGoogleConfiguration": "Google Konfigurasjon",
|
"idpGoogleConfiguration": "Google Konfigurasjon",
|
||||||
"idpGoogleConfigurationDescription": "Konfigurer Google OAuth2 legitimasjonen",
|
"idpGoogleConfigurationDescription": "Konfigurer Google OAuth2 legitimasjonen",
|
||||||
"idpGoogleClientIdDescription": "Google OAuth2 Client ID",
|
"idpGoogleClientIdDescription": "Google OAuth2 Client ID",
|
||||||
@@ -2334,6 +2445,8 @@
|
|||||||
"logRetentionAccessDescription": "Hvor lenge du vil beholde adgangslogger",
|
"logRetentionAccessDescription": "Hvor lenge du vil beholde adgangslogger",
|
||||||
"logRetentionActionLabel": "Handlings logg nytt",
|
"logRetentionActionLabel": "Handlings logg nytt",
|
||||||
"logRetentionActionDescription": "Hvor lenge handlingen skal lagres",
|
"logRetentionActionDescription": "Hvor lenge handlingen skal lagres",
|
||||||
|
"logRetentionConnectionLabel": "Logg nyhet",
|
||||||
|
"logRetentionConnectionDescription": "Hvor lenge du vil beholde tilkoblingslogger",
|
||||||
"logRetentionDisabled": "Deaktivert",
|
"logRetentionDisabled": "Deaktivert",
|
||||||
"logRetention3Days": "3 dager",
|
"logRetention3Days": "3 dager",
|
||||||
"logRetention7Days": "7 dager",
|
"logRetention7Days": "7 dager",
|
||||||
@@ -2344,6 +2457,13 @@
|
|||||||
"logRetentionEndOfFollowingYear": "Slutt på neste år",
|
"logRetentionEndOfFollowingYear": "Slutt på neste år",
|
||||||
"actionLogsDescription": "Vis historikk for handlinger som er utført i denne organisasjonen",
|
"actionLogsDescription": "Vis historikk for handlinger som er utført i denne organisasjonen",
|
||||||
"accessLogsDescription": "Vis autoriseringsforespørsler for ressurser i denne organisasjonen",
|
"accessLogsDescription": "Vis autoriseringsforespørsler for ressurser i denne organisasjonen",
|
||||||
|
"connectionLogs": "Loggfiler for tilkobling",
|
||||||
|
"connectionLogsDescription": "Vis tilkoblingslogger for tunneler i denne organisasjonen",
|
||||||
|
"sidebarLogsConnection": "Loggfiler for tilkobling",
|
||||||
|
"sidebarLogsStreaming": "Strømming",
|
||||||
|
"sourceAddress": "Kilde adresse",
|
||||||
|
"destinationAddress": "Måladresse (Automatic Translation)",
|
||||||
|
"duration": "Varighet",
|
||||||
"licenseRequiredToUse": "En <enterpriseLicenseLink>Enterprise Edition</enterpriseLicenseLink> lisens eller <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink> er påkrevd for å bruke denne funksjonen. <bookADemoLink>Bestill en demo eller POC prøveversjon</bookADemoLink>.",
|
"licenseRequiredToUse": "En <enterpriseLicenseLink>Enterprise Edition</enterpriseLicenseLink> lisens eller <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink> er påkrevd for å bruke denne funksjonen. <bookADemoLink>Bestill en demo eller POC prøveversjon</bookADemoLink>.",
|
||||||
"ossEnterpriseEditionRequired": "<enterpriseEditionLink>Enterprise Edition</enterpriseEditionLink> er nødvendig for å bruke denne funksjonen. Denne funksjonen er også tilgjengelig i <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>. <bookADemoLink>Bestill en demo eller POC studie</bookADemoLink>.",
|
"ossEnterpriseEditionRequired": "<enterpriseEditionLink>Enterprise Edition</enterpriseEditionLink> er nødvendig for å bruke denne funksjonen. Denne funksjonen er også tilgjengelig i <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>. <bookADemoLink>Bestill en demo eller POC studie</bookADemoLink>.",
|
||||||
"certResolver": "Sertifikat løser",
|
"certResolver": "Sertifikat løser",
|
||||||
@@ -2683,5 +2803,90 @@
|
|||||||
"approvalsEmptyStateStep2Description": "Rediger en rolle og aktiver alternativet 'Kreve enhetsgodkjenninger'. Brukere med denne rollen vil trenge administratorgodkjenning for nye enheter.",
|
"approvalsEmptyStateStep2Description": "Rediger en rolle og aktiver alternativet 'Kreve enhetsgodkjenninger'. Brukere med denne rollen vil trenge administratorgodkjenning for nye enheter.",
|
||||||
"approvalsEmptyStatePreviewDescription": "Forhåndsvisning: Når aktivert, ventende enhets forespørsler vil vises her for vurdering",
|
"approvalsEmptyStatePreviewDescription": "Forhåndsvisning: Når aktivert, ventende enhets forespørsler vil vises her for vurdering",
|
||||||
"approvalsEmptyStateButtonText": "Administrer Roller",
|
"approvalsEmptyStateButtonText": "Administrer Roller",
|
||||||
"domainErrorTitle": "Vi har problemer med å verifisere domenet ditt"
|
"domainErrorTitle": "Vi har problemer med å verifisere domenet ditt",
|
||||||
|
"idpAdminAutoProvisionPoliciesTabHint": "Konfigurer rollegartlegging og organisasjonspolicyer på <policiesTabLink>Auto leveringsinnstillinger</policiesTabLink> fanen.",
|
||||||
|
"streamingTitle": "Hendelse Strømming",
|
||||||
|
"streamingDescription": "Stream hendelser fra din organisasjon til eksterne destinasjoner i sanntid.",
|
||||||
|
"streamingUnnamedDestination": "Plassering uten navn",
|
||||||
|
"streamingNoUrlConfigured": "Ingen URL konfigurert",
|
||||||
|
"streamingAddDestination": "Legg til mål",
|
||||||
|
"streamingHttpWebhookTitle": "HTTP Webhook",
|
||||||
|
"streamingHttpWebhookDescription": "Send hendelser til alle HTTP-endepunkter med fleksibel autentisering og maling.",
|
||||||
|
"streamingS3Title": "Amazon S3",
|
||||||
|
"streamingS3Description": "Strøm hendelser til en S3-kompatibel objektlagringskjøt. Kommer snart.",
|
||||||
|
"streamingDatadogTitle": "Datadog",
|
||||||
|
"streamingDatadogDescription": "Videresend arrangementer direkte til din Datadog-konto. Kommer snart.",
|
||||||
|
"streamingTypePickerDescription": "Velg en måltype for å komme i gang.",
|
||||||
|
"streamingFailedToLoad": "Kan ikke laste inn destinasjoner",
|
||||||
|
"streamingUnexpectedError": "En uventet feil oppstod.",
|
||||||
|
"streamingFailedToUpdate": "Kunne ikke oppdatere destinasjon",
|
||||||
|
"streamingDeletedSuccess": "Målet ble slettet",
|
||||||
|
"streamingFailedToDelete": "Kunne ikke slette destinasjon",
|
||||||
|
"streamingDeleteTitle": "Slett mål",
|
||||||
|
"streamingDeleteButtonText": "Slett mål",
|
||||||
|
"streamingDeleteDialogAreYouSure": "Er du sikker på at du vil slette",
|
||||||
|
"streamingDeleteDialogThisDestination": "denne destinasjonen",
|
||||||
|
"streamingDeleteDialogPermanentlyRemoved": "? Alle konfigurasjoner vil bli slettet permanent.",
|
||||||
|
"httpDestEditTitle": "Rediger mål",
|
||||||
|
"httpDestAddTitle": "Legg til HTTP-destinasjon",
|
||||||
|
"httpDestEditDescription": "Oppdater konfigurasjonen for denne HTTP-hendelsesstrømmedestinasjonen.",
|
||||||
|
"httpDestAddDescription": "Konfigurer et nytt HTTP endepunkt for å motta organisasjonens hendelser.",
|
||||||
|
"httpDestTabSettings": "Innstillinger",
|
||||||
|
"httpDestTabHeaders": "Overskrifter",
|
||||||
|
"httpDestTabBody": "Innhold",
|
||||||
|
"httpDestTabLogs": "Logger",
|
||||||
|
"httpDestNamePlaceholder": "Min HTTP destinasjon",
|
||||||
|
"httpDestUrlLabel": "Destinasjons URL",
|
||||||
|
"httpDestUrlErrorHttpRequired": "URL-adressen må bruke httpp eller https",
|
||||||
|
"httpDestUrlErrorHttpsRequired": "HTTPS er nødvendig for distribusjon av sky",
|
||||||
|
"httpDestUrlErrorInvalid": "Skriv inn en gyldig nettadresse (f.eks. https://eksempel.com/webhook)",
|
||||||
|
"httpDestAuthTitle": "Autentisering",
|
||||||
|
"httpDestAuthDescription": "Velg hvordan ønsker til sluttpunktet ditt er autentisert.",
|
||||||
|
"httpDestAuthNoneTitle": "Ingen godkjenning",
|
||||||
|
"httpDestAuthNoneDescription": "Sender forespørsler uten autorisasjonsoverskrift.",
|
||||||
|
"httpDestAuthBearerTitle": "Bærer Symbol",
|
||||||
|
"httpDestAuthBearerDescription": "Legger til en autorisasjon: Bearer <token> header til hver forespørsel.",
|
||||||
|
"httpDestAuthBearerPlaceholder": "Din API-nøkkel eller token",
|
||||||
|
"httpDestAuthBasicTitle": "Standard Auth",
|
||||||
|
"httpDestAuthBasicDescription": "Legger til en godkjenning: Grunnleggende <credentials> overskrift. Angi legitimasjon som brukernavn:passord.",
|
||||||
|
"httpDestAuthBasicPlaceholder": "brukernavn:passord",
|
||||||
|
"httpDestAuthCustomTitle": "Egendefinert topptekst",
|
||||||
|
"httpDestAuthCustomDescription": "Angi et egendefinert HTTP headers navn og verdi for autentisering (f.eks X-API-Key).",
|
||||||
|
"httpDestAuthCustomHeaderNamePlaceholder": "Topptekst navn (f.eks X-API-Key)",
|
||||||
|
"httpDestAuthCustomHeaderValuePlaceholder": "Header verdi",
|
||||||
|
"httpDestCustomHeadersTitle": "Egendefinerte HTTP-overskrifter",
|
||||||
|
"httpDestCustomHeadersDescription": "Legg til egendefinerte overskrifter til hver utgående forespørsel. Nyttig for statisk tokens eller en egendefinert innholdstype. Som standard blir innholdstype: applikasjon/json sendt.",
|
||||||
|
"httpDestNoHeadersConfigured": "Ingen egendefinerte overskrifter konfigurert. Klikk \"Legg til topptekst\" for å legge til en.",
|
||||||
|
"httpDestHeaderNamePlaceholder": "Navn på topptekst",
|
||||||
|
"httpDestHeaderValuePlaceholder": "Verdi",
|
||||||
|
"httpDestAddHeader": "Legg til topptekst",
|
||||||
|
"httpDestBodyTemplateTitle": "Egendefinert hovedmal",
|
||||||
|
"httpDestBodyTemplateDescription": "Kontroller JSON nyttelaststrukturen sendt til ditt endepunkt. Hvis deaktivert, sendes et standard JSON-objekt for hver hendelse.",
|
||||||
|
"httpDestEnableBodyTemplate": "Aktiver egendefinert meldingsmal",
|
||||||
|
"httpDestBodyTemplateLabel": "Kroppsmal (JSON)",
|
||||||
|
"httpDestBodyTemplateHint": "Bruk designmal variabler for å referere til eventfelt i din betaling.",
|
||||||
|
"httpDestPayloadFormatTitle": "Mål format",
|
||||||
|
"httpDestPayloadFormatDescription": "Hvordan blir hendelser serialisert inn i hver forespørselsorgan.",
|
||||||
|
"httpDestFormatJsonArrayTitle": "JSON liste",
|
||||||
|
"httpDestFormatJsonArrayDescription": "Én forespørsel per batch, innholdet er en JSON-liste. Kompatibel med de mest generiske webhooks og Datadog.",
|
||||||
|
"httpDestFormatNdjsonTitle": "NDJSON",
|
||||||
|
"httpDestFormatNdjsonDescription": "Én forespørsel per sats, innholdet er nytt avgrenset JSON — et objekt per linje, ingen ytterarray. Kreves av Splunk HEC, Elastisk/OpenSearch, og Grafana Loki.",
|
||||||
|
"httpDestFormatSingleTitle": "En hendelse per forespørsel",
|
||||||
|
"httpDestFormatSingleDescription": "Sender en separat HTTP POST for hver enkelt hendelse. Bruk bare for endepunkter som ikke kan håndtere batcher.",
|
||||||
|
"httpDestLogTypesTitle": "Logg typer",
|
||||||
|
"httpDestLogTypesDescription": "Velg hvilke loggtyper som blir videresendt til dette målet. Bare aktiverte loggtyper vil bli strømmet.",
|
||||||
|
"httpDestAccessLogsTitle": "Tilgangslogger (Automatic Translation)",
|
||||||
|
"httpDestAccessLogsDescription": "Adgangsforsøk for ressurser, inkludert godkjente og nektet forespørsler.",
|
||||||
|
"httpDestActionLogsTitle": "Handlingslogger",
|
||||||
|
"httpDestActionLogsDescription": "Administrative tiltak som utføres av brukere innenfor organisasjonen.",
|
||||||
|
"httpDestConnectionLogsTitle": "Loggfiler for tilkobling",
|
||||||
|
"httpDestConnectionLogsDescription": "Utstyrs- og tunneltilkoblingshendelser, inkludert forbindelser og frakobling.",
|
||||||
|
"httpDestRequestLogsTitle": "Forespørselslogger (Automatic Translation)",
|
||||||
|
"httpDestRequestLogsDescription": "HTTP-forespørsel logger for bekreftede ressurser, inkludert metode, bane og responskode.",
|
||||||
|
"httpDestSaveChanges": "Lagre endringer",
|
||||||
|
"httpDestCreateDestination": "Opprett mål",
|
||||||
|
"httpDestUpdatedSuccess": "Målet er oppdatert",
|
||||||
|
"httpDestCreatedSuccess": "Målet er opprettet",
|
||||||
|
"httpDestUpdateFailed": "Kunne ikke oppdatere destinasjon",
|
||||||
|
"httpDestCreateFailed": "Kan ikke opprette mål"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -148,6 +148,11 @@
|
|||||||
"createLink": "Koppeling aanmaken",
|
"createLink": "Koppeling aanmaken",
|
||||||
"resourcesNotFound": "Geen bronnen gevonden",
|
"resourcesNotFound": "Geen bronnen gevonden",
|
||||||
"resourceSearch": "Zoek bronnen",
|
"resourceSearch": "Zoek bronnen",
|
||||||
|
"machineSearch": "Zoek machines",
|
||||||
|
"machinesSearch": "Zoek machine-clients...",
|
||||||
|
"machineNotFound": "Geen machines gevonden",
|
||||||
|
"userDeviceSearch": "Gebruikersapparaten zoeken",
|
||||||
|
"userDevicesSearch": "Gebruikersapparaten zoeken...",
|
||||||
"openMenu": "Menu openen",
|
"openMenu": "Menu openen",
|
||||||
"resource": "Bron",
|
"resource": "Bron",
|
||||||
"title": "Aanspreektitel",
|
"title": "Aanspreektitel",
|
||||||
@@ -323,6 +328,54 @@
|
|||||||
"apiKeysDelete": "API-sleutel verwijderen",
|
"apiKeysDelete": "API-sleutel verwijderen",
|
||||||
"apiKeysManage": "API-sleutels beheren",
|
"apiKeysManage": "API-sleutels beheren",
|
||||||
"apiKeysDescription": "API-sleutels worden gebruikt om te verifiëren met de integratie-API",
|
"apiKeysDescription": "API-sleutels worden gebruikt om te verifiëren met de integratie-API",
|
||||||
|
"provisioningKeysTitle": "Vertrekkende sleutel",
|
||||||
|
"provisioningKeysManage": "Beheren van Provisioning Sleutels",
|
||||||
|
"provisioningKeysDescription": "Provisionerende sleutels worden gebruikt om geautomatiseerde sitebepaling voor uw organisatie te verifiëren.",
|
||||||
|
"provisioningManage": "Provisie",
|
||||||
|
"provisioningDescription": "Voorzieningssleutels beheren en sites beoordelen in afwachting van goedkeuring.",
|
||||||
|
"pendingSites": "Openstaande sites",
|
||||||
|
"siteApproveSuccess": "Site succesvol goedgekeurd",
|
||||||
|
"siteApproveError": "Fout bij goedkeuren website",
|
||||||
|
"provisioningKeys": "Verhelderende sleutels",
|
||||||
|
"searchProvisioningKeys": "Zoek provisioningsleutels ...",
|
||||||
|
"provisioningKeysAdd": "Genereer Provisioning Sleutel",
|
||||||
|
"provisioningKeysErrorDelete": "Fout bij verwijderen provisioning sleutel",
|
||||||
|
"provisioningKeysErrorDeleteMessage": "Fout bij verwijderen provisioning sleutel",
|
||||||
|
"provisioningKeysQuestionRemove": "Weet u zeker dat u deze proefsleutel van de organisatie wilt verwijderen?",
|
||||||
|
"provisioningKeysMessageRemove": "Eenmaal verwijderd, kan de sleutel niet meer worden gebruikt voor site-instructie.",
|
||||||
|
"provisioningKeysDeleteConfirm": "Bevestig Verwijderen Provisione-sleutel",
|
||||||
|
"provisioningKeysDelete": "Provisione-sleutel verwijderen",
|
||||||
|
"provisioningKeysCreate": "Genereer Provisioning Sleutel",
|
||||||
|
"provisioningKeysCreateDescription": "Een nieuwe provisioningsleutel voor de organisatie genereren",
|
||||||
|
"provisioningKeysSeeAll": "Bekijk alle provisioning sleutels",
|
||||||
|
"provisioningKeysSave": "Sla de provisioning sleutel op",
|
||||||
|
"provisioningKeysSaveDescription": "Je kunt dit slechts één keer zien. Kopieer het naar een veilige plaats.",
|
||||||
|
"provisioningKeysErrorCreate": "Fout bij aanmaken provisioning sleutel",
|
||||||
|
"provisioningKeysList": "Nieuwe provisioning sleutel",
|
||||||
|
"provisioningKeysMaxBatchSize": "Maximale batchgrootte",
|
||||||
|
"provisioningKeysUnlimitedBatchSize": "Onbeperkte batchgrootte (geen limiet)",
|
||||||
|
"provisioningKeysMaxBatchUnlimited": "Onbeperkt",
|
||||||
|
"provisioningKeysMaxBatchSizeInvalid": "Voer een geldige maximale batchgrootte in (1–1.000,000).",
|
||||||
|
"provisioningKeysValidUntil": "Geldig tot",
|
||||||
|
"provisioningKeysValidUntilHint": "Laat leeg voor geen vervaldatum.",
|
||||||
|
"provisioningKeysValidUntilInvalid": "Voer een geldige datum en tijd in.",
|
||||||
|
"provisioningKeysNumUsed": "Aantal keer gebruikt",
|
||||||
|
"provisioningKeysLastUsed": "Laatst gebruikt",
|
||||||
|
"provisioningKeysNoExpiry": "Geen vervaldatum",
|
||||||
|
"provisioningKeysNeverUsed": "Nooit",
|
||||||
|
"provisioningKeysEdit": "Wijzig Provisioning Sleutel",
|
||||||
|
"provisioningKeysEditDescription": "Werk de maximale batchgrootte en verlooptijd voor deze sleutel bij.",
|
||||||
|
"provisioningKeysApproveNewSites": "Goedkeuren van nieuwe sites",
|
||||||
|
"provisioningKeysApproveNewSitesDescription": "Automatisch sites goedkeuren die zich registreren met deze sleutel.",
|
||||||
|
"provisioningKeysUpdateError": "Fout tijdens bijwerken provisioning sleutel",
|
||||||
|
"provisioningKeysUpdated": "Provisie sleutel bijgewerkt",
|
||||||
|
"provisioningKeysUpdatedDescription": "Uw wijzigingen zijn opgeslagen.",
|
||||||
|
"provisioningKeysBannerTitle": "Bewerkingssleutels voor websites",
|
||||||
|
"provisioningKeysBannerDescription": "Genereer een provisioning-sleutel en gebruik deze met de Newt-connector om automatisch sites aan te maken bij het opstarten van de eerste opstart- het is niet nodig om afzonderlijke inloggegevens in te stellen voor elke site.",
|
||||||
|
"provisioningKeysBannerButtonText": "Meer informatie",
|
||||||
|
"pendingSitesBannerTitle": "Openstaande sites",
|
||||||
|
"pendingSitesBannerDescription": "Sites die met elkaar verbinden met behulp van een provisioning-sleutel verschijnen hier voor beoordeling. Accepteer elke site voordat deze actief wordt en krijgt toegang tot uw bronnen.",
|
||||||
|
"pendingSitesBannerButtonText": "Meer informatie",
|
||||||
"apiKeysSettings": "{apiKeyName} instellingen",
|
"apiKeysSettings": "{apiKeyName} instellingen",
|
||||||
"userTitle": "Alle gebruikers beheren",
|
"userTitle": "Alle gebruikers beheren",
|
||||||
"userDescription": "Bekijk en beheer alle gebruikers in het systeem",
|
"userDescription": "Bekijk en beheer alle gebruikers in het systeem",
|
||||||
@@ -509,9 +562,12 @@
|
|||||||
"userSaved": "Gebruiker opgeslagen",
|
"userSaved": "Gebruiker opgeslagen",
|
||||||
"userSavedDescription": "De gebruiker is bijgewerkt.",
|
"userSavedDescription": "De gebruiker is bijgewerkt.",
|
||||||
"autoProvisioned": "Automatisch bevestigen",
|
"autoProvisioned": "Automatisch bevestigen",
|
||||||
|
"autoProvisionSettings": "Auto Provisie Instellingen",
|
||||||
"autoProvisionedDescription": "Toestaan dat deze gebruiker automatisch wordt beheerd door een identiteitsprovider",
|
"autoProvisionedDescription": "Toestaan dat deze gebruiker automatisch wordt beheerd door een identiteitsprovider",
|
||||||
"accessControlsDescription": "Beheer wat deze gebruiker toegang heeft tot en doet in de organisatie",
|
"accessControlsDescription": "Beheer wat deze gebruiker toegang heeft tot en doet in de organisatie",
|
||||||
"accessControlsSubmit": "Bewaar Toegangsbesturing",
|
"accessControlsSubmit": "Bewaar Toegangsbesturing",
|
||||||
|
"singleRolePerUserPlanNotice": "Uw plan ondersteunt slechts één rol per gebruiker.",
|
||||||
|
"singleRolePerUserEditionNotice": "Deze editie ondersteunt slechts één rol per gebruiker.",
|
||||||
"roles": "Rollen",
|
"roles": "Rollen",
|
||||||
"accessUsersRoles": "Beheer Gebruikers & Rollen",
|
"accessUsersRoles": "Beheer Gebruikers & Rollen",
|
||||||
"accessUsersRolesDescription": "Nodig gebruikers uit en voeg ze toe aan de rollen om toegang tot de organisatie te beheren",
|
"accessUsersRolesDescription": "Nodig gebruikers uit en voeg ze toe aan de rollen om toegang tot de organisatie te beheren",
|
||||||
@@ -1119,6 +1175,7 @@
|
|||||||
"setupTokenDescription": "Voer het setup-token in vanaf de serverconsole.",
|
"setupTokenDescription": "Voer het setup-token in vanaf de serverconsole.",
|
||||||
"setupTokenRequired": "Setup-token is vereist",
|
"setupTokenRequired": "Setup-token is vereist",
|
||||||
"actionUpdateSite": "Site bijwerken",
|
"actionUpdateSite": "Site bijwerken",
|
||||||
|
"actionResetSiteBandwidth": "Reset organisatieschandbreedte",
|
||||||
"actionListSiteRoles": "Toon toegestane sitenollen",
|
"actionListSiteRoles": "Toon toegestane sitenollen",
|
||||||
"actionCreateResource": "Bron maken",
|
"actionCreateResource": "Bron maken",
|
||||||
"actionDeleteResource": "Document verwijderen",
|
"actionDeleteResource": "Document verwijderen",
|
||||||
@@ -1148,7 +1205,7 @@
|
|||||||
"actionRemoveUser": "Gebruiker verwijderen",
|
"actionRemoveUser": "Gebruiker verwijderen",
|
||||||
"actionListUsers": "Gebruikers weergeven",
|
"actionListUsers": "Gebruikers weergeven",
|
||||||
"actionAddUserRole": "Gebruikersrol toevoegen",
|
"actionAddUserRole": "Gebruikersrol toevoegen",
|
||||||
"actionSetUserOrgRoles": "Set User Roles",
|
"actionSetUserOrgRoles": "Stel gebruikersrollen in",
|
||||||
"actionGenerateAccessToken": "Genereer Toegangstoken",
|
"actionGenerateAccessToken": "Genereer Toegangstoken",
|
||||||
"actionDeleteAccessToken": "Verwijder toegangstoken",
|
"actionDeleteAccessToken": "Verwijder toegangstoken",
|
||||||
"actionListAccessTokens": "Lijst toegangstokens",
|
"actionListAccessTokens": "Lijst toegangstokens",
|
||||||
@@ -1265,6 +1322,7 @@
|
|||||||
"sidebarRoles": "Rollen",
|
"sidebarRoles": "Rollen",
|
||||||
"sidebarShareableLinks": "Koppelingen",
|
"sidebarShareableLinks": "Koppelingen",
|
||||||
"sidebarApiKeys": "API sleutels",
|
"sidebarApiKeys": "API sleutels",
|
||||||
|
"sidebarProvisioning": "Provisie",
|
||||||
"sidebarSettings": "Instellingen",
|
"sidebarSettings": "Instellingen",
|
||||||
"sidebarAllUsers": "Alle gebruikers",
|
"sidebarAllUsers": "Alle gebruikers",
|
||||||
"sidebarIdentityProviders": "Identiteit aanbieders",
|
"sidebarIdentityProviders": "Identiteit aanbieders",
|
||||||
@@ -1890,6 +1948,40 @@
|
|||||||
"exitNode": "Exit Node",
|
"exitNode": "Exit Node",
|
||||||
"country": "Land",
|
"country": "Land",
|
||||||
"rulesMatchCountry": "Momenteel gebaseerd op bron IP",
|
"rulesMatchCountry": "Momenteel gebaseerd op bron IP",
|
||||||
|
"region": "Regio",
|
||||||
|
"selectRegion": "Selecteer regio",
|
||||||
|
"searchRegions": "Zoek regio's...",
|
||||||
|
"noRegionFound": "Geen regio gevonden.",
|
||||||
|
"rulesMatchRegion": "Selecteer een regionale groepering van landen",
|
||||||
|
"rulesErrorInvalidRegion": "Ongeldige regio",
|
||||||
|
"rulesErrorInvalidRegionDescription": "Selecteer een geldige regio.",
|
||||||
|
"regionAfrica": "Afrika",
|
||||||
|
"regionNorthernAfrica": "Noord-Afrika",
|
||||||
|
"regionEasternAfrica": "Oost Afrika",
|
||||||
|
"regionMiddleAfrica": "Midden Afrika",
|
||||||
|
"regionSouthernAfrica": "Zuidelijk Afrika",
|
||||||
|
"regionWesternAfrica": "Westelijk Afrika",
|
||||||
|
"regionAmericas": "Amerika's",
|
||||||
|
"regionCaribbean": "Caraïben",
|
||||||
|
"regionCentralAmerica": "Midden-Amerika",
|
||||||
|
"regionSouthAmerica": "Zuid Amerika",
|
||||||
|
"regionNorthernAmerica": "Noord-Amerika",
|
||||||
|
"regionAsia": "Azië",
|
||||||
|
"regionCentralAsia": "Centraal-Azië",
|
||||||
|
"regionEasternAsia": "Oost-Azië",
|
||||||
|
"regionSouthEasternAsia": "Zuid-Oost-Azië",
|
||||||
|
"regionSouthernAsia": "Zuid-Azië",
|
||||||
|
"regionWesternAsia": "Westelijk Azië",
|
||||||
|
"regionEurope": "Europa",
|
||||||
|
"regionEasternEurope": "Oost-Europa",
|
||||||
|
"regionNorthernEurope": "Noord-Europa",
|
||||||
|
"regionSouthernEurope": "Zuid-Europa",
|
||||||
|
"regionWesternEurope": "West-Europa",
|
||||||
|
"regionOceania": "Oceania",
|
||||||
|
"regionAustraliaAndNewZealand": "Australië en Nieuw-Zeeland",
|
||||||
|
"regionMelanesia": "Melanesia",
|
||||||
|
"regionMicronesia": "Micronesia",
|
||||||
|
"regionPolynesia": "Polynesia",
|
||||||
"managedSelfHosted": {
|
"managedSelfHosted": {
|
||||||
"title": "Beheerde Self-Hosted",
|
"title": "Beheerde Self-Hosted",
|
||||||
"description": "betrouwbaardere en slecht onderhouden Pangolin server met extra klokken en klokkenluiders",
|
"description": "betrouwbaardere en slecht onderhouden Pangolin server met extra klokken en klokkenluiders",
|
||||||
@@ -1938,6 +2030,25 @@
|
|||||||
"invalidValue": "Ongeldige waarde",
|
"invalidValue": "Ongeldige waarde",
|
||||||
"idpTypeLabel": "Identiteit provider type",
|
"idpTypeLabel": "Identiteit provider type",
|
||||||
"roleMappingExpressionPlaceholder": "bijvoorbeeld bevat (groepen, 'admin') && 'Admin' ½ 'Member'",
|
"roleMappingExpressionPlaceholder": "bijvoorbeeld bevat (groepen, 'admin') && 'Admin' ½ 'Member'",
|
||||||
|
"roleMappingModeFixedRoles": "Vaste rollen",
|
||||||
|
"roleMappingModeMappingBuilder": "Toewijzing Bouwer",
|
||||||
|
"roleMappingModeRawExpression": "Ruwe expressie",
|
||||||
|
"roleMappingFixedRolesPlaceholderSelect": "Selecteer één of meer rollen",
|
||||||
|
"roleMappingFixedRolesPlaceholderFreeform": "Typ rolnamen (exacte overeenkomst per organisatie)",
|
||||||
|
"roleMappingFixedRolesDescriptionSameForAll": "Wijs dezelfde rolset toe aan elke auto-provisioned gebruiker.",
|
||||||
|
"roleMappingFixedRolesDescriptionDefaultPolicy": "Voor standaardbeleid, typ rolnamen die bestaan in elke organisatie waar gebruikers worden opgegeven. Namen moeten exact overeenkomen.",
|
||||||
|
"roleMappingClaimPath": "Claim pad",
|
||||||
|
"roleMappingClaimPathPlaceholder": "Groepen",
|
||||||
|
"roleMappingClaimPathDescription": "Pad in de token payload die bronwaarden bevat (bijvoorbeeld groepen).",
|
||||||
|
"roleMappingMatchValue": "Kies een waarde",
|
||||||
|
"roleMappingAssignRoles": "Rollen toewijzen",
|
||||||
|
"roleMappingAddMappingRule": "Toewijzingsregel toevoegen",
|
||||||
|
"roleMappingRawExpressionResultDescription": "Expressie moet een tekenreeks of tekenreeks evalueren.",
|
||||||
|
"roleMappingRawExpressionResultDescriptionSingleRole": "Expressie moet evalueren naar een tekenreeks (een naam met één rol).",
|
||||||
|
"roleMappingMatchValuePlaceholder": "Overeenkomende waarde (bijvoorbeeld: admin)",
|
||||||
|
"roleMappingAssignRolesPlaceholderFreeform": "Typ rolnamen (exact per org)",
|
||||||
|
"roleMappingBuilderFreeformRowHint": "Rol namen moeten overeenkomen met een rol in elke doelorganisatie.",
|
||||||
|
"roleMappingRemoveRule": "Verwijderen",
|
||||||
"idpGoogleConfiguration": "Google Configuratie",
|
"idpGoogleConfiguration": "Google Configuratie",
|
||||||
"idpGoogleConfigurationDescription": "Configureer de Google OAuth2-referenties",
|
"idpGoogleConfigurationDescription": "Configureer de Google OAuth2-referenties",
|
||||||
"idpGoogleClientIdDescription": "Google OAuth2 Client ID",
|
"idpGoogleClientIdDescription": "Google OAuth2 Client ID",
|
||||||
@@ -2334,6 +2445,8 @@
|
|||||||
"logRetentionAccessDescription": "Hoe lang de toegangslogboeken behouden blijven",
|
"logRetentionAccessDescription": "Hoe lang de toegangslogboeken behouden blijven",
|
||||||
"logRetentionActionLabel": "Actie log bewaring",
|
"logRetentionActionLabel": "Actie log bewaring",
|
||||||
"logRetentionActionDescription": "Hoe lang de action logs behouden moeten blijven",
|
"logRetentionActionDescription": "Hoe lang de action logs behouden moeten blijven",
|
||||||
|
"logRetentionConnectionLabel": "Connectie log bewaring",
|
||||||
|
"logRetentionConnectionDescription": "Hoe lang de verbindingslogs onderhouden",
|
||||||
"logRetentionDisabled": "Uitgeschakeld",
|
"logRetentionDisabled": "Uitgeschakeld",
|
||||||
"logRetention3Days": "3 dagen",
|
"logRetention3Days": "3 dagen",
|
||||||
"logRetention7Days": "7 dagen",
|
"logRetention7Days": "7 dagen",
|
||||||
@@ -2344,6 +2457,13 @@
|
|||||||
"logRetentionEndOfFollowingYear": "Einde van volgend jaar",
|
"logRetentionEndOfFollowingYear": "Einde van volgend jaar",
|
||||||
"actionLogsDescription": "Bekijk een geschiedenis van acties die worden uitgevoerd in deze organisatie",
|
"actionLogsDescription": "Bekijk een geschiedenis van acties die worden uitgevoerd in deze organisatie",
|
||||||
"accessLogsDescription": "Toegangsverificatieverzoeken voor resources in deze organisatie bekijken",
|
"accessLogsDescription": "Toegangsverificatieverzoeken voor resources in deze organisatie bekijken",
|
||||||
|
"connectionLogs": "Connectie Logs",
|
||||||
|
"connectionLogsDescription": "Toon verbindingslogs voor tunnels in deze organisatie",
|
||||||
|
"sidebarLogsConnection": "Connectie Logs",
|
||||||
|
"sidebarLogsStreaming": "Streamen",
|
||||||
|
"sourceAddress": "Bron adres",
|
||||||
|
"destinationAddress": "Adres bestemming",
|
||||||
|
"duration": "Duur",
|
||||||
"licenseRequiredToUse": "Een <enterpriseLicenseLink>Enterprise Edition</enterpriseLicenseLink> licentie of <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink> is vereist om deze functie te gebruiken. <bookADemoLink>Boek een demo of POC trial</bookADemoLink>.",
|
"licenseRequiredToUse": "Een <enterpriseLicenseLink>Enterprise Edition</enterpriseLicenseLink> licentie of <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink> is vereist om deze functie te gebruiken. <bookADemoLink>Boek een demo of POC trial</bookADemoLink>.",
|
||||||
"ossEnterpriseEditionRequired": "De <enterpriseEditionLink>Enterprise Edition</enterpriseEditionLink> is vereist om deze functie te gebruiken. Deze functie is ook beschikbaar in <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>. <bookADemoLink>Boek een demo of POC trial</bookADemoLink>.",
|
"ossEnterpriseEditionRequired": "De <enterpriseEditionLink>Enterprise Edition</enterpriseEditionLink> is vereist om deze functie te gebruiken. Deze functie is ook beschikbaar in <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>. <bookADemoLink>Boek een demo of POC trial</bookADemoLink>.",
|
||||||
"certResolver": "Certificaat Resolver",
|
"certResolver": "Certificaat Resolver",
|
||||||
@@ -2683,5 +2803,90 @@
|
|||||||
"approvalsEmptyStateStep2Description": "Bewerk een rol en schakel de optie 'Vereist Apparaat Goedkeuringen' in. Gebruikers met deze rol hebben admin goedkeuring nodig voor nieuwe apparaten.",
|
"approvalsEmptyStateStep2Description": "Bewerk een rol en schakel de optie 'Vereist Apparaat Goedkeuringen' in. Gebruikers met deze rol hebben admin goedkeuring nodig voor nieuwe apparaten.",
|
||||||
"approvalsEmptyStatePreviewDescription": "Voorbeeld: Indien ingeschakeld, zullen in afwachting van apparaatverzoeken hier verschijnen om te beoordelen",
|
"approvalsEmptyStatePreviewDescription": "Voorbeeld: Indien ingeschakeld, zullen in afwachting van apparaatverzoeken hier verschijnen om te beoordelen",
|
||||||
"approvalsEmptyStateButtonText": "Rollen beheren",
|
"approvalsEmptyStateButtonText": "Rollen beheren",
|
||||||
"domainErrorTitle": "We ondervinden problemen bij het controleren van uw domein"
|
"domainErrorTitle": "We ondervinden problemen bij het controleren van uw domein",
|
||||||
|
"idpAdminAutoProvisionPoliciesTabHint": "Configureer rolverrekening en organisatie beleid in het <policiesTabLink>Auto Provision Settings</policiesTabLink> tab.",
|
||||||
|
"streamingTitle": "Event streaming",
|
||||||
|
"streamingDescription": "Stream events van uw organisatie naar externe bestemmingen in realtime.",
|
||||||
|
"streamingUnnamedDestination": "Naamloze bestemming",
|
||||||
|
"streamingNoUrlConfigured": "Geen URL ingesteld",
|
||||||
|
"streamingAddDestination": "Bestemming toevoegen",
|
||||||
|
"streamingHttpWebhookTitle": "HTTP Webhook",
|
||||||
|
"streamingHttpWebhookDescription": "Stuur gebeurtenissen naar elk HTTP eindpunt met flexibele authenticatie en template.",
|
||||||
|
"streamingS3Title": "Amazon S3",
|
||||||
|
"streamingS3Description": "Stream events naar een S3-compatibele object-opslagemmer. Binnenkort beschikbaar.",
|
||||||
|
"streamingDatadogTitle": "Datadog",
|
||||||
|
"streamingDatadogDescription": "Stuur gebeurtenissen rechtstreeks door naar je Datadog account. Binnenkort beschikbaar.",
|
||||||
|
"streamingTypePickerDescription": "Kies een bestemmingstype om te beginnen.",
|
||||||
|
"streamingFailedToLoad": "Laden van bestemmingen mislukt",
|
||||||
|
"streamingUnexpectedError": "Er is een onverwachte fout opgetreden.",
|
||||||
|
"streamingFailedToUpdate": "Bijwerken bestemming mislukt",
|
||||||
|
"streamingDeletedSuccess": "Bestemming succesvol verwijderd",
|
||||||
|
"streamingFailedToDelete": "Verwijderen van bestemming mislukt",
|
||||||
|
"streamingDeleteTitle": "Verwijder bestemming",
|
||||||
|
"streamingDeleteButtonText": "Verwijder bestemming",
|
||||||
|
"streamingDeleteDialogAreYouSure": "Weet u zeker dat u wilt verwijderen",
|
||||||
|
"streamingDeleteDialogThisDestination": "deze bestemming",
|
||||||
|
"streamingDeleteDialogPermanentlyRemoved": "? Alle configuratie zal permanent worden verwijderd.",
|
||||||
|
"httpDestEditTitle": "Bewerk bestemming",
|
||||||
|
"httpDestAddTitle": "Voeg HTTP bestemming toe",
|
||||||
|
"httpDestEditDescription": "Werk de configuratie voor deze HTTP-event streaming bestemming bij.",
|
||||||
|
"httpDestAddDescription": "Configureer een nieuw HTTP-eindpunt om de gebeurtenissen van uw organisatie te ontvangen.",
|
||||||
|
"httpDestTabSettings": "Instellingen",
|
||||||
|
"httpDestTabHeaders": "Kopteksten",
|
||||||
|
"httpDestTabBody": "Lichaam",
|
||||||
|
"httpDestTabLogs": "Logboeken",
|
||||||
|
"httpDestNamePlaceholder": "Mijn HTTP-bestemming",
|
||||||
|
"httpDestUrlLabel": "Bestemming URL",
|
||||||
|
"httpDestUrlErrorHttpRequired": "URL moet http of https gebruiken",
|
||||||
|
"httpDestUrlErrorHttpsRequired": "HTTPS is vereist op cloud implementaties",
|
||||||
|
"httpDestUrlErrorInvalid": "Voer een geldige URL in (bijv. https://example.com/webhook)",
|
||||||
|
"httpDestAuthTitle": "Authenticatie",
|
||||||
|
"httpDestAuthDescription": "Kies hoe verzoeken voor uw eindpunt zijn geverifieerd.",
|
||||||
|
"httpDestAuthNoneTitle": "Geen authenticatie",
|
||||||
|
"httpDestAuthNoneDescription": "Stuurt verzoeken zonder toestemmingskop.",
|
||||||
|
"httpDestAuthBearerTitle": "Betere Token",
|
||||||
|
"httpDestAuthBearerDescription": "Voegt een machtiging toe: Drager <token> header aan elke aanvraag.",
|
||||||
|
"httpDestAuthBearerPlaceholder": "Uw API-sleutel of -token",
|
||||||
|
"httpDestAuthBasicTitle": "Basis authenticatie",
|
||||||
|
"httpDestAuthBasicDescription": "Voegt een Authorizatie toe: Basis <credentials> kop. Geef inloggegevens op als gebruikersnaam:wachtwoord.",
|
||||||
|
"httpDestAuthBasicPlaceholder": "Gebruikersnaam:wachtwoord",
|
||||||
|
"httpDestAuthCustomTitle": "Aangepaste koptekst",
|
||||||
|
"httpDestAuthCustomDescription": "Specificeer een aangepaste HTTP header naam en waarde voor authenticatie (bijv. X-API-Key).",
|
||||||
|
"httpDestAuthCustomHeaderNamePlaceholder": "Header naam (bijv. X-API-Key)",
|
||||||
|
"httpDestAuthCustomHeaderValuePlaceholder": "Header waarde",
|
||||||
|
"httpDestCustomHeadersTitle": "Aangepaste HTTP Headers",
|
||||||
|
"httpDestCustomHeadersDescription": "Voeg aangepaste headers toe aan elk uitgaande verzoek. Handig voor statische tokens of een aangepast Content-Type. Standaard Content-Type: application/json wordt verzonden.",
|
||||||
|
"httpDestNoHeadersConfigured": "Geen aangepaste headers geconfigureerd. Klik op \"Header\" om er een toe te voegen.",
|
||||||
|
"httpDestHeaderNamePlaceholder": "Naam koptekst",
|
||||||
|
"httpDestHeaderValuePlaceholder": "Waarde",
|
||||||
|
"httpDestAddHeader": "Koptekst toevoegen",
|
||||||
|
"httpDestBodyTemplateTitle": "Aangepaste Body Sjabloon",
|
||||||
|
"httpDestBodyTemplateDescription": "Bestuur de JSON payload structuur verzonden naar uw eindpunt. Indien uitgeschakeld, wordt een standaard JSON object verzonden voor elke event.",
|
||||||
|
"httpDestEnableBodyTemplate": "Aangepaste lichaam sjabloon inschakelen",
|
||||||
|
"httpDestBodyTemplateLabel": "Body sjabloon (JSON)",
|
||||||
|
"httpDestBodyTemplateHint": "Gebruik sjabloonvariabelen om te verwijzen naar gebeurtenisvelden in uw payload.",
|
||||||
|
"httpDestPayloadFormatTitle": "Payload formaat",
|
||||||
|
"httpDestPayloadFormatDescription": "Hoe evenementen worden geserialiseerd in elk verzoeklichaam.",
|
||||||
|
"httpDestFormatJsonArrayTitle": "JSON matrix",
|
||||||
|
"httpDestFormatJsonArrayDescription": "Eén verzoek per batch, lichaam is een JSON-array. Compatibel met de meeste algemene webhooks en Datadog.",
|
||||||
|
"httpDestFormatNdjsonTitle": "NDJSON",
|
||||||
|
"httpDestFormatNdjsonDescription": "Eén aanvraag per batch, lichaam is nieuwe JSON gescheiden - één object per regel, geen buitenste array. Vereist door Splunk HEC, Elastic / OpenSearch, en Grafana Loki.",
|
||||||
|
"httpDestFormatSingleTitle": "Eén afspraak per verzoek",
|
||||||
|
"httpDestFormatSingleDescription": "Stuurt een aparte HTTP POST voor elk individueel event. Gebruik alleen voor eindpunten die geen batches kunnen verwerken.",
|
||||||
|
"httpDestLogTypesTitle": "Log soorten",
|
||||||
|
"httpDestLogTypesDescription": "Kies welke log types doorgestuurd worden naar deze bestemming. Alleen ingeschakelde log types worden gestreden.",
|
||||||
|
"httpDestAccessLogsTitle": "Toegang tot logboek",
|
||||||
|
"httpDestAccessLogsDescription": "Hulpbrontoegangspogingen, inclusief geauthenticeerde en weigerde aanvragen.",
|
||||||
|
"httpDestActionLogsTitle": "Actie logs",
|
||||||
|
"httpDestActionLogsDescription": "Administratieve acties uitgevoerd door gebruikers binnen de organisatie.",
|
||||||
|
"httpDestConnectionLogsTitle": "Connectie Logs",
|
||||||
|
"httpDestConnectionLogsDescription": "Verbinding met de Site en tunnel maken verbroken, inclusief verbindingen en verbindingen.",
|
||||||
|
"httpDestRequestLogsTitle": "Logboeken aanvragen",
|
||||||
|
"httpDestRequestLogsDescription": "HTTP request logs voor proxied hulpmiddelen, waaronder methode, pad en response code.",
|
||||||
|
"httpDestSaveChanges": "Wijzigingen opslaan",
|
||||||
|
"httpDestCreateDestination": "Maak bestemming aan",
|
||||||
|
"httpDestUpdatedSuccess": "Bestemming succesvol bijgewerkt",
|
||||||
|
"httpDestCreatedSuccess": "Bestemming succesvol aangemaakt",
|
||||||
|
"httpDestUpdateFailed": "Bijwerken bestemming mislukt",
|
||||||
|
"httpDestCreateFailed": "Aanmaken bestemming mislukt"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -148,6 +148,11 @@
|
|||||||
"createLink": "Utwórz link",
|
"createLink": "Utwórz link",
|
||||||
"resourcesNotFound": "Nie znaleziono zasobów",
|
"resourcesNotFound": "Nie znaleziono zasobów",
|
||||||
"resourceSearch": "Szukaj zasobów",
|
"resourceSearch": "Szukaj zasobów",
|
||||||
|
"machineSearch": "Wyszukiwarki",
|
||||||
|
"machinesSearch": "Szukaj klientów maszyn...",
|
||||||
|
"machineNotFound": "Nie znaleziono maszyn",
|
||||||
|
"userDeviceSearch": "Szukaj urządzeń użytkownika",
|
||||||
|
"userDevicesSearch": "Szukaj urządzeń użytkownika...",
|
||||||
"openMenu": "Otwórz menu",
|
"openMenu": "Otwórz menu",
|
||||||
"resource": "Zasoby",
|
"resource": "Zasoby",
|
||||||
"title": "Tytuł",
|
"title": "Tytuł",
|
||||||
@@ -323,6 +328,54 @@
|
|||||||
"apiKeysDelete": "Usuń klucz API",
|
"apiKeysDelete": "Usuń klucz API",
|
||||||
"apiKeysManage": "Zarządzaj kluczami API",
|
"apiKeysManage": "Zarządzaj kluczami API",
|
||||||
"apiKeysDescription": "Klucze API służą do uwierzytelniania z API integracji",
|
"apiKeysDescription": "Klucze API służą do uwierzytelniania z API integracji",
|
||||||
|
"provisioningKeysTitle": "Klucz Zaopatrzenia",
|
||||||
|
"provisioningKeysManage": "Zarządzaj kluczami zaopatrzenia",
|
||||||
|
"provisioningKeysDescription": "Klucze zaopatrzenia są używane do uwierzytelniania zautomatyzowanego zaopatrzenia twojej organizacji.",
|
||||||
|
"provisioningManage": "Dostarczanie",
|
||||||
|
"provisioningDescription": "Zarządzaj kluczami rezerwacji i sprawdzaj oczekujące strony oczekujące na zatwierdzenie.",
|
||||||
|
"pendingSites": "Witryny oczekujące",
|
||||||
|
"siteApproveSuccess": "Witryna została pomyślnie zatwierdzona",
|
||||||
|
"siteApproveError": "Błąd zatwierdzania witryny",
|
||||||
|
"provisioningKeys": "Klucze Zaopatrzenia",
|
||||||
|
"searchProvisioningKeys": "Szukaj kluczy zaopatrzenia...",
|
||||||
|
"provisioningKeysAdd": "Wygeneruj klucz zaopatrzenia",
|
||||||
|
"provisioningKeysErrorDelete": "Błąd podczas usuwania klucza zaopatrzenia",
|
||||||
|
"provisioningKeysErrorDeleteMessage": "Błąd podczas usuwania klucza zaopatrzenia",
|
||||||
|
"provisioningKeysQuestionRemove": "Czy na pewno chcesz usunąć ten klucz rezerwacji z organizacji?",
|
||||||
|
"provisioningKeysMessageRemove": "Po usunięciu, klucz nie może być już używany do tworzenia witryny.",
|
||||||
|
"provisioningKeysDeleteConfirm": "Potwierdź usunięcie klucza zaopatrzenia",
|
||||||
|
"provisioningKeysDelete": "Usuń klucz zaopatrzenia",
|
||||||
|
"provisioningKeysCreate": "Wygeneruj klucz zaopatrzenia",
|
||||||
|
"provisioningKeysCreateDescription": "Wygeneruj nowy klucz tworzenia rezerw dla organizacji",
|
||||||
|
"provisioningKeysSeeAll": "Zobacz wszystkie klucze rezerwacji",
|
||||||
|
"provisioningKeysSave": "Zapisz klucz zaopatrzenia",
|
||||||
|
"provisioningKeysSaveDescription": "Możesz to zobaczyć tylko raz. Skopiuj je do bezpiecznego miejsca.",
|
||||||
|
"provisioningKeysErrorCreate": "Błąd podczas tworzenia klucza zaopatrzenia",
|
||||||
|
"provisioningKeysList": "Nowy klucz rezerwacji",
|
||||||
|
"provisioningKeysMaxBatchSize": "Maksymalny rozmiar partii",
|
||||||
|
"provisioningKeysUnlimitedBatchSize": "Nieograniczony rozmiar partii (bez limitu)",
|
||||||
|
"provisioningKeysMaxBatchUnlimited": "Nieograniczona",
|
||||||
|
"provisioningKeysMaxBatchSizeInvalid": "Wprowadź poprawny maksymalny rozmiar partii (1–1 000,000).",
|
||||||
|
"provisioningKeysValidUntil": "Ważny do",
|
||||||
|
"provisioningKeysValidUntilHint": "Pozostaw puste, aby nie wygasnąć.",
|
||||||
|
"provisioningKeysValidUntilInvalid": "Wprowadź prawidłową datę i godzinę.",
|
||||||
|
"provisioningKeysNumUsed": "Używane czasy",
|
||||||
|
"provisioningKeysLastUsed": "Ostatnio używane",
|
||||||
|
"provisioningKeysNoExpiry": "Brak wygaśnięcia",
|
||||||
|
"provisioningKeysNeverUsed": "Nigdy",
|
||||||
|
"provisioningKeysEdit": "Edytuj klucz zaopatrzenia",
|
||||||
|
"provisioningKeysEditDescription": "Zaktualizuj maksymalny rozmiar partii i czas wygaśnięcia dla tego klucza.",
|
||||||
|
"provisioningKeysApproveNewSites": "Zatwierdź nowe witryny",
|
||||||
|
"provisioningKeysApproveNewSitesDescription": "Automatycznie zatwierdzaj witryny, które rejestrują się za pomocą tego klucza.",
|
||||||
|
"provisioningKeysUpdateError": "Błąd podczas aktualizacji klucza zaopatrzenia",
|
||||||
|
"provisioningKeysUpdated": "Klucz zaopatrzenia zaktualizowany",
|
||||||
|
"provisioningKeysUpdatedDescription": "Twoje zmiany zostały zapisane.",
|
||||||
|
"provisioningKeysBannerTitle": "Klucze Zaopatrzenia witryny",
|
||||||
|
"provisioningKeysBannerDescription": "Wygeneruj klucz tworzenia rezerw i użyj go z konektorem Newt do automatycznego tworzenia witryn przy pierwszym uruchomieniu — nie ma potrzeby ustawiania oddzielnych poświadczeń dla każdej witryny.",
|
||||||
|
"provisioningKeysBannerButtonText": "Dowiedz się więcej",
|
||||||
|
"pendingSitesBannerTitle": "Witryny oczekujące",
|
||||||
|
"pendingSitesBannerDescription": "Witryny, które łączą się przy użyciu klucza zaopatrzenia, pojawiają się tutaj, aby przejrzeć. Zatwierdź każdą witrynę, zanim stanie się aktywna i uzyska dostęp do twoich zasobów.",
|
||||||
|
"pendingSitesBannerButtonText": "Dowiedz się więcej",
|
||||||
"apiKeysSettings": "Ustawienia {apiKeyName}",
|
"apiKeysSettings": "Ustawienia {apiKeyName}",
|
||||||
"userTitle": "Zarządzaj wszystkimi użytkownikami",
|
"userTitle": "Zarządzaj wszystkimi użytkownikami",
|
||||||
"userDescription": "Zobacz i zarządzaj wszystkimi użytkownikami w systemie",
|
"userDescription": "Zobacz i zarządzaj wszystkimi użytkownikami w systemie",
|
||||||
@@ -509,9 +562,12 @@
|
|||||||
"userSaved": "Użytkownik zapisany",
|
"userSaved": "Użytkownik zapisany",
|
||||||
"userSavedDescription": "Użytkownik został zaktualizowany.",
|
"userSavedDescription": "Użytkownik został zaktualizowany.",
|
||||||
"autoProvisioned": "Przesłane automatycznie",
|
"autoProvisioned": "Przesłane automatycznie",
|
||||||
|
"autoProvisionSettings": "Ustawienia automatycznego dostarczania",
|
||||||
"autoProvisionedDescription": "Pozwól temu użytkownikowi na automatyczne zarządzanie przez dostawcę tożsamości",
|
"autoProvisionedDescription": "Pozwól temu użytkownikowi na automatyczne zarządzanie przez dostawcę tożsamości",
|
||||||
"accessControlsDescription": "Zarządzaj tym, do czego użytkownik ma dostęp i co może robić w organizacji",
|
"accessControlsDescription": "Zarządzaj tym, do czego użytkownik ma dostęp i co może robić w organizacji",
|
||||||
"accessControlsSubmit": "Zapisz kontrole dostępu",
|
"accessControlsSubmit": "Zapisz kontrole dostępu",
|
||||||
|
"singleRolePerUserPlanNotice": "Twój plan obsługuje tylko jedną rolę na użytkownika.",
|
||||||
|
"singleRolePerUserEditionNotice": "Ta edycja obsługuje tylko jedną rolę na użytkownika.",
|
||||||
"roles": "Role",
|
"roles": "Role",
|
||||||
"accessUsersRoles": "Zarządzaj użytkownikami i rolami",
|
"accessUsersRoles": "Zarządzaj użytkownikami i rolami",
|
||||||
"accessUsersRolesDescription": "Zaproś użytkowników i dodaj je do ról do zarządzania dostępem do organizacji",
|
"accessUsersRolesDescription": "Zaproś użytkowników i dodaj je do ról do zarządzania dostępem do organizacji",
|
||||||
@@ -1119,6 +1175,7 @@
|
|||||||
"setupTokenDescription": "Wprowadź token konfiguracji z konsoli serwera.",
|
"setupTokenDescription": "Wprowadź token konfiguracji z konsoli serwera.",
|
||||||
"setupTokenRequired": "Wymagany jest token konfiguracji",
|
"setupTokenRequired": "Wymagany jest token konfiguracji",
|
||||||
"actionUpdateSite": "Aktualizuj witrynę",
|
"actionUpdateSite": "Aktualizuj witrynę",
|
||||||
|
"actionResetSiteBandwidth": "Zresetuj przepustowość organizacji",
|
||||||
"actionListSiteRoles": "Lista dozwolonych ról witryny",
|
"actionListSiteRoles": "Lista dozwolonych ról witryny",
|
||||||
"actionCreateResource": "Utwórz zasób",
|
"actionCreateResource": "Utwórz zasób",
|
||||||
"actionDeleteResource": "Usuń zasób",
|
"actionDeleteResource": "Usuń zasób",
|
||||||
@@ -1148,7 +1205,7 @@
|
|||||||
"actionRemoveUser": "Usuń użytkownika",
|
"actionRemoveUser": "Usuń użytkownika",
|
||||||
"actionListUsers": "Lista użytkowników",
|
"actionListUsers": "Lista użytkowników",
|
||||||
"actionAddUserRole": "Dodaj rolę użytkownika",
|
"actionAddUserRole": "Dodaj rolę użytkownika",
|
||||||
"actionSetUserOrgRoles": "Set User Roles",
|
"actionSetUserOrgRoles": "Ustaw role użytkownika",
|
||||||
"actionGenerateAccessToken": "Wygeneruj token dostępu",
|
"actionGenerateAccessToken": "Wygeneruj token dostępu",
|
||||||
"actionDeleteAccessToken": "Usuń token dostępu",
|
"actionDeleteAccessToken": "Usuń token dostępu",
|
||||||
"actionListAccessTokens": "Lista tokenów dostępu",
|
"actionListAccessTokens": "Lista tokenów dostępu",
|
||||||
@@ -1265,6 +1322,7 @@
|
|||||||
"sidebarRoles": "Role",
|
"sidebarRoles": "Role",
|
||||||
"sidebarShareableLinks": "Linki",
|
"sidebarShareableLinks": "Linki",
|
||||||
"sidebarApiKeys": "Klucze API",
|
"sidebarApiKeys": "Klucze API",
|
||||||
|
"sidebarProvisioning": "Dostarczanie",
|
||||||
"sidebarSettings": "Ustawienia",
|
"sidebarSettings": "Ustawienia",
|
||||||
"sidebarAllUsers": "Wszyscy użytkownicy",
|
"sidebarAllUsers": "Wszyscy użytkownicy",
|
||||||
"sidebarIdentityProviders": "Dostawcy tożsamości",
|
"sidebarIdentityProviders": "Dostawcy tożsamości",
|
||||||
@@ -1890,6 +1948,40 @@
|
|||||||
"exitNode": "Węzeł Wyjściowy",
|
"exitNode": "Węzeł Wyjściowy",
|
||||||
"country": "Kraj",
|
"country": "Kraj",
|
||||||
"rulesMatchCountry": "Obecnie bazuje na adresie IP źródła",
|
"rulesMatchCountry": "Obecnie bazuje na adresie IP źródła",
|
||||||
|
"region": "Region",
|
||||||
|
"selectRegion": "Wybierz region",
|
||||||
|
"searchRegions": "Szukaj regionów...",
|
||||||
|
"noRegionFound": "Nie znaleziono regionu.",
|
||||||
|
"rulesMatchRegion": "Wybierz regionalną grupę krajów",
|
||||||
|
"rulesErrorInvalidRegion": "Nieprawidłowy region",
|
||||||
|
"rulesErrorInvalidRegionDescription": "Proszę wybrać prawidłowy region.",
|
||||||
|
"regionAfrica": "Afryka",
|
||||||
|
"regionNorthernAfrica": "Afryka Północna",
|
||||||
|
"regionEasternAfrica": "Afryka Wschodnia",
|
||||||
|
"regionMiddleAfrica": "Afryka Środkowa",
|
||||||
|
"regionSouthernAfrica": "Afryka Południowa",
|
||||||
|
"regionWesternAfrica": "Afryka Zachodnia",
|
||||||
|
"regionAmericas": "Ameryka",
|
||||||
|
"regionCaribbean": "Karaiby",
|
||||||
|
"regionCentralAmerica": "Ameryka Środkowa",
|
||||||
|
"regionSouthAmerica": "Ameryka Południowej",
|
||||||
|
"regionNorthernAmerica": "Ameryka Północna",
|
||||||
|
"regionAsia": "Akwakultura",
|
||||||
|
"regionCentralAsia": "Azja Środkowa",
|
||||||
|
"regionEasternAsia": "Azja Wschodnia",
|
||||||
|
"regionSouthEasternAsia": "Azja Południowo-Wschodnia",
|
||||||
|
"regionSouthernAsia": "Azja Południowa",
|
||||||
|
"regionWesternAsia": "Azja Zachodnia",
|
||||||
|
"regionEurope": "Europa",
|
||||||
|
"regionEasternEurope": "Europa Wschodnia",
|
||||||
|
"regionNorthernEurope": "Europa Północna",
|
||||||
|
"regionSouthernEurope": "Europa Południowa",
|
||||||
|
"regionWesternEurope": "Europa Zachodnia",
|
||||||
|
"regionOceania": "Oceania",
|
||||||
|
"regionAustraliaAndNewZealand": "Australia i Nowa Zelandia",
|
||||||
|
"regionMelanesia": "Melanesia",
|
||||||
|
"regionMicronesia": "Micronesia",
|
||||||
|
"regionPolynesia": "Polynesia",
|
||||||
"managedSelfHosted": {
|
"managedSelfHosted": {
|
||||||
"title": "Zarządzane Samodzielnie-Hostingowane",
|
"title": "Zarządzane Samodzielnie-Hostingowane",
|
||||||
"description": "Większa niezawodność i niska konserwacja serwera Pangolin z dodatkowymi dzwonkami i sygnałami",
|
"description": "Większa niezawodność i niska konserwacja serwera Pangolin z dodatkowymi dzwonkami i sygnałami",
|
||||||
@@ -1938,6 +2030,25 @@
|
|||||||
"invalidValue": "Nieprawidłowa wartość",
|
"invalidValue": "Nieprawidłowa wartość",
|
||||||
"idpTypeLabel": "Typ dostawcy tożsamości",
|
"idpTypeLabel": "Typ dostawcy tożsamości",
|
||||||
"roleMappingExpressionPlaceholder": "np. zawiera(grupy, 'admin') && 'Admin' || 'Członek'",
|
"roleMappingExpressionPlaceholder": "np. zawiera(grupy, 'admin') && 'Admin' || 'Członek'",
|
||||||
|
"roleMappingModeFixedRoles": "Stałe role",
|
||||||
|
"roleMappingModeMappingBuilder": "Konstruktor mapowania",
|
||||||
|
"roleMappingModeRawExpression": "Surowe wyrażenie",
|
||||||
|
"roleMappingFixedRolesPlaceholderSelect": "Wybierz jedną lub więcej ról",
|
||||||
|
"roleMappingFixedRolesPlaceholderFreeform": "Wpisz nazwy ról (dopasowanie na organizację)",
|
||||||
|
"roleMappingFixedRolesDescriptionSameForAll": "Przypisz tę samą rolę do każdego automatycznie udostępnionego użytkownika.",
|
||||||
|
"roleMappingFixedRolesDescriptionDefaultPolicy": "W przypadku domyślnych zasad nazwy ról typu które istnieją w każdej organizacji, gdzie użytkownicy są zapisywani. Nazwy muszą się dokładnie zgadzać.",
|
||||||
|
"roleMappingClaimPath": "Ścieżka przejęcia",
|
||||||
|
"roleMappingClaimPathPlaceholder": "grupy",
|
||||||
|
"roleMappingClaimPathDescription": "Ścieżka w payloadzie tokenów, która zawiera wartości źródłowe (np. grupy).",
|
||||||
|
"roleMappingMatchValue": "Wartość dopasowania",
|
||||||
|
"roleMappingAssignRoles": "Przypisz role",
|
||||||
|
"roleMappingAddMappingRule": "Dodaj regułę mapowania",
|
||||||
|
"roleMappingRawExpressionResultDescription": "Wyrażenie musi ocenić do tablicy ciągów lub ciągów.",
|
||||||
|
"roleMappingRawExpressionResultDescriptionSingleRole": "Wyrażenie musi oceniać ciąg znaków (pojedyncza nazwa).",
|
||||||
|
"roleMappingMatchValuePlaceholder": "Wartość dopasowania (na przykład: admin)",
|
||||||
|
"roleMappingAssignRolesPlaceholderFreeform": "Wpisz nazwy ról (aktywizacja na org)",
|
||||||
|
"roleMappingBuilderFreeformRowHint": "Nazwy ról muszą pasować do roli w każdej organizacji docelowej.",
|
||||||
|
"roleMappingRemoveRule": "Usuń",
|
||||||
"idpGoogleConfiguration": "Konfiguracja Google",
|
"idpGoogleConfiguration": "Konfiguracja Google",
|
||||||
"idpGoogleConfigurationDescription": "Skonfiguruj dane logowania Google OAuth2",
|
"idpGoogleConfigurationDescription": "Skonfiguruj dane logowania Google OAuth2",
|
||||||
"idpGoogleClientIdDescription": "Google OAuth2 Client ID",
|
"idpGoogleClientIdDescription": "Google OAuth2 Client ID",
|
||||||
@@ -2334,6 +2445,8 @@
|
|||||||
"logRetentionAccessDescription": "Jak długo zachować dzienniki dostępu",
|
"logRetentionAccessDescription": "Jak długo zachować dzienniki dostępu",
|
||||||
"logRetentionActionLabel": "Zachowanie dziennika akcji",
|
"logRetentionActionLabel": "Zachowanie dziennika akcji",
|
||||||
"logRetentionActionDescription": "Jak długo zachować dzienniki akcji",
|
"logRetentionActionDescription": "Jak długo zachować dzienniki akcji",
|
||||||
|
"logRetentionConnectionLabel": "Zachowanie dziennika połączeń",
|
||||||
|
"logRetentionConnectionDescription": "Jak długo zachować dzienniki połączeń",
|
||||||
"logRetentionDisabled": "Wyłączone",
|
"logRetentionDisabled": "Wyłączone",
|
||||||
"logRetention3Days": "3 dni",
|
"logRetention3Days": "3 dni",
|
||||||
"logRetention7Days": "7 dni",
|
"logRetention7Days": "7 dni",
|
||||||
@@ -2344,6 +2457,13 @@
|
|||||||
"logRetentionEndOfFollowingYear": "Koniec następnego roku",
|
"logRetentionEndOfFollowingYear": "Koniec następnego roku",
|
||||||
"actionLogsDescription": "Zobacz historię działań wykonywanych w tej organizacji",
|
"actionLogsDescription": "Zobacz historię działań wykonywanych w tej organizacji",
|
||||||
"accessLogsDescription": "Wyświetl prośby o autoryzację dostępu do zasobów w tej organizacji",
|
"accessLogsDescription": "Wyświetl prośby o autoryzację dostępu do zasobów w tej organizacji",
|
||||||
|
"connectionLogs": "Dzienniki połączeń",
|
||||||
|
"connectionLogsDescription": "Wyświetl dzienniki połączeń dla tuneli w tej organizacji",
|
||||||
|
"sidebarLogsConnection": "Dzienniki połączeń",
|
||||||
|
"sidebarLogsStreaming": "Strumieniowanie",
|
||||||
|
"sourceAddress": "Adres źródłowy",
|
||||||
|
"destinationAddress": "Adres docelowy",
|
||||||
|
"duration": "Czas trwania",
|
||||||
"licenseRequiredToUse": "Do korzystania z tej funkcji wymagana jest licencja <enterpriseLicenseLink>Enterprise Edition</enterpriseLicenseLink> lub <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink> . <bookADemoLink>Zarezerwuj wersję demonstracyjną lub wersję próbną POC</bookADemoLink>.",
|
"licenseRequiredToUse": "Do korzystania z tej funkcji wymagana jest licencja <enterpriseLicenseLink>Enterprise Edition</enterpriseLicenseLink> lub <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink> . <bookADemoLink>Zarezerwuj wersję demonstracyjną lub wersję próbną POC</bookADemoLink>.",
|
||||||
"ossEnterpriseEditionRequired": "<enterpriseEditionLink>Enterprise Edition</enterpriseEditionLink> jest wymagany do korzystania z tej funkcji. Ta funkcja jest również dostępna w <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>. <bookADemoLink>Zarezerwuj demo lub okres próbny POC</bookADemoLink>.",
|
"ossEnterpriseEditionRequired": "<enterpriseEditionLink>Enterprise Edition</enterpriseEditionLink> jest wymagany do korzystania z tej funkcji. Ta funkcja jest również dostępna w <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>. <bookADemoLink>Zarezerwuj demo lub okres próbny POC</bookADemoLink>.",
|
||||||
"certResolver": "Rozwiązywanie certyfikatów",
|
"certResolver": "Rozwiązywanie certyfikatów",
|
||||||
@@ -2683,5 +2803,90 @@
|
|||||||
"approvalsEmptyStateStep2Description": "Edytuj rolę i włącz opcję \"Wymagaj zatwierdzenia urządzenia\". Użytkownicy z tą rolą będą potrzebowali zatwierdzenia administratora dla nowych urządzeń.",
|
"approvalsEmptyStateStep2Description": "Edytuj rolę i włącz opcję \"Wymagaj zatwierdzenia urządzenia\". Użytkownicy z tą rolą będą potrzebowali zatwierdzenia administratora dla nowych urządzeń.",
|
||||||
"approvalsEmptyStatePreviewDescription": "Podgląd: Gdy włączone, oczekujące prośby o sprawdzenie pojawią się tutaj",
|
"approvalsEmptyStatePreviewDescription": "Podgląd: Gdy włączone, oczekujące prośby o sprawdzenie pojawią się tutaj",
|
||||||
"approvalsEmptyStateButtonText": "Zarządzaj rolami",
|
"approvalsEmptyStateButtonText": "Zarządzaj rolami",
|
||||||
"domainErrorTitle": "Mamy problem z weryfikacją Twojej domeny"
|
"domainErrorTitle": "Mamy problem z weryfikacją Twojej domeny",
|
||||||
|
"idpAdminAutoProvisionPoliciesTabHint": "Skonfiguruj mapowanie ról i zasady organizacji na karcie <policiesTabLink>Auto Provivision Settings</policiesTabLink>.",
|
||||||
|
"streamingTitle": "Strumieniowanie wydarzeń",
|
||||||
|
"streamingDescription": "Wydarzenia strumieniowe z Twojej organizacji do zewnętrznych miejsc przeznaczenia w czasie rzeczywistym.",
|
||||||
|
"streamingUnnamedDestination": "Miejsce przeznaczenia bez nazwy",
|
||||||
|
"streamingNoUrlConfigured": "Brak skonfigurowanego adresu URL",
|
||||||
|
"streamingAddDestination": "Dodaj cel",
|
||||||
|
"streamingHttpWebhookTitle": "Webhook HTTP",
|
||||||
|
"streamingHttpWebhookDescription": "Wyślij zdarzenia do dowolnego punktu końcowego HTTP z elastycznym uwierzytelnianiem i szablonem.",
|
||||||
|
"streamingS3Title": "Amazon S3",
|
||||||
|
"streamingS3Description": "Zdarzenia strumieniowe do magazynu obiektów kompatybilnych z S3. Już wkrótce.",
|
||||||
|
"streamingDatadogTitle": "Datadog",
|
||||||
|
"streamingDatadogDescription": "Przekaż wydarzenia bezpośrednio do Twojego konta Datadog. Już wkrótce.",
|
||||||
|
"streamingTypePickerDescription": "Wybierz typ docelowy, aby rozpocząć.",
|
||||||
|
"streamingFailedToLoad": "Nie udało się załadować miejsc docelowych",
|
||||||
|
"streamingUnexpectedError": "Wystąpił nieoczekiwany błąd.",
|
||||||
|
"streamingFailedToUpdate": "Nie udało się zaktualizować miejsca docelowego",
|
||||||
|
"streamingDeletedSuccess": "Cel usunięty pomyślnie",
|
||||||
|
"streamingFailedToDelete": "Nie udało się usunąć miejsca docelowego",
|
||||||
|
"streamingDeleteTitle": "Usuń cel",
|
||||||
|
"streamingDeleteButtonText": "Usuń cel",
|
||||||
|
"streamingDeleteDialogAreYouSure": "Czy na pewno chcesz usunąć",
|
||||||
|
"streamingDeleteDialogThisDestination": "ten cel",
|
||||||
|
"streamingDeleteDialogPermanentlyRemoved": "? Wszystkie konfiguracje zostaną trwale usunięte.",
|
||||||
|
"httpDestEditTitle": "Edytuj cel",
|
||||||
|
"httpDestAddTitle": "Dodaj cel HTTP",
|
||||||
|
"httpDestEditDescription": "Aktualizuj konfigurację dla tego celu przesyłania strumieniowego zdarzeń HTTP.",
|
||||||
|
"httpDestAddDescription": "Skonfiguruj nowy punkt końcowy HTTP, aby otrzymywać wydarzenia organizacji.",
|
||||||
|
"httpDestTabSettings": "Ustawienia",
|
||||||
|
"httpDestTabHeaders": "Nagłówki",
|
||||||
|
"httpDestTabBody": "Ciało",
|
||||||
|
"httpDestTabLogs": "Logi",
|
||||||
|
"httpDestNamePlaceholder": "Mój cel HTTP",
|
||||||
|
"httpDestUrlLabel": "Adres docelowy",
|
||||||
|
"httpDestUrlErrorHttpRequired": "Adres URL musi używać http lub https",
|
||||||
|
"httpDestUrlErrorHttpsRequired": "HTTPS jest wymagany dla wdrożenia w chmurze",
|
||||||
|
"httpDestUrlErrorInvalid": "Wprowadź poprawny adres URL (np. https://example.com/webhook)",
|
||||||
|
"httpDestAuthTitle": "Uwierzytelnianie",
|
||||||
|
"httpDestAuthDescription": "Wybierz sposób uwierzytelniania żądań do Twojego punktu końcowego.",
|
||||||
|
"httpDestAuthNoneTitle": "Brak uwierzytelniania",
|
||||||
|
"httpDestAuthNoneDescription": "Wysyła żądania bez nagłówka autoryzacji.",
|
||||||
|
"httpDestAuthBearerTitle": "Token Bearer",
|
||||||
|
"httpDestAuthBearerDescription": "Dodaje autoryzację: nagłówek Bearer <token> do każdego żądania.",
|
||||||
|
"httpDestAuthBearerPlaceholder": "Twój klucz API lub token",
|
||||||
|
"httpDestAuthBasicTitle": "Podstawowa Autoryzacja",
|
||||||
|
"httpDestAuthBasicDescription": "Dodaje Autoryzacja: Nagłówek Basic <credentials> . Podaj poświadczenia jako nazwę użytkownika: hasło.",
|
||||||
|
"httpDestAuthBasicPlaceholder": "Nazwa użytkownika:hasło",
|
||||||
|
"httpDestAuthCustomTitle": "Niestandardowy nagłówek",
|
||||||
|
"httpDestAuthCustomDescription": "Określ niestandardową nazwę nagłówka HTTP i wartość dla uwierzytelniania (np. X-API-Key).",
|
||||||
|
"httpDestAuthCustomHeaderNamePlaceholder": "Nazwa nagłówka (np. klucz X-API)",
|
||||||
|
"httpDestAuthCustomHeaderValuePlaceholder": "Wartość nagłówka",
|
||||||
|
"httpDestCustomHeadersTitle": "Niestandardowe nagłówki HTTP",
|
||||||
|
"httpDestCustomHeadersDescription": "Dodaj własne nagłówki do każdego wychodzącego żądania. Przydatne dla tokenów statycznych lub niestandardowego typu zawartości. Domyślnie Content-Type: aplikacja/json jest wysyłane.",
|
||||||
|
"httpDestNoHeadersConfigured": "Nie skonfigurowano nagłówków niestandardowych. Kliknij \"Dodaj nagłówek\", aby go dodać.",
|
||||||
|
"httpDestHeaderNamePlaceholder": "Nazwa nagłówka",
|
||||||
|
"httpDestHeaderValuePlaceholder": "Wartość",
|
||||||
|
"httpDestAddHeader": "Dodaj nagłówek",
|
||||||
|
"httpDestBodyTemplateTitle": "Własny szablon ciała",
|
||||||
|
"httpDestBodyTemplateDescription": "Kontroluj strukturę JSON wysyłaną do Twojego punktu końcowego. Jeśli wyłączone, dla każdego zdarzenia wysyłany jest domyślny obiekt JSON.",
|
||||||
|
"httpDestEnableBodyTemplate": "Włącz niestandardowy szablon ciała",
|
||||||
|
"httpDestBodyTemplateLabel": "Szablon ciała (JSON)",
|
||||||
|
"httpDestBodyTemplateHint": "Użyj zmiennych szablonu do odniesienia pól zdarzeń w twoim payloadzie.",
|
||||||
|
"httpDestPayloadFormatTitle": "Format obciążenia",
|
||||||
|
"httpDestPayloadFormatDescription": "Jak zdarzenia są serializowane w każdym organie żądania.",
|
||||||
|
"httpDestFormatJsonArrayTitle": "Tablica JSON",
|
||||||
|
"httpDestFormatJsonArrayDescription": "Jedna prośba na partię, treść jest tablicą JSON. Kompatybilna z najbardziej ogólnymi webhookami i Datadog.",
|
||||||
|
"httpDestFormatNdjsonTitle": "NDJSON",
|
||||||
|
"httpDestFormatNdjsonDescription": "Jedno żądanie na partię, ciałem jest plik JSON rozdzielony na newline-delimited — jeden obiekt na wiersz, bez tablicy zewnętrznej. Wymagane przez Splunk HEC, Elastic / OpenSesearch i Grafana Loki.",
|
||||||
|
"httpDestFormatSingleTitle": "Jedno wydarzenie na żądanie",
|
||||||
|
"httpDestFormatSingleDescription": "Wysyła oddzielny POST HTTP dla każdego zdarzenia. Użyj tylko dla punktów końcowych, które nie mogą obsługiwać partii.",
|
||||||
|
"httpDestLogTypesTitle": "Typy logów",
|
||||||
|
"httpDestLogTypesDescription": "Wybierz, które typy logów są przekazywane do tego miejsca docelowego. Tylko włączone typy logów będą strumieniowane.",
|
||||||
|
"httpDestAccessLogsTitle": "Logi dostępu",
|
||||||
|
"httpDestAccessLogsDescription": "Próby dostępu do zasobów, w tym uwierzytelnione i odrzucone żądania.",
|
||||||
|
"httpDestActionLogsTitle": "Dzienniki działań",
|
||||||
|
"httpDestActionLogsDescription": "Działania administracyjne wykonywane przez użytkowników w organizacji.",
|
||||||
|
"httpDestConnectionLogsTitle": "Dzienniki połączeń",
|
||||||
|
"httpDestConnectionLogsDescription": "Zdarzenia związane z miejscem i tunelem, w tym połączenia i rozłączenia.",
|
||||||
|
"httpDestRequestLogsTitle": "Dzienniki żądań",
|
||||||
|
"httpDestRequestLogsDescription": "Logi żądań HTTP dla zasobów proxy, w tym metody, ścieżki i kodu odpowiedzi.",
|
||||||
|
"httpDestSaveChanges": "Zapisz zmiany",
|
||||||
|
"httpDestCreateDestination": "Utwórz cel",
|
||||||
|
"httpDestUpdatedSuccess": "Cel został pomyślnie zaktualizowany",
|
||||||
|
"httpDestCreatedSuccess": "Cel został utworzony pomyślnie",
|
||||||
|
"httpDestUpdateFailed": "Nie udało się zaktualizować miejsca docelowego",
|
||||||
|
"httpDestCreateFailed": "Nie udało się utworzyć miejsca docelowego"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -148,6 +148,11 @@
|
|||||||
"createLink": "Criar Link",
|
"createLink": "Criar Link",
|
||||||
"resourcesNotFound": "Nenhum recurso encontrado",
|
"resourcesNotFound": "Nenhum recurso encontrado",
|
||||||
"resourceSearch": "Recursos de pesquisa",
|
"resourceSearch": "Recursos de pesquisa",
|
||||||
|
"machineSearch": "Procurar máquinas",
|
||||||
|
"machinesSearch": "Pesquisar clientes de máquina...",
|
||||||
|
"machineNotFound": "Nenhuma máquina encontrada",
|
||||||
|
"userDeviceSearch": "Procurar dispositivos do usuário",
|
||||||
|
"userDevicesSearch": "Pesquisar dispositivos do usuário...",
|
||||||
"openMenu": "Abrir menu",
|
"openMenu": "Abrir menu",
|
||||||
"resource": "Recurso",
|
"resource": "Recurso",
|
||||||
"title": "Título",
|
"title": "Título",
|
||||||
@@ -323,6 +328,54 @@
|
|||||||
"apiKeysDelete": "Excluir Chave API",
|
"apiKeysDelete": "Excluir Chave API",
|
||||||
"apiKeysManage": "Gerir Chaves API",
|
"apiKeysManage": "Gerir Chaves API",
|
||||||
"apiKeysDescription": "As chaves API são usadas para autenticar com a API de integração",
|
"apiKeysDescription": "As chaves API são usadas para autenticar com a API de integração",
|
||||||
|
"provisioningKeysTitle": "Chave de provisionamento",
|
||||||
|
"provisioningKeysManage": "Gerenciar chaves de provisionamento",
|
||||||
|
"provisioningKeysDescription": "Chaves de provisionamento são usadas para autenticar o provisionamento automatizado do site para sua organização.",
|
||||||
|
"provisioningManage": "Provisionamento",
|
||||||
|
"provisioningDescription": "Gerenciar chaves de provisionamento e revisar sites pendentes aguardando aprovação.",
|
||||||
|
"pendingSites": "Sites pendentes",
|
||||||
|
"siteApproveSuccess": "Site aprovado com sucesso",
|
||||||
|
"siteApproveError": "Erro ao aprovar site",
|
||||||
|
"provisioningKeys": "Posicionando chaves",
|
||||||
|
"searchProvisioningKeys": "Pesquisar chaves de provisionamento...",
|
||||||
|
"provisioningKeysAdd": "Gerar chave de provisionamento",
|
||||||
|
"provisioningKeysErrorDelete": "Erro ao excluir chave de provisionamento",
|
||||||
|
"provisioningKeysErrorDeleteMessage": "Erro ao excluir chave de provisionamento",
|
||||||
|
"provisioningKeysQuestionRemove": "Tem certeza de que deseja remover esta chave de provisionamento da organização?",
|
||||||
|
"provisioningKeysMessageRemove": "Uma vez removida, a chave não pode mais ser usada para o provisionamento do site.",
|
||||||
|
"provisioningKeysDeleteConfirm": "Confirmar chave de exclusão",
|
||||||
|
"provisioningKeysDelete": "Apagar chave de provisionamento",
|
||||||
|
"provisioningKeysCreate": "Gerar chave de provisionamento",
|
||||||
|
"provisioningKeysCreateDescription": "Gerar uma nova chave de provisionamento para a organização",
|
||||||
|
"provisioningKeysSeeAll": "Ver todas as chaves provisionadas",
|
||||||
|
"provisioningKeysSave": "Salvar a chave de provisionamento",
|
||||||
|
"provisioningKeysSaveDescription": "Você só será capaz de ver esta vez. Copiá-lo para um lugar seguro.",
|
||||||
|
"provisioningKeysErrorCreate": "Erro ao criar chave de provisionamento",
|
||||||
|
"provisioningKeysList": "Nova chave de aprovisionamento",
|
||||||
|
"provisioningKeysMaxBatchSize": "Tamanho máximo do lote",
|
||||||
|
"provisioningKeysUnlimitedBatchSize": "Tamanho ilimitado em lote (sem limite)",
|
||||||
|
"provisioningKeysMaxBatchUnlimited": "Ilimitado",
|
||||||
|
"provisioningKeysMaxBatchSizeInvalid": "Informe um tamanho máximo válido em lote (1–1,000,000).",
|
||||||
|
"provisioningKeysValidUntil": "Valido ate",
|
||||||
|
"provisioningKeysValidUntilHint": "Deixe em branco para nenhuma expiração.",
|
||||||
|
"provisioningKeysValidUntilInvalid": "Informe uma data e hora válidas.",
|
||||||
|
"provisioningKeysNumUsed": "Use percentual",
|
||||||
|
"provisioningKeysLastUsed": "Última utilização",
|
||||||
|
"provisioningKeysNoExpiry": "Sem vencimento",
|
||||||
|
"provisioningKeysNeverUsed": "nunca",
|
||||||
|
"provisioningKeysEdit": "Editar chave de provisionamento",
|
||||||
|
"provisioningKeysEditDescription": "Atualizar o tamanho máximo do lote e tempo de expiração para esta chave.",
|
||||||
|
"provisioningKeysApproveNewSites": "Aprovar novos sites",
|
||||||
|
"provisioningKeysApproveNewSitesDescription": "Aprovar automaticamente sites que se registram com esta chave.",
|
||||||
|
"provisioningKeysUpdateError": "Erro ao atualizar chave de provisionamento",
|
||||||
|
"provisioningKeysUpdated": "Chave de provisionamento atualizada",
|
||||||
|
"provisioningKeysUpdatedDescription": "Suas alterações foram salvas.",
|
||||||
|
"provisioningKeysBannerTitle": "Chaves de provisionamento do site",
|
||||||
|
"provisioningKeysBannerDescription": "Gerar uma chave de provisionamento e usá-la com o conector de Newt para criar automaticamente sites na primeira inicialização — não é necessário configurar credenciais separadas para cada site.",
|
||||||
|
"provisioningKeysBannerButtonText": "Saiba mais",
|
||||||
|
"pendingSitesBannerTitle": "Sites pendentes",
|
||||||
|
"pendingSitesBannerDescription": "Sites que conectam usando uma chave de provisionamento aparecem aqui para revisão. Aprovar cada site antes de se tornar ativo e ganhar acesso a seus recursos.",
|
||||||
|
"pendingSitesBannerButtonText": "Saiba mais",
|
||||||
"apiKeysSettings": "Configurações de {apiKeyName}",
|
"apiKeysSettings": "Configurações de {apiKeyName}",
|
||||||
"userTitle": "Gerir Todos os Utilizadores",
|
"userTitle": "Gerir Todos os Utilizadores",
|
||||||
"userDescription": "Visualizar e gerir todos os utilizadores no sistema",
|
"userDescription": "Visualizar e gerir todos os utilizadores no sistema",
|
||||||
@@ -509,9 +562,12 @@
|
|||||||
"userSaved": "Usuário salvo",
|
"userSaved": "Usuário salvo",
|
||||||
"userSavedDescription": "O utilizador foi atualizado.",
|
"userSavedDescription": "O utilizador foi atualizado.",
|
||||||
"autoProvisioned": "Auto provisionado",
|
"autoProvisioned": "Auto provisionado",
|
||||||
|
"autoProvisionSettings": "Configurações de provisão automática",
|
||||||
"autoProvisionedDescription": "Permitir que este utilizador seja gerido automaticamente pelo provedor de identidade",
|
"autoProvisionedDescription": "Permitir que este utilizador seja gerido automaticamente pelo provedor de identidade",
|
||||||
"accessControlsDescription": "Gerir o que este utilizador pode aceder e fazer na organização",
|
"accessControlsDescription": "Gerir o que este utilizador pode aceder e fazer na organização",
|
||||||
"accessControlsSubmit": "Guardar Controlos de Acesso",
|
"accessControlsSubmit": "Guardar Controlos de Acesso",
|
||||||
|
"singleRolePerUserPlanNotice": "Seu plano suporta apenas uma função por usuário.",
|
||||||
|
"singleRolePerUserEditionNotice": "Esta edição suporta apenas uma função por usuário.",
|
||||||
"roles": "Funções",
|
"roles": "Funções",
|
||||||
"accessUsersRoles": "Gerir Utilizadores e Funções",
|
"accessUsersRoles": "Gerir Utilizadores e Funções",
|
||||||
"accessUsersRolesDescription": "Convidar usuários e adicioná-los a funções para gerenciar o acesso à organização",
|
"accessUsersRolesDescription": "Convidar usuários e adicioná-los a funções para gerenciar o acesso à organização",
|
||||||
@@ -1119,6 +1175,7 @@
|
|||||||
"setupTokenDescription": "Digite o token de configuração do console do servidor.",
|
"setupTokenDescription": "Digite o token de configuração do console do servidor.",
|
||||||
"setupTokenRequired": "Token de configuração é necessário",
|
"setupTokenRequired": "Token de configuração é necessário",
|
||||||
"actionUpdateSite": "Atualizar Site",
|
"actionUpdateSite": "Atualizar Site",
|
||||||
|
"actionResetSiteBandwidth": "Redefinir banda da organização",
|
||||||
"actionListSiteRoles": "Listar Funções Permitidas do Site",
|
"actionListSiteRoles": "Listar Funções Permitidas do Site",
|
||||||
"actionCreateResource": "Criar Recurso",
|
"actionCreateResource": "Criar Recurso",
|
||||||
"actionDeleteResource": "Eliminar Recurso",
|
"actionDeleteResource": "Eliminar Recurso",
|
||||||
@@ -1148,7 +1205,7 @@
|
|||||||
"actionRemoveUser": "Remover Utilizador",
|
"actionRemoveUser": "Remover Utilizador",
|
||||||
"actionListUsers": "Listar Utilizadores",
|
"actionListUsers": "Listar Utilizadores",
|
||||||
"actionAddUserRole": "Adicionar Função ao Utilizador",
|
"actionAddUserRole": "Adicionar Função ao Utilizador",
|
||||||
"actionSetUserOrgRoles": "Set User Roles",
|
"actionSetUserOrgRoles": "Definir funções do usuário",
|
||||||
"actionGenerateAccessToken": "Gerar Token de Acesso",
|
"actionGenerateAccessToken": "Gerar Token de Acesso",
|
||||||
"actionDeleteAccessToken": "Eliminar Token de Acesso",
|
"actionDeleteAccessToken": "Eliminar Token de Acesso",
|
||||||
"actionListAccessTokens": "Listar Tokens de Acesso",
|
"actionListAccessTokens": "Listar Tokens de Acesso",
|
||||||
@@ -1265,6 +1322,7 @@
|
|||||||
"sidebarRoles": "Papéis",
|
"sidebarRoles": "Papéis",
|
||||||
"sidebarShareableLinks": "Links",
|
"sidebarShareableLinks": "Links",
|
||||||
"sidebarApiKeys": "Chaves API",
|
"sidebarApiKeys": "Chaves API",
|
||||||
|
"sidebarProvisioning": "Provisionamento",
|
||||||
"sidebarSettings": "Configurações",
|
"sidebarSettings": "Configurações",
|
||||||
"sidebarAllUsers": "Todos os utilizadores",
|
"sidebarAllUsers": "Todos os utilizadores",
|
||||||
"sidebarIdentityProviders": "Provedores de identidade",
|
"sidebarIdentityProviders": "Provedores de identidade",
|
||||||
@@ -1890,6 +1948,40 @@
|
|||||||
"exitNode": "Nodo de Saída",
|
"exitNode": "Nodo de Saída",
|
||||||
"country": "País",
|
"country": "País",
|
||||||
"rulesMatchCountry": "Atualmente baseado no IP de origem",
|
"rulesMatchCountry": "Atualmente baseado no IP de origem",
|
||||||
|
"region": "Região",
|
||||||
|
"selectRegion": "Selecionar região",
|
||||||
|
"searchRegions": "Procurar regiões...",
|
||||||
|
"noRegionFound": "Nenhuma região encontrada.",
|
||||||
|
"rulesMatchRegion": "Selecione um grupo regional de países",
|
||||||
|
"rulesErrorInvalidRegion": "Região inválida",
|
||||||
|
"rulesErrorInvalidRegionDescription": "Por favor, selecione uma região válida.",
|
||||||
|
"regionAfrica": "África",
|
||||||
|
"regionNorthernAfrica": "África do Norte",
|
||||||
|
"regionEasternAfrica": "África Oriental",
|
||||||
|
"regionMiddleAfrica": "África Média",
|
||||||
|
"regionSouthernAfrica": "África Austral",
|
||||||
|
"regionWesternAfrica": "África Ocidental",
|
||||||
|
"regionAmericas": "Américas",
|
||||||
|
"regionCaribbean": "Caribe",
|
||||||
|
"regionCentralAmerica": "América Central",
|
||||||
|
"regionSouthAmerica": "América do Sul",
|
||||||
|
"regionNorthernAmerica": "América do Norte",
|
||||||
|
"regionAsia": "Ásia",
|
||||||
|
"regionCentralAsia": "Ásia Central",
|
||||||
|
"regionEasternAsia": "Ásia Oriental",
|
||||||
|
"regionSouthEasternAsia": "Sudeste da Ásia",
|
||||||
|
"regionSouthernAsia": "Sudeste da Ásia",
|
||||||
|
"regionWesternAsia": "Ásia Ocidental",
|
||||||
|
"regionEurope": "Europa",
|
||||||
|
"regionEasternEurope": "Europa Oriental",
|
||||||
|
"regionNorthernEurope": "Europa do Norte",
|
||||||
|
"regionSouthernEurope": "Europa do Sul",
|
||||||
|
"regionWesternEurope": "Europa Ocidental",
|
||||||
|
"regionOceania": "Oceania",
|
||||||
|
"regionAustraliaAndNewZealand": "Austrália e Nova Zelândia",
|
||||||
|
"regionMelanesia": "Melanesia",
|
||||||
|
"regionMicronesia": "Micronesia",
|
||||||
|
"regionPolynesia": "Polynesia",
|
||||||
"managedSelfHosted": {
|
"managedSelfHosted": {
|
||||||
"title": "Gerenciado Auto-Hospedado",
|
"title": "Gerenciado Auto-Hospedado",
|
||||||
"description": "Servidor Pangolin auto-hospedado mais confiável e com baixa manutenção com sinos extras e assobiamentos",
|
"description": "Servidor Pangolin auto-hospedado mais confiável e com baixa manutenção com sinos extras e assobiamentos",
|
||||||
@@ -1938,6 +2030,25 @@
|
|||||||
"invalidValue": "Valor Inválido",
|
"invalidValue": "Valor Inválido",
|
||||||
"idpTypeLabel": "Tipo de provedor de identidade",
|
"idpTypeLabel": "Tipo de provedor de identidade",
|
||||||
"roleMappingExpressionPlaceholder": "ex.: Contem (grupos, 'administrador') && 'Administrador' 「'Membro'",
|
"roleMappingExpressionPlaceholder": "ex.: Contem (grupos, 'administrador') && 'Administrador' 「'Membro'",
|
||||||
|
"roleMappingModeFixedRoles": "Papéis fixos",
|
||||||
|
"roleMappingModeMappingBuilder": "Mapeando Construtor",
|
||||||
|
"roleMappingModeRawExpression": "Expressão Bruta",
|
||||||
|
"roleMappingFixedRolesPlaceholderSelect": "Selecione um ou mais papéis",
|
||||||
|
"roleMappingFixedRolesPlaceholderFreeform": "Digite o nome das funções (correspondência exata por organização)",
|
||||||
|
"roleMappingFixedRolesDescriptionSameForAll": "Atribuir o mesmo conjunto de funções a cada usuário auto-provisionado.",
|
||||||
|
"roleMappingFixedRolesDescriptionDefaultPolicy": "Para políticas padrão, nomes de funções de tipo que existem em cada organização onde os usuários são fornecidos. Nomes devem coincidir exatamente.",
|
||||||
|
"roleMappingClaimPath": "Caminho da Reivindicação",
|
||||||
|
"roleMappingClaimPathPlaceholder": "grupos",
|
||||||
|
"roleMappingClaimPathDescription": "Caminho no payload token que contém valores de origem (por exemplo, grupos).",
|
||||||
|
"roleMappingMatchValue": "Valor Correspondente",
|
||||||
|
"roleMappingAssignRoles": "Atribuir Papéis",
|
||||||
|
"roleMappingAddMappingRule": "Adicionar regra de mapeamento",
|
||||||
|
"roleMappingRawExpressionResultDescription": "Expressão deve retornar à matriz string ou string.",
|
||||||
|
"roleMappingRawExpressionResultDescriptionSingleRole": "Expressão deve ser avaliada para uma string (um nome de função única).",
|
||||||
|
"roleMappingMatchValuePlaceholder": "Valor do jogo (por exemplo: administrador)",
|
||||||
|
"roleMappingAssignRolesPlaceholderFreeform": "Digite nomes de funções ((exact por org)",
|
||||||
|
"roleMappingBuilderFreeformRowHint": "Nomes de papéis devem corresponder a um papel em cada organizaçãoalvo.",
|
||||||
|
"roleMappingRemoveRule": "Remover",
|
||||||
"idpGoogleConfiguration": "Configuração do Google",
|
"idpGoogleConfiguration": "Configuração do Google",
|
||||||
"idpGoogleConfigurationDescription": "Configurar as credenciais do Google OAuth2",
|
"idpGoogleConfigurationDescription": "Configurar as credenciais do Google OAuth2",
|
||||||
"idpGoogleClientIdDescription": "Google OAuth2 Client ID",
|
"idpGoogleClientIdDescription": "Google OAuth2 Client ID",
|
||||||
@@ -2334,6 +2445,8 @@
|
|||||||
"logRetentionAccessDescription": "Por quanto tempo manter os registros de acesso",
|
"logRetentionAccessDescription": "Por quanto tempo manter os registros de acesso",
|
||||||
"logRetentionActionLabel": "Ação de Retenção no Log",
|
"logRetentionActionLabel": "Ação de Retenção no Log",
|
||||||
"logRetentionActionDescription": "Por quanto tempo manter os registros de ação",
|
"logRetentionActionDescription": "Por quanto tempo manter os registros de ação",
|
||||||
|
"logRetentionConnectionLabel": "Retenção de registro de conexão",
|
||||||
|
"logRetentionConnectionDescription": "Por quanto tempo manter os registros de conexão",
|
||||||
"logRetentionDisabled": "Desabilitado",
|
"logRetentionDisabled": "Desabilitado",
|
||||||
"logRetention3Days": "3 dias",
|
"logRetention3Days": "3 dias",
|
||||||
"logRetention7Days": "7 dias",
|
"logRetention7Days": "7 dias",
|
||||||
@@ -2344,6 +2457,13 @@
|
|||||||
"logRetentionEndOfFollowingYear": "Fim do ano seguinte",
|
"logRetentionEndOfFollowingYear": "Fim do ano seguinte",
|
||||||
"actionLogsDescription": "Visualizar histórico de ações realizadas nesta organização",
|
"actionLogsDescription": "Visualizar histórico de ações realizadas nesta organização",
|
||||||
"accessLogsDescription": "Ver solicitações de autenticação de recursos nesta organização",
|
"accessLogsDescription": "Ver solicitações de autenticação de recursos nesta organização",
|
||||||
|
"connectionLogs": "Logs da conexão",
|
||||||
|
"connectionLogsDescription": "Ver logs de conexão para túneis nesta organização",
|
||||||
|
"sidebarLogsConnection": "Logs da conexão",
|
||||||
|
"sidebarLogsStreaming": "Transmitindo",
|
||||||
|
"sourceAddress": "Endereço de origem",
|
||||||
|
"destinationAddress": "Endereço de destino",
|
||||||
|
"duration": "Duração",
|
||||||
"licenseRequiredToUse": "Uma licença <enterpriseLicenseLink>Enterprise Edition</enterpriseLicenseLink> ou <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink> é necessária para usar este recurso. <bookADemoLink>Reserve um teste de demonstração ou POC</bookADemoLink>.",
|
"licenseRequiredToUse": "Uma licença <enterpriseLicenseLink>Enterprise Edition</enterpriseLicenseLink> ou <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink> é necessária para usar este recurso. <bookADemoLink>Reserve um teste de demonstração ou POC</bookADemoLink>.",
|
||||||
"ossEnterpriseEditionRequired": "O <enterpriseEditionLink>Enterprise Edition</enterpriseEditionLink> é necessário para usar este recurso. Este recurso também está disponível no <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>. <bookADemoLink>Reserve uma demonstração ou avaliação POC</bookADemoLink>.",
|
"ossEnterpriseEditionRequired": "O <enterpriseEditionLink>Enterprise Edition</enterpriseEditionLink> é necessário para usar este recurso. Este recurso também está disponível no <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>. <bookADemoLink>Reserve uma demonstração ou avaliação POC</bookADemoLink>.",
|
||||||
"certResolver": "Resolvedor de Certificado",
|
"certResolver": "Resolvedor de Certificado",
|
||||||
@@ -2683,5 +2803,90 @@
|
|||||||
"approvalsEmptyStateStep2Description": "Editar uma função e habilitar a opção 'Exigir aprovação de dispositivos'. Usuários com essa função precisarão de aprovação de administrador para novos dispositivos.",
|
"approvalsEmptyStateStep2Description": "Editar uma função e habilitar a opção 'Exigir aprovação de dispositivos'. Usuários com essa função precisarão de aprovação de administrador para novos dispositivos.",
|
||||||
"approvalsEmptyStatePreviewDescription": "Pré-visualização: Quando ativado, solicitações de dispositivo pendentes aparecerão aqui para revisão",
|
"approvalsEmptyStatePreviewDescription": "Pré-visualização: Quando ativado, solicitações de dispositivo pendentes aparecerão aqui para revisão",
|
||||||
"approvalsEmptyStateButtonText": "Gerir Funções",
|
"approvalsEmptyStateButtonText": "Gerir Funções",
|
||||||
"domainErrorTitle": "Estamos tendo problemas ao verificar seu domínio"
|
"domainErrorTitle": "Estamos tendo problemas ao verificar seu domínio",
|
||||||
|
"idpAdminAutoProvisionPoliciesTabHint": "Configurar funções de mapeamento e políticas de organização na aba <policiesTabLink>Auto Provision Settings</policiesTabLink>.",
|
||||||
|
"streamingTitle": "Streaming do Evento",
|
||||||
|
"streamingDescription": "Transmita eventos de sua organização para destinos externos em tempo real.",
|
||||||
|
"streamingUnnamedDestination": "Destino sem nome",
|
||||||
|
"streamingNoUrlConfigured": "Nenhuma URL configurada",
|
||||||
|
"streamingAddDestination": "Adicionar destino",
|
||||||
|
"streamingHttpWebhookTitle": "Webhook HTTP",
|
||||||
|
"streamingHttpWebhookDescription": "Envie os eventos para qualquer endpoint HTTP com autenticação flexível e modelo.",
|
||||||
|
"streamingS3Title": "Amazon S3",
|
||||||
|
"streamingS3Description": "Transmitir eventos para um balde de armazenamento de objetos compatível com S3. Em breve.",
|
||||||
|
"streamingDatadogTitle": "Datadog",
|
||||||
|
"streamingDatadogDescription": "Encaminha eventos diretamente para a sua conta no Datadog. Em breve.",
|
||||||
|
"streamingTypePickerDescription": "Escolha um tipo de destino para começar.",
|
||||||
|
"streamingFailedToLoad": "Falha ao carregar destinos",
|
||||||
|
"streamingUnexpectedError": "Ocorreu um erro inesperado.",
|
||||||
|
"streamingFailedToUpdate": "Falha ao atualizar destino",
|
||||||
|
"streamingDeletedSuccess": "Destino apagado com sucesso",
|
||||||
|
"streamingFailedToDelete": "Falha ao excluir destino",
|
||||||
|
"streamingDeleteTitle": "Excluir destino",
|
||||||
|
"streamingDeleteButtonText": "Excluir destino",
|
||||||
|
"streamingDeleteDialogAreYouSure": "Tem certeza de que deseja excluir",
|
||||||
|
"streamingDeleteDialogThisDestination": "este destino",
|
||||||
|
"streamingDeleteDialogPermanentlyRemoved": "? Todas as configurações serão permanentemente removidas.",
|
||||||
|
"httpDestEditTitle": "Editar destino",
|
||||||
|
"httpDestAddTitle": "Adicionar Destino HTTP",
|
||||||
|
"httpDestEditDescription": "Atualizar a configuração para este destino de transmissão de eventos HTTP.",
|
||||||
|
"httpDestAddDescription": "Configure um novo ponto de extremidade HTTP para receber eventos da sua organização.",
|
||||||
|
"httpDestTabSettings": "Confirgurações",
|
||||||
|
"httpDestTabHeaders": "Cabeçalhos",
|
||||||
|
"httpDestTabBody": "Conteúdo",
|
||||||
|
"httpDestTabLogs": "Registros",
|
||||||
|
"httpDestNamePlaceholder": "Meu destino HTTP",
|
||||||
|
"httpDestUrlLabel": "URL de destino",
|
||||||
|
"httpDestUrlErrorHttpRequired": "A URL deve usar http ou https",
|
||||||
|
"httpDestUrlErrorHttpsRequired": "HTTPS é necessário em implantações em nuvem",
|
||||||
|
"httpDestUrlErrorInvalid": "Informe uma URL válida (por exemplo, https://example.com/webhook)",
|
||||||
|
"httpDestAuthTitle": "Autenticação",
|
||||||
|
"httpDestAuthDescription": "Escolha como os pedidos para seu endpoint são autenticados.",
|
||||||
|
"httpDestAuthNoneTitle": "Sem Autenticação",
|
||||||
|
"httpDestAuthNoneDescription": "Envia pedidos sem um cabeçalho de autorização.",
|
||||||
|
"httpDestAuthBearerTitle": "Token do portador",
|
||||||
|
"httpDestAuthBearerDescription": "Adiciona uma autorização: Bearer <token> header a cada requisição.",
|
||||||
|
"httpDestAuthBearerPlaceholder": "Sua chave de API ou token",
|
||||||
|
"httpDestAuthBasicTitle": "Autenticação básica",
|
||||||
|
"httpDestAuthBasicDescription": "Adiciona uma Autorização: cabeçalho <credentials> básico. Forneça credenciais como nome de usuário:senha.",
|
||||||
|
"httpDestAuthBasicPlaceholder": "Usuário:password",
|
||||||
|
"httpDestAuthCustomTitle": "Cabeçalho personalizado",
|
||||||
|
"httpDestAuthCustomDescription": "Especifique um nome e valor de cabeçalho HTTP personalizado para autenticação (por exemplo, X-API-Key).",
|
||||||
|
"httpDestAuthCustomHeaderNamePlaceholder": "Nome do cabeçalho (ex: X-API-Key)",
|
||||||
|
"httpDestAuthCustomHeaderValuePlaceholder": "Valor do cabeçalho",
|
||||||
|
"httpDestCustomHeadersTitle": "Cabeçalhos HTTP personalizados",
|
||||||
|
"httpDestCustomHeadersDescription": "Adicionar cabeçalhos personalizados a todas as solicitações de saída. Útil para tokens estáticos ou um tipo de conteúdo personalizado. Por padrão, Content-Type: application/json é enviado.",
|
||||||
|
"httpDestNoHeadersConfigured": "Nenhum cabeçalho personalizado configurado. Clique em \"Adicionar Cabeçalho\" para adicionar um.",
|
||||||
|
"httpDestHeaderNamePlaceholder": "Nome do Cabeçalho",
|
||||||
|
"httpDestHeaderValuePlaceholder": "Valor",
|
||||||
|
"httpDestAddHeader": "Adicionar Cabeçalho",
|
||||||
|
"httpDestBodyTemplateTitle": "Modelo de corpo personalizado",
|
||||||
|
"httpDestBodyTemplateDescription": "Controla a estrutura de carga JSON enviada ao seu endpoint. Se desativado, um objeto JSON padrão é enviado para cada evento.",
|
||||||
|
"httpDestEnableBodyTemplate": "Ativar modelo personalizado de corpo",
|
||||||
|
"httpDestBodyTemplateLabel": "Modelo de corpo (JSON)",
|
||||||
|
"httpDestBodyTemplateHint": "Use variáveis de template para referenciar campos de evento em seu payload.",
|
||||||
|
"httpDestPayloadFormatTitle": "Formato de carga",
|
||||||
|
"httpDestPayloadFormatDescription": "Como os eventos são serializados em cada corpo do pedido.",
|
||||||
|
"httpDestFormatJsonArrayTitle": "Matriz JSON",
|
||||||
|
"httpDestFormatJsonArrayDescription": "Um pedido por lote, o corpo é um array JSON. Compatível com a maioria dos webhooks genéricos e Datadog.",
|
||||||
|
"httpDestFormatNdjsonTitle": "NDJSON",
|
||||||
|
"httpDestFormatNdjsonDescription": "Um pedido por lote, o corpo é um JSON delimitado por nova-linha — um objeto por linha, sem array exterior. Requerido pelo Splunk HEC, Elástico / OpenSearch, e Grafana Loki.",
|
||||||
|
"httpDestFormatSingleTitle": "Um Evento por Requisição",
|
||||||
|
"httpDestFormatSingleDescription": "Envia um POST HTTP separado para cada evento. Utilize apenas para endpoints que não podem manipular lotes.",
|
||||||
|
"httpDestLogTypesTitle": "Tipos de log",
|
||||||
|
"httpDestLogTypesDescription": "Escolha quais tipos de log são encaminhados para este destino. Somente serão racionalizados os tipos de logs habilitados.",
|
||||||
|
"httpDestAccessLogsTitle": "Logs de Acesso",
|
||||||
|
"httpDestAccessLogsDescription": "Tentativas de acesso a recursos, incluindo solicitações autenticadas e negadas.",
|
||||||
|
"httpDestActionLogsTitle": "Logs de Ações",
|
||||||
|
"httpDestActionLogsDescription": "Ações administrativas realizadas por usuários dentro da organização.",
|
||||||
|
"httpDestConnectionLogsTitle": "Logs da conexão",
|
||||||
|
"httpDestConnectionLogsDescription": "Eventos de conexão de site e túnel, incluindo conexões e desconexões.",
|
||||||
|
"httpDestRequestLogsTitle": "Registro de pedidos",
|
||||||
|
"httpDestRequestLogsDescription": "Logs de solicitação HTTP para recursos proxy incluindo o método, o caminho e o código de resposta.",
|
||||||
|
"httpDestSaveChanges": "Salvar as alterações",
|
||||||
|
"httpDestCreateDestination": "Criar destino",
|
||||||
|
"httpDestUpdatedSuccess": "Destino atualizado com sucesso",
|
||||||
|
"httpDestCreatedSuccess": "Destino criado com sucesso",
|
||||||
|
"httpDestUpdateFailed": "Falha ao atualizar destino",
|
||||||
|
"httpDestCreateFailed": "Falha ao criar destino"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -148,6 +148,11 @@
|
|||||||
"createLink": "Создать ссылку",
|
"createLink": "Создать ссылку",
|
||||||
"resourcesNotFound": "Ресурсы не найдены",
|
"resourcesNotFound": "Ресурсы не найдены",
|
||||||
"resourceSearch": "Поиск ресурсов",
|
"resourceSearch": "Поиск ресурсов",
|
||||||
|
"machineSearch": "Поиск машин",
|
||||||
|
"machinesSearch": "Поиск клиентов машины...",
|
||||||
|
"machineNotFound": "Машины не найдены",
|
||||||
|
"userDeviceSearch": "Поиск устройств пользователя",
|
||||||
|
"userDevicesSearch": "Поиск устройств пользователя...",
|
||||||
"openMenu": "Открыть меню",
|
"openMenu": "Открыть меню",
|
||||||
"resource": "Ресурс",
|
"resource": "Ресурс",
|
||||||
"title": "Заголовок",
|
"title": "Заголовок",
|
||||||
@@ -323,6 +328,54 @@
|
|||||||
"apiKeysDelete": "Удаление ключа API",
|
"apiKeysDelete": "Удаление ключа API",
|
||||||
"apiKeysManage": "Управление ключами API",
|
"apiKeysManage": "Управление ключами API",
|
||||||
"apiKeysDescription": "Ключи API используются для аутентификации в интеграционном API",
|
"apiKeysDescription": "Ключи API используются для аутентификации в интеграционном API",
|
||||||
|
"provisioningKeysTitle": "Ключ подготовки",
|
||||||
|
"provisioningKeysManage": "Управление ключами подготовки",
|
||||||
|
"provisioningKeysDescription": "Ключи подготовки используются для аутентификации автоматического обеспечения сайта для вашей организации.",
|
||||||
|
"provisioningManage": "Подготовка",
|
||||||
|
"provisioningDescription": "Управляйте предоставленными ключами и проверять непроверенные сайты, ожидающие утверждения.",
|
||||||
|
"pendingSites": "Ожидающие сайты",
|
||||||
|
"siteApproveSuccess": "Сайт успешно утвержден",
|
||||||
|
"siteApproveError": "Ошибка при утверждении сайта",
|
||||||
|
"provisioningKeys": "Ключи подготовки",
|
||||||
|
"searchProvisioningKeys": "Поиск подготовительных ключей...",
|
||||||
|
"provisioningKeysAdd": "Сгенерировать ключ подготовки",
|
||||||
|
"provisioningKeysErrorDelete": "Ошибка при удалении подготовительного ключа",
|
||||||
|
"provisioningKeysErrorDeleteMessage": "Ошибка при удалении подготовительного ключа",
|
||||||
|
"provisioningKeysQuestionRemove": "Вы уверены, что хотите удалить этот ключ подготовки из организации?",
|
||||||
|
"provisioningKeysMessageRemove": "После удаления ключ больше не может быть использован для размещения сайта.",
|
||||||
|
"provisioningKeysDeleteConfirm": "Подтвердите удаление ключа подготовки",
|
||||||
|
"provisioningKeysDelete": "Удалить ключ подготовки",
|
||||||
|
"provisioningKeysCreate": "Сгенерировать ключ подготовки",
|
||||||
|
"provisioningKeysCreateDescription": "Создать новый подготовительный ключ для организации",
|
||||||
|
"provisioningKeysSeeAll": "Посмотреть все подготовительные ключи",
|
||||||
|
"provisioningKeysSave": "Сохранить ключ подготовки",
|
||||||
|
"provisioningKeysSaveDescription": "Вы сможете увидеть это только один раз. Скопируйте его в безопасное место.",
|
||||||
|
"provisioningKeysErrorCreate": "Ошибка при создании ключа подготовки",
|
||||||
|
"provisioningKeysList": "Новый подготовительный ключ",
|
||||||
|
"provisioningKeysMaxBatchSize": "Макс. размер партии",
|
||||||
|
"provisioningKeysUnlimitedBatchSize": "Неограниченный размер партии (без ограничений)",
|
||||||
|
"provisioningKeysMaxBatchUnlimited": "Неограниченный",
|
||||||
|
"provisioningKeysMaxBatchSizeInvalid": "Введите максимальный размер пакета (1–1,000,000).",
|
||||||
|
"provisioningKeysValidUntil": "Действителен до",
|
||||||
|
"provisioningKeysValidUntilHint": "Оставьте пустым для отсутствия срока действия.",
|
||||||
|
"provisioningKeysValidUntilInvalid": "Введите правильную дату и время.",
|
||||||
|
"provisioningKeysNumUsed": "Использовано раз",
|
||||||
|
"provisioningKeysLastUsed": "Последнее использованное",
|
||||||
|
"provisioningKeysNoExpiry": "Без истечения срока",
|
||||||
|
"provisioningKeysNeverUsed": "Никогда",
|
||||||
|
"provisioningKeysEdit": "Редактировать ключ подготовки",
|
||||||
|
"provisioningKeysEditDescription": "Обновить максимальный размер и срок действия этого ключа.",
|
||||||
|
"provisioningKeysApproveNewSites": "Одобрить новые сайты",
|
||||||
|
"provisioningKeysApproveNewSitesDescription": "Автоматически одобрять сайты, регистрирующиеся с этим ключом.",
|
||||||
|
"provisioningKeysUpdateError": "Ошибка при обновлении ключа подготовки",
|
||||||
|
"provisioningKeysUpdated": "Ключ подготовки обновлен",
|
||||||
|
"provisioningKeysUpdatedDescription": "Ваши изменения были сохранены.",
|
||||||
|
"provisioningKeysBannerTitle": "Ключи подготовки сайта",
|
||||||
|
"provisioningKeysBannerDescription": "Генерировать подготовительный ключ и использовать его вместе с Новым коннектором для автоматического создания сайтов при первом запуске — нет необходимости настраивать отдельные учетные данные для каждого сайта.",
|
||||||
|
"provisioningKeysBannerButtonText": "Узнать больше",
|
||||||
|
"pendingSitesBannerTitle": "Ожидающие сайты",
|
||||||
|
"pendingSitesBannerDescription": "Сайты, связанные с использованием ключа подготовки, появляются здесь для проверки. Одобрите каждый сайт, прежде чем он станет активным и получит доступ к вашим ресурсам.",
|
||||||
|
"pendingSitesBannerButtonText": "Узнать больше",
|
||||||
"apiKeysSettings": "Настройки {apiKeyName}",
|
"apiKeysSettings": "Настройки {apiKeyName}",
|
||||||
"userTitle": "Управление всеми пользователями",
|
"userTitle": "Управление всеми пользователями",
|
||||||
"userDescription": "Просмотр и управление всеми пользователями в системе",
|
"userDescription": "Просмотр и управление всеми пользователями в системе",
|
||||||
@@ -509,9 +562,12 @@
|
|||||||
"userSaved": "Пользователь сохранён",
|
"userSaved": "Пользователь сохранён",
|
||||||
"userSavedDescription": "Пользователь был обновлён.",
|
"userSavedDescription": "Пользователь был обновлён.",
|
||||||
"autoProvisioned": "Автоподбор",
|
"autoProvisioned": "Автоподбор",
|
||||||
|
"autoProvisionSettings": "Настройки автоматического обеспечения",
|
||||||
"autoProvisionedDescription": "Разрешить автоматическое управление этим пользователем",
|
"autoProvisionedDescription": "Разрешить автоматическое управление этим пользователем",
|
||||||
"accessControlsDescription": "Управляйте тем, к чему этот пользователь может получить доступ и что делать в организации",
|
"accessControlsDescription": "Управляйте тем, к чему этот пользователь может получить доступ и что делать в организации",
|
||||||
"accessControlsSubmit": "Сохранить контроль доступа",
|
"accessControlsSubmit": "Сохранить контроль доступа",
|
||||||
|
"singleRolePerUserPlanNotice": "Ваш план поддерживает только одну роль каждого пользователя.",
|
||||||
|
"singleRolePerUserEditionNotice": "Эта редакция поддерживает только одну роль для каждого пользователя.",
|
||||||
"roles": "Роли",
|
"roles": "Роли",
|
||||||
"accessUsersRoles": "Управление пользователями и ролями",
|
"accessUsersRoles": "Управление пользователями и ролями",
|
||||||
"accessUsersRolesDescription": "Пригласить пользователей и добавить их в роли для управления доступом к организации",
|
"accessUsersRolesDescription": "Пригласить пользователей и добавить их в роли для управления доступом к организации",
|
||||||
@@ -1119,6 +1175,7 @@
|
|||||||
"setupTokenDescription": "Введите токен настройки из консоли сервера.",
|
"setupTokenDescription": "Введите токен настройки из консоли сервера.",
|
||||||
"setupTokenRequired": "Токен настройки обязателен",
|
"setupTokenRequired": "Токен настройки обязателен",
|
||||||
"actionUpdateSite": "Обновить сайт",
|
"actionUpdateSite": "Обновить сайт",
|
||||||
|
"actionResetSiteBandwidth": "Сброс пропускной способности организации",
|
||||||
"actionListSiteRoles": "Список разрешенных ролей сайта",
|
"actionListSiteRoles": "Список разрешенных ролей сайта",
|
||||||
"actionCreateResource": "Создать ресурс",
|
"actionCreateResource": "Создать ресурс",
|
||||||
"actionDeleteResource": "Удалить ресурс",
|
"actionDeleteResource": "Удалить ресурс",
|
||||||
@@ -1148,7 +1205,7 @@
|
|||||||
"actionRemoveUser": "Удалить пользователя",
|
"actionRemoveUser": "Удалить пользователя",
|
||||||
"actionListUsers": "Список пользователей",
|
"actionListUsers": "Список пользователей",
|
||||||
"actionAddUserRole": "Добавить роль пользователя",
|
"actionAddUserRole": "Добавить роль пользователя",
|
||||||
"actionSetUserOrgRoles": "Set User Roles",
|
"actionSetUserOrgRoles": "Установка ролей пользователей",
|
||||||
"actionGenerateAccessToken": "Сгенерировать токен доступа",
|
"actionGenerateAccessToken": "Сгенерировать токен доступа",
|
||||||
"actionDeleteAccessToken": "Удалить токен доступа",
|
"actionDeleteAccessToken": "Удалить токен доступа",
|
||||||
"actionListAccessTokens": "Список токенов доступа",
|
"actionListAccessTokens": "Список токенов доступа",
|
||||||
@@ -1265,6 +1322,7 @@
|
|||||||
"sidebarRoles": "Роли",
|
"sidebarRoles": "Роли",
|
||||||
"sidebarShareableLinks": "Ссылки",
|
"sidebarShareableLinks": "Ссылки",
|
||||||
"sidebarApiKeys": "API ключи",
|
"sidebarApiKeys": "API ключи",
|
||||||
|
"sidebarProvisioning": "Подготовка",
|
||||||
"sidebarSettings": "Настройки",
|
"sidebarSettings": "Настройки",
|
||||||
"sidebarAllUsers": "Все пользователи",
|
"sidebarAllUsers": "Все пользователи",
|
||||||
"sidebarIdentityProviders": "Поставщики удостоверений",
|
"sidebarIdentityProviders": "Поставщики удостоверений",
|
||||||
@@ -1890,6 +1948,40 @@
|
|||||||
"exitNode": "Узел выхода",
|
"exitNode": "Узел выхода",
|
||||||
"country": "Страна",
|
"country": "Страна",
|
||||||
"rulesMatchCountry": "В настоящее время основано на исходном IP",
|
"rulesMatchCountry": "В настоящее время основано на исходном IP",
|
||||||
|
"region": "Регион",
|
||||||
|
"selectRegion": "Выберите регион",
|
||||||
|
"searchRegions": "Поиск регионов...",
|
||||||
|
"noRegionFound": "Регион не найден.",
|
||||||
|
"rulesMatchRegion": "Выберите региональную группу стран",
|
||||||
|
"rulesErrorInvalidRegion": "Некорректный регион",
|
||||||
|
"rulesErrorInvalidRegionDescription": "Пожалуйста, выберите корректный регион.",
|
||||||
|
"regionAfrica": "Африка",
|
||||||
|
"regionNorthernAfrica": "Северная Африка",
|
||||||
|
"regionEasternAfrica": "Восточная Африка",
|
||||||
|
"regionMiddleAfrica": "Центральная Африка",
|
||||||
|
"regionSouthernAfrica": "Южная Африка",
|
||||||
|
"regionWesternAfrica": "Западная Африка",
|
||||||
|
"regionAmericas": "Америка",
|
||||||
|
"regionCaribbean": "Карибы",
|
||||||
|
"regionCentralAmerica": "Центральная Америка",
|
||||||
|
"regionSouthAmerica": "Южная Америка",
|
||||||
|
"regionNorthernAmerica": "Северная Америка",
|
||||||
|
"regionAsia": "Азия",
|
||||||
|
"regionCentralAsia": "Центральная Азия",
|
||||||
|
"regionEasternAsia": "Восточная Азия",
|
||||||
|
"regionSouthEasternAsia": "Юго-Восточная Азия",
|
||||||
|
"regionSouthernAsia": "Южная Азия",
|
||||||
|
"regionWesternAsia": "Западная Азия",
|
||||||
|
"regionEurope": "Европа",
|
||||||
|
"regionEasternEurope": "Восточная Европа",
|
||||||
|
"regionNorthernEurope": "Северная Европа",
|
||||||
|
"regionSouthernEurope": "Южная Европа",
|
||||||
|
"regionWesternEurope": "Западная Европа",
|
||||||
|
"regionOceania": "Океания",
|
||||||
|
"regionAustraliaAndNewZealand": "Австралия и Новая Зеландия",
|
||||||
|
"regionMelanesia": "Меланезия",
|
||||||
|
"regionMicronesia": "Микронезия",
|
||||||
|
"regionPolynesia": "Полинезия",
|
||||||
"managedSelfHosted": {
|
"managedSelfHosted": {
|
||||||
"title": "Управляемый с самовывоза",
|
"title": "Управляемый с самовывоза",
|
||||||
"description": "Более надежный и низко обслуживаемый сервер Pangolin с дополнительными колокольнями и свистками",
|
"description": "Более надежный и низко обслуживаемый сервер Pangolin с дополнительными колокольнями и свистками",
|
||||||
@@ -1938,6 +2030,25 @@
|
|||||||
"invalidValue": "Неверное значение",
|
"invalidValue": "Неверное значение",
|
||||||
"idpTypeLabel": "Тип поставщика удостоверений",
|
"idpTypeLabel": "Тип поставщика удостоверений",
|
||||||
"roleMappingExpressionPlaceholder": "например, contains(groups, 'admin') && 'Admin' || 'Member'",
|
"roleMappingExpressionPlaceholder": "например, contains(groups, 'admin') && 'Admin' || 'Member'",
|
||||||
|
"roleMappingModeFixedRoles": "Фиксированные роли",
|
||||||
|
"roleMappingModeMappingBuilder": "Сопоставляющий конструктор",
|
||||||
|
"roleMappingModeRawExpression": "Сырое выражение",
|
||||||
|
"roleMappingFixedRolesPlaceholderSelect": "Выберите одну или несколько ролей",
|
||||||
|
"roleMappingFixedRolesPlaceholderFreeform": "Тип имен ролей (точное совпадение по организации)",
|
||||||
|
"roleMappingFixedRolesDescriptionSameForAll": "Назначить одну и ту же роль, которая установлена каждому автообеспеченному пользователю.",
|
||||||
|
"roleMappingFixedRolesDescriptionDefaultPolicy": "Для политик по умолчанию, введите имена ролей, которые существуют в каждой организации, где пользователи предоставлены. Имена должны соответствовать точно.",
|
||||||
|
"roleMappingClaimPath": "Путь к заявлению",
|
||||||
|
"roleMappingClaimPathPlaceholder": "группы",
|
||||||
|
"roleMappingClaimPathDescription": "Путь в полезной нагрузке токенов, который содержит исходные значения (например, группы).",
|
||||||
|
"roleMappingMatchValue": "Значение матча",
|
||||||
|
"roleMappingAssignRoles": "Назначить роли",
|
||||||
|
"roleMappingAddMappingRule": "Добавить правило сопоставления",
|
||||||
|
"roleMappingRawExpressionResultDescription": "Выражение должно быть оценено к строке или строковому массиву.",
|
||||||
|
"roleMappingRawExpressionResultDescriptionSingleRole": "Выражение должно быть оценено строке (название одной роли).",
|
||||||
|
"roleMappingMatchValuePlaceholder": "Значение совпадения (например: admin)",
|
||||||
|
"roleMappingAssignRolesPlaceholderFreeform": "Введите имена ролей (точное по организациям)",
|
||||||
|
"roleMappingBuilderFreeformRowHint": "Имена ролей должны соответствовать роли в каждой целевой организации.",
|
||||||
|
"roleMappingRemoveRule": "Удалить",
|
||||||
"idpGoogleConfiguration": "Конфигурация Google",
|
"idpGoogleConfiguration": "Конфигурация Google",
|
||||||
"idpGoogleConfigurationDescription": "Настройка учетных данных Google OAuth2",
|
"idpGoogleConfigurationDescription": "Настройка учетных данных Google OAuth2",
|
||||||
"idpGoogleClientIdDescription": "Google OAuth2 Client ID",
|
"idpGoogleClientIdDescription": "Google OAuth2 Client ID",
|
||||||
@@ -2334,6 +2445,8 @@
|
|||||||
"logRetentionAccessDescription": "Как долго сохранять журналы доступа",
|
"logRetentionAccessDescription": "Как долго сохранять журналы доступа",
|
||||||
"logRetentionActionLabel": "Сохранение журнала действий",
|
"logRetentionActionLabel": "Сохранение журнала действий",
|
||||||
"logRetentionActionDescription": "Как долго хранить журналы действий",
|
"logRetentionActionDescription": "Как долго хранить журналы действий",
|
||||||
|
"logRetentionConnectionLabel": "Сохранение журнала подключений",
|
||||||
|
"logRetentionConnectionDescription": "Как долго хранить журналы подключений",
|
||||||
"logRetentionDisabled": "Отключено",
|
"logRetentionDisabled": "Отключено",
|
||||||
"logRetention3Days": "3 дня",
|
"logRetention3Days": "3 дня",
|
||||||
"logRetention7Days": "7 дней",
|
"logRetention7Days": "7 дней",
|
||||||
@@ -2344,6 +2457,13 @@
|
|||||||
"logRetentionEndOfFollowingYear": "Конец следующего года",
|
"logRetentionEndOfFollowingYear": "Конец следующего года",
|
||||||
"actionLogsDescription": "Просмотр истории действий, выполненных в этой организации",
|
"actionLogsDescription": "Просмотр истории действий, выполненных в этой организации",
|
||||||
"accessLogsDescription": "Просмотр запросов авторизации доступа к ресурсам этой организации",
|
"accessLogsDescription": "Просмотр запросов авторизации доступа к ресурсам этой организации",
|
||||||
|
"connectionLogs": "Журнал подключений",
|
||||||
|
"connectionLogsDescription": "Просмотр журналов подключения туннелей в этой организации",
|
||||||
|
"sidebarLogsConnection": "Журнал подключений",
|
||||||
|
"sidebarLogsStreaming": "Вещание",
|
||||||
|
"sourceAddress": "Адрес источника",
|
||||||
|
"destinationAddress": "Адрес назначения",
|
||||||
|
"duration": "Продолжительность",
|
||||||
"licenseRequiredToUse": "Требуется лицензия на <enterpriseLicenseLink>Enterprise Edition</enterpriseLicenseLink> или <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink> для использования этой функции. <bookADemoLink>Забронируйте демонстрацию или пробный POC</bookADemoLink>.",
|
"licenseRequiredToUse": "Требуется лицензия на <enterpriseLicenseLink>Enterprise Edition</enterpriseLicenseLink> или <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink> для использования этой функции. <bookADemoLink>Забронируйте демонстрацию или пробный POC</bookADemoLink>.",
|
||||||
"ossEnterpriseEditionRequired": "<enterpriseEditionLink>Enterprise Edition</enterpriseEditionLink> требуется для использования этой функции. Эта функция также доступна в <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>. <bookADemoLink>Забронируйте демонстрацию или пробный POC</bookADemoLink>.",
|
"ossEnterpriseEditionRequired": "<enterpriseEditionLink>Enterprise Edition</enterpriseEditionLink> требуется для использования этой функции. Эта функция также доступна в <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>. <bookADemoLink>Забронируйте демонстрацию или пробный POC</bookADemoLink>.",
|
||||||
"certResolver": "Резольвер сертификата",
|
"certResolver": "Резольвер сертификата",
|
||||||
@@ -2683,5 +2803,90 @@
|
|||||||
"approvalsEmptyStateStep2Description": "Редактировать роль и включить опцию 'Требовать утверждения устройств'. Пользователям с этой ролью потребуется подтверждение администратора для новых устройств.",
|
"approvalsEmptyStateStep2Description": "Редактировать роль и включить опцию 'Требовать утверждения устройств'. Пользователям с этой ролью потребуется подтверждение администратора для новых устройств.",
|
||||||
"approvalsEmptyStatePreviewDescription": "Предпросмотр: Если включено, ожидающие запросы на устройство появятся здесь для проверки",
|
"approvalsEmptyStatePreviewDescription": "Предпросмотр: Если включено, ожидающие запросы на устройство появятся здесь для проверки",
|
||||||
"approvalsEmptyStateButtonText": "Управление ролями",
|
"approvalsEmptyStateButtonText": "Управление ролями",
|
||||||
"domainErrorTitle": "У нас возникли проблемы с проверкой вашего домена"
|
"domainErrorTitle": "У нас возникли проблемы с проверкой вашего домена",
|
||||||
|
"idpAdminAutoProvisionPoliciesTabHint": "Настройте сопоставление ролей и организационные политики на вкладке <policiesTabLink>Настройки авто-предоставления</policiesTabLink>.",
|
||||||
|
"streamingTitle": "Поток событий",
|
||||||
|
"streamingDescription": "Трансляция событий от вашей организации к внешним направлениям в режиме реального времени.",
|
||||||
|
"streamingUnnamedDestination": "Место назначения без имени",
|
||||||
|
"streamingNoUrlConfigured": "URL-адрес не настроен",
|
||||||
|
"streamingAddDestination": "Добавить место назначения",
|
||||||
|
"streamingHttpWebhookTitle": "HTTP вебхук",
|
||||||
|
"streamingHttpWebhookDescription": "Отправлять события на любую конечную точку HTTP с гибкой аутентификацией и шаблоном.",
|
||||||
|
"streamingS3Title": "Amazon S3",
|
||||||
|
"streamingS3Description": "Потоковая передача событий к пакету хранения объектов, совместимому с S3.",
|
||||||
|
"streamingDatadogTitle": "Datadog",
|
||||||
|
"streamingDatadogDescription": "Перенаправлять события непосредственно на ваш аккаунт в Datadog. Скоро будет доступно.",
|
||||||
|
"streamingTypePickerDescription": "Выберите тип назначения, чтобы начать.",
|
||||||
|
"streamingFailedToLoad": "Не удалось загрузить места назначения",
|
||||||
|
"streamingUnexpectedError": "Произошла непредвиденная ошибка.",
|
||||||
|
"streamingFailedToUpdate": "Не удалось обновить место назначения",
|
||||||
|
"streamingDeletedSuccess": "Адрес назначения успешно удален",
|
||||||
|
"streamingFailedToDelete": "Не удалось удалить место назначения",
|
||||||
|
"streamingDeleteTitle": "Удалить адрес назначения",
|
||||||
|
"streamingDeleteButtonText": "Удалить адрес назначения",
|
||||||
|
"streamingDeleteDialogAreYouSure": "Вы уверены, что хотите удалить",
|
||||||
|
"streamingDeleteDialogThisDestination": "это место назначения",
|
||||||
|
"streamingDeleteDialogPermanentlyRemoved": "? Все настройки будут удалены навсегда.",
|
||||||
|
"httpDestEditTitle": "Изменить адрес назначения",
|
||||||
|
"httpDestAddTitle": "Добавить HTTP адрес",
|
||||||
|
"httpDestEditDescription": "Обновление конфигурации для этого HTTP события потокового назначения.",
|
||||||
|
"httpDestAddDescription": "Настройте новую HTTP-конечную точку для получения событий вашей организации.",
|
||||||
|
"httpDestTabSettings": "Настройки",
|
||||||
|
"httpDestTabHeaders": "Заголовки",
|
||||||
|
"httpDestTabBody": "Тело",
|
||||||
|
"httpDestTabLogs": "Логи",
|
||||||
|
"httpDestNamePlaceholder": "Мой HTTP адрес назначения",
|
||||||
|
"httpDestUrlLabel": "URL назначения",
|
||||||
|
"httpDestUrlErrorHttpRequired": "URL должен использовать http или https",
|
||||||
|
"httpDestUrlErrorHttpsRequired": "Требуется HTTPS при развертывании облака",
|
||||||
|
"httpDestUrlErrorInvalid": "Введите действительный URL (например, https://example.com/webhook)",
|
||||||
|
"httpDestAuthTitle": "Аутентификация",
|
||||||
|
"httpDestAuthDescription": "Выберите, как запросы к вашей конечной точке аутентифицированы.",
|
||||||
|
"httpDestAuthNoneTitle": "Нет аутентификации",
|
||||||
|
"httpDestAuthNoneDescription": "Отправляет запросы без заголовка авторизации.",
|
||||||
|
"httpDestAuthBearerTitle": "Жетон носителя",
|
||||||
|
"httpDestAuthBearerDescription": "Добавляет заголовок Authorization: Bearer <token> к каждому запросу.",
|
||||||
|
"httpDestAuthBearerPlaceholder": "Ваш ключ API или токен",
|
||||||
|
"httpDestAuthBasicTitle": "Базовая авторизация",
|
||||||
|
"httpDestAuthBasicDescription": "Добавляет Authorization: Basic <credentials> header. Предоставьте учетные данные в качестве имени пользователя:password.",
|
||||||
|
"httpDestAuthBasicPlaceholder": "имя пользователя:пароль",
|
||||||
|
"httpDestAuthCustomTitle": "Пользовательский заголовок",
|
||||||
|
"httpDestAuthCustomDescription": "Укажите пользовательское имя заголовка HTTP и значение для аутентификации (например, X-API-Key).",
|
||||||
|
"httpDestAuthCustomHeaderNamePlaceholder": "Имя заголовка (например, X-API-ключ)",
|
||||||
|
"httpDestAuthCustomHeaderValuePlaceholder": "Значение заголовка",
|
||||||
|
"httpDestCustomHeadersTitle": "Пользовательские HTTP-заголовки",
|
||||||
|
"httpDestCustomHeadersDescription": "Добавляет пользовательские заголовки к каждому исходящему запросу. Полезно для статических маркеров или пользовательского типа содержимого. По умолчанию отправляется Content-Type: application/json.",
|
||||||
|
"httpDestNoHeadersConfigured": "Пользовательские заголовки не настроены. Нажмите \"Добавить заголовок\", чтобы добавить их.",
|
||||||
|
"httpDestHeaderNamePlaceholder": "Название заголовка",
|
||||||
|
"httpDestHeaderValuePlaceholder": "Значение",
|
||||||
|
"httpDestAddHeader": "Добавить заголовок",
|
||||||
|
"httpDestBodyTemplateTitle": "Пользовательский шаблон тела",
|
||||||
|
"httpDestBodyTemplateDescription": "Контролируйте структуру JSON приложения, отправленную на вашу конечную точку. Если отключено, для каждого события отправляется JSON объект по умолчанию.",
|
||||||
|
"httpDestEnableBodyTemplate": "Включить настраиваемый шаблон тела",
|
||||||
|
"httpDestBodyTemplateLabel": "Шаблон тела (JSON)",
|
||||||
|
"httpDestBodyTemplateHint": "Использовать шаблонные переменные для ссылки поля событий в вашей полезной нагрузке.",
|
||||||
|
"httpDestPayloadFormatTitle": "Формат нагрузки",
|
||||||
|
"httpDestPayloadFormatDescription": "Как события сериализуются в каждый орган запроса.",
|
||||||
|
"httpDestFormatJsonArrayTitle": "JSON массив",
|
||||||
|
"httpDestFormatJsonArrayDescription": "По одному запросу на каждую партию, тело является JSON-массивом. Совместим с большинством общих вебхуков и Датадог.",
|
||||||
|
"httpDestFormatNdjsonTitle": "NDJSON",
|
||||||
|
"httpDestFormatNdjsonDescription": "По одному запросу на каждую партию, тело - это JSON, разделённый новой строкой, по одному объекту на строку, без внешнего массива. Требуется в Splunk HEC, Elastic / OpenSearch, и Grafana Loki.",
|
||||||
|
"httpDestFormatSingleTitle": "Одно событие на запрос",
|
||||||
|
"httpDestFormatSingleDescription": "Отправляет отдельный HTTP POST для каждого отдельного события. Используйте только для конечных точек, которые не могут обрабатывать пакеты.",
|
||||||
|
"httpDestLogTypesTitle": "Типы журналов",
|
||||||
|
"httpDestLogTypesDescription": "Выберите, какие типы журналов пересылаются в этот пункт назначения. Только включенные типы журналов будут транслированы.",
|
||||||
|
"httpDestAccessLogsTitle": "Журналы доступа",
|
||||||
|
"httpDestAccessLogsDescription": "Попытки доступа к ресурсам, включая аутентифицированные и отклоненные запросы.",
|
||||||
|
"httpDestActionLogsTitle": "Журнал действий",
|
||||||
|
"httpDestActionLogsDescription": "Административные меры, осуществляемые пользователями в рамках организации.",
|
||||||
|
"httpDestConnectionLogsTitle": "Журнал подключений",
|
||||||
|
"httpDestConnectionLogsDescription": "События связи с сайтами и туннелями, включая соединения и отключения.",
|
||||||
|
"httpDestRequestLogsTitle": "Запросить журналы",
|
||||||
|
"httpDestRequestLogsDescription": "Журналы запросов HTTP для проксируемых ресурсов, включая метод, путь и код ответа.",
|
||||||
|
"httpDestSaveChanges": "Сохранить изменения",
|
||||||
|
"httpDestCreateDestination": "Создать адрес назначения",
|
||||||
|
"httpDestUpdatedSuccess": "Адрес назначения успешно обновлен",
|
||||||
|
"httpDestCreatedSuccess": "Адрес назначения успешно создан",
|
||||||
|
"httpDestUpdateFailed": "Не удалось обновить место назначения",
|
||||||
|
"httpDestCreateFailed": "Не удалось создать место назначения"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -148,6 +148,11 @@
|
|||||||
"createLink": "Bağlantı Oluştur",
|
"createLink": "Bağlantı Oluştur",
|
||||||
"resourcesNotFound": "Hiçbir kaynak bulunamadı",
|
"resourcesNotFound": "Hiçbir kaynak bulunamadı",
|
||||||
"resourceSearch": "Kaynak ara",
|
"resourceSearch": "Kaynak ara",
|
||||||
|
"machineSearch": "Makinaları ara",
|
||||||
|
"machinesSearch": "Makina müşteri...",
|
||||||
|
"machineNotFound": "Hiçbir makine bulunamadı",
|
||||||
|
"userDeviceSearch": "Kullanıcı cihazlarını ara",
|
||||||
|
"userDevicesSearch": "Kullanıcı cihazlarını ara...",
|
||||||
"openMenu": "Menüyü Aç",
|
"openMenu": "Menüyü Aç",
|
||||||
"resource": "Kaynak",
|
"resource": "Kaynak",
|
||||||
"title": "Başlık",
|
"title": "Başlık",
|
||||||
@@ -323,6 +328,54 @@
|
|||||||
"apiKeysDelete": "API Anahtarını Sil",
|
"apiKeysDelete": "API Anahtarını Sil",
|
||||||
"apiKeysManage": "API Anahtarlarını Yönet",
|
"apiKeysManage": "API Anahtarlarını Yönet",
|
||||||
"apiKeysDescription": "API anahtarları entegrasyon API'sini doğrulamak için kullanılır",
|
"apiKeysDescription": "API anahtarları entegrasyon API'sini doğrulamak için kullanılır",
|
||||||
|
"provisioningKeysTitle": "Tedarik Anahtarı",
|
||||||
|
"provisioningKeysManage": "Tedarik Anahtarlarını Yönet",
|
||||||
|
"provisioningKeysDescription": "Tedarik anahtarları, organizasyonunuz için otomatik site sağlama işlemini doğrulamak için kullanılır.",
|
||||||
|
"provisioningManage": "Tedarik",
|
||||||
|
"provisioningDescription": "Tedarik anahtarlarını yönetin ve onay bekleyen siteleri gözden geçirin.",
|
||||||
|
"pendingSites": "Bekleyen Siteler",
|
||||||
|
"siteApproveSuccess": "Site başarıyla onaylandı",
|
||||||
|
"siteApproveError": "Site onaylanırken hata oluştu",
|
||||||
|
"provisioningKeys": "Tedarik Anahtarları",
|
||||||
|
"searchProvisioningKeys": "Tedarik anahtarlarını ara...",
|
||||||
|
"provisioningKeysAdd": "Tedarik Anahtarı Üret",
|
||||||
|
"provisioningKeysErrorDelete": "Tedarik anahtarı silinirken hata oluştu",
|
||||||
|
"provisioningKeysErrorDeleteMessage": "Tedarik anahtarı silinirken hata oluştu",
|
||||||
|
"provisioningKeysQuestionRemove": "Bu tedarik anahtarını organizasyondan kaldırmak istediğinizden emin misiniz?",
|
||||||
|
"provisioningKeysMessageRemove": "Kaldırıldıktan sonra, anahtar site tedariki için artık kullanılamaz.",
|
||||||
|
"provisioningKeysDeleteConfirm": "Tedarik Anahtarını Silmeyi Onayla",
|
||||||
|
"provisioningKeysDelete": "Tedarik Anahtarını Sil",
|
||||||
|
"provisioningKeysCreate": "Tedarik Anahtarı Üret",
|
||||||
|
"provisioningKeysCreateDescription": "Organizasyon için yeni bir tedarik anahtarı oluşturun",
|
||||||
|
"provisioningKeysSeeAll": "Tüm tedarik anahtarlarını gör",
|
||||||
|
"provisioningKeysSave": "Tedarik anahtarını kaydet",
|
||||||
|
"provisioningKeysSaveDescription": "Bunu yalnızca bir kez görebileceksiniz. Güvenli bir yere kopyalayın.",
|
||||||
|
"provisioningKeysErrorCreate": "Tedarik anahtarı oluşturulurken hata oluştu",
|
||||||
|
"provisioningKeysList": "Yeni tedarik anahtarı",
|
||||||
|
"provisioningKeysMaxBatchSize": "Maksimum toplu iş boyutu",
|
||||||
|
"provisioningKeysUnlimitedBatchSize": "Sınırsız toplu iş boyutu (sınırlama yok)",
|
||||||
|
"provisioningKeysMaxBatchUnlimited": "Sınırsız",
|
||||||
|
"provisioningKeysMaxBatchSizeInvalid": "Geçerli bir maksimum toplu iş boyutu girin (1–1,000,000).",
|
||||||
|
"provisioningKeysValidUntil": "Geçerlilik tarihi",
|
||||||
|
"provisioningKeysValidUntilHint": "Son kullanım tarihi için boş bırakın.",
|
||||||
|
"provisioningKeysValidUntilInvalid": "Geçerli bir tarih ve saat girin.",
|
||||||
|
"provisioningKeysNumUsed": "Kullanım Sayısı",
|
||||||
|
"provisioningKeysLastUsed": "Son kullanım",
|
||||||
|
"provisioningKeysNoExpiry": "Son kullanma tarihi yok",
|
||||||
|
"provisioningKeysNeverUsed": "Asla",
|
||||||
|
"provisioningKeysEdit": "Tedarik Anahtarını Düzenle",
|
||||||
|
"provisioningKeysEditDescription": "Bu anahtar için maksimum toplu iş boyutunu ve son kullanma zamanını güncelleyin.",
|
||||||
|
"provisioningKeysApproveNewSites": "Yeni siteleri onayla",
|
||||||
|
"provisioningKeysApproveNewSitesDescription": "Bu anahtar ile kayıt olan siteleri otomatik olarak onayla.",
|
||||||
|
"provisioningKeysUpdateError": "Tedarik anahtarı güncellenirken hata oluştu",
|
||||||
|
"provisioningKeysUpdated": "Tedarik anahtarı güncellendi",
|
||||||
|
"provisioningKeysUpdatedDescription": "Değişiklikleriniz kaydedildi.",
|
||||||
|
"provisioningKeysBannerTitle": "Site Tedarik Anahtarları",
|
||||||
|
"provisioningKeysBannerDescription": "Tedarik anahtarı oluşturun ve ilk başlangıçta siteleri otomatik olarak oluşturmak için Newt konektörüyle kullanın — her site için ayrı kimlik bilgileri ayarlamaya gerek yoktur.",
|
||||||
|
"provisioningKeysBannerButtonText": "Daha fazla bilgi",
|
||||||
|
"pendingSitesBannerTitle": "Bekleyen Siteler",
|
||||||
|
"pendingSitesBannerDescription": "Tedarik anahtarı kullanarak bağlanan siteler burada incelenmek için görünür. Aktif hale gelmeden ve kaynaklarınıza erişim kazanmadan önce her siteyi onaylayın.",
|
||||||
|
"pendingSitesBannerButtonText": "Daha fazla bilgi",
|
||||||
"apiKeysSettings": "{apiKeyName} Ayarları",
|
"apiKeysSettings": "{apiKeyName} Ayarları",
|
||||||
"userTitle": "Tüm Kullanıcıları Yönet",
|
"userTitle": "Tüm Kullanıcıları Yönet",
|
||||||
"userDescription": "Sistemdeki tüm kullanıcıları görün ve yönetin",
|
"userDescription": "Sistemdeki tüm kullanıcıları görün ve yönetin",
|
||||||
@@ -509,9 +562,12 @@
|
|||||||
"userSaved": "Kullanıcı kaydedildi",
|
"userSaved": "Kullanıcı kaydedildi",
|
||||||
"userSavedDescription": "Kullanıcı güncellenmiştir.",
|
"userSavedDescription": "Kullanıcı güncellenmiştir.",
|
||||||
"autoProvisioned": "Otomatik Sağlandı",
|
"autoProvisioned": "Otomatik Sağlandı",
|
||||||
|
"autoProvisionSettings": "Otomatik Tedarik Ayarları",
|
||||||
"autoProvisionedDescription": "Bu kullanıcının kimlik sağlayıcısı tarafından otomatik olarak yönetilmesine izin ver",
|
"autoProvisionedDescription": "Bu kullanıcının kimlik sağlayıcısı tarafından otomatik olarak yönetilmesine izin ver",
|
||||||
"accessControlsDescription": "Bu kullanıcının organizasyonda neleri erişebileceğini ve yapabileceğini yönetin",
|
"accessControlsDescription": "Bu kullanıcının organizasyonda neleri erişebileceğini ve yapabileceğini yönetin",
|
||||||
"accessControlsSubmit": "Erişim Kontrollerini Kaydet",
|
"accessControlsSubmit": "Erişim Kontrollerini Kaydet",
|
||||||
|
"singleRolePerUserPlanNotice": "Planınız yalnızca kullanıcı başına bir rol desteler.",
|
||||||
|
"singleRolePerUserEditionNotice": "Bu sürüm yalnızca kullanıcı başına bir rol destekler.",
|
||||||
"roles": "Roller",
|
"roles": "Roller",
|
||||||
"accessUsersRoles": "Kullanıcılar ve Roller Yönetin",
|
"accessUsersRoles": "Kullanıcılar ve Roller Yönetin",
|
||||||
"accessUsersRolesDescription": "Kullanıcılara davet gönderin ve organizasyona erişimi yönetmek için rollere ekleyin",
|
"accessUsersRolesDescription": "Kullanıcılara davet gönderin ve organizasyona erişimi yönetmek için rollere ekleyin",
|
||||||
@@ -1119,6 +1175,7 @@
|
|||||||
"setupTokenDescription": "Sunucu konsolundan kurulum simgesini girin.",
|
"setupTokenDescription": "Sunucu konsolundan kurulum simgesini girin.",
|
||||||
"setupTokenRequired": "Kurulum simgesi gerekli",
|
"setupTokenRequired": "Kurulum simgesi gerekli",
|
||||||
"actionUpdateSite": "Siteyi Güncelle",
|
"actionUpdateSite": "Siteyi Güncelle",
|
||||||
|
"actionResetSiteBandwidth": "Organizasyon Bant Genişliğini Sıfırla",
|
||||||
"actionListSiteRoles": "İzin Verilen Site Rolleri Listele",
|
"actionListSiteRoles": "İzin Verilen Site Rolleri Listele",
|
||||||
"actionCreateResource": "Kaynak Oluştur",
|
"actionCreateResource": "Kaynak Oluştur",
|
||||||
"actionDeleteResource": "Kaynağı Sil",
|
"actionDeleteResource": "Kaynağı Sil",
|
||||||
@@ -1148,7 +1205,7 @@
|
|||||||
"actionRemoveUser": "Kullanıcıyı Kaldır",
|
"actionRemoveUser": "Kullanıcıyı Kaldır",
|
||||||
"actionListUsers": "Kullanıcıları Listele",
|
"actionListUsers": "Kullanıcıları Listele",
|
||||||
"actionAddUserRole": "Kullanıcı Rolü Ekle",
|
"actionAddUserRole": "Kullanıcı Rolü Ekle",
|
||||||
"actionSetUserOrgRoles": "Set User Roles",
|
"actionSetUserOrgRoles": "Kullanıcı Rolleri Belirle",
|
||||||
"actionGenerateAccessToken": "Erişim Jetonu Oluştur",
|
"actionGenerateAccessToken": "Erişim Jetonu Oluştur",
|
||||||
"actionDeleteAccessToken": "Erişim Jetonunu Sil",
|
"actionDeleteAccessToken": "Erişim Jetonunu Sil",
|
||||||
"actionListAccessTokens": "Erişim Jetonlarını Listele",
|
"actionListAccessTokens": "Erişim Jetonlarını Listele",
|
||||||
@@ -1265,6 +1322,7 @@
|
|||||||
"sidebarRoles": "Roller",
|
"sidebarRoles": "Roller",
|
||||||
"sidebarShareableLinks": "Bağlantılar",
|
"sidebarShareableLinks": "Bağlantılar",
|
||||||
"sidebarApiKeys": "API Anahtarları",
|
"sidebarApiKeys": "API Anahtarları",
|
||||||
|
"sidebarProvisioning": "Tedarik",
|
||||||
"sidebarSettings": "Ayarlar",
|
"sidebarSettings": "Ayarlar",
|
||||||
"sidebarAllUsers": "Tüm Kullanıcılar",
|
"sidebarAllUsers": "Tüm Kullanıcılar",
|
||||||
"sidebarIdentityProviders": "Kimlik Sağlayıcılar",
|
"sidebarIdentityProviders": "Kimlik Sağlayıcılar",
|
||||||
@@ -1890,6 +1948,40 @@
|
|||||||
"exitNode": "Çıkış Düğümü",
|
"exitNode": "Çıkış Düğümü",
|
||||||
"country": "Ülke",
|
"country": "Ülke",
|
||||||
"rulesMatchCountry": "Şu anda kaynak IP'ye dayanarak",
|
"rulesMatchCountry": "Şu anda kaynak IP'ye dayanarak",
|
||||||
|
"region": "Bölge",
|
||||||
|
"selectRegion": "Bölgeyi seçin",
|
||||||
|
"searchRegions": "Bölgeleri ara...",
|
||||||
|
"noRegionFound": "Bölge bulunamadı.",
|
||||||
|
"rulesMatchRegion": "Başka ülkelerin bölgesel gruplandırmasını seçin",
|
||||||
|
"rulesErrorInvalidRegion": "Geçersiz bölge",
|
||||||
|
"rulesErrorInvalidRegionDescription": "Lütfen geçerli bir bölge seçin.",
|
||||||
|
"regionAfrica": "Afrika",
|
||||||
|
"regionNorthernAfrica": "Kuzey Afrika",
|
||||||
|
"regionEasternAfrica": "Doğu Afrika",
|
||||||
|
"regionMiddleAfrica": "Orta Afrika",
|
||||||
|
"regionSouthernAfrica": "Güney Afrika",
|
||||||
|
"regionWesternAfrica": "Batı Afrika",
|
||||||
|
"regionAmericas": "Amerika",
|
||||||
|
"regionCaribbean": "Karayipler",
|
||||||
|
"regionCentralAmerica": "Orta Amerika",
|
||||||
|
"regionSouthAmerica": "Güney Amerika",
|
||||||
|
"regionNorthernAmerica": "Kuzey Amerika",
|
||||||
|
"regionAsia": "Asya",
|
||||||
|
"regionCentralAsia": "Orta Asya",
|
||||||
|
"regionEasternAsia": "Doğu Asya",
|
||||||
|
"regionSouthEasternAsia": "Güneydoğu Asya",
|
||||||
|
"regionSouthernAsia": "Güney Asya",
|
||||||
|
"regionWesternAsia": "Batı Asya",
|
||||||
|
"regionEurope": "Avrupa",
|
||||||
|
"regionEasternEurope": "Doğu Avrupa",
|
||||||
|
"regionNorthernEurope": "Kuzey Avrupa",
|
||||||
|
"regionSouthernEurope": "Güney Avrupa",
|
||||||
|
"regionWesternEurope": "Batı Avrupa",
|
||||||
|
"regionOceania": "Okyanusya",
|
||||||
|
"regionAustraliaAndNewZealand": "Avustralya ve Yeni Zelanda",
|
||||||
|
"regionMelanesia": "Melanezya",
|
||||||
|
"regionMicronesia": "Mikronezya",
|
||||||
|
"regionPolynesia": "Polinezya",
|
||||||
"managedSelfHosted": {
|
"managedSelfHosted": {
|
||||||
"title": "Yönetilen Self-Hosted",
|
"title": "Yönetilen Self-Hosted",
|
||||||
"description": "Daha güvenilir ve düşük bakım gerektiren, ekstra özelliklere sahip kendi kendine barındırabileceğiniz Pangolin sunucusu",
|
"description": "Daha güvenilir ve düşük bakım gerektiren, ekstra özelliklere sahip kendi kendine barındırabileceğiniz Pangolin sunucusu",
|
||||||
@@ -1938,6 +2030,25 @@
|
|||||||
"invalidValue": "Geçersiz değer",
|
"invalidValue": "Geçersiz değer",
|
||||||
"idpTypeLabel": "Kimlik Sağlayıcı Türü",
|
"idpTypeLabel": "Kimlik Sağlayıcı Türü",
|
||||||
"roleMappingExpressionPlaceholder": "örn., contains(gruplar, 'yönetici') && 'Yönetici' || 'Üye'",
|
"roleMappingExpressionPlaceholder": "örn., contains(gruplar, 'yönetici') && 'Yönetici' || 'Üye'",
|
||||||
|
"roleMappingModeFixedRoles": "Sabit Roller",
|
||||||
|
"roleMappingModeMappingBuilder": "Harita Oluşturucu",
|
||||||
|
"roleMappingModeRawExpression": "Ham İfade",
|
||||||
|
"roleMappingFixedRolesPlaceholderSelect": "Bir veya daha fazla rol seçin",
|
||||||
|
"roleMappingFixedRolesPlaceholderFreeform": "Rol isimlerini yazın (organizasyon başına tam eşleşme)",
|
||||||
|
"roleMappingFixedRolesDescriptionSameForAll": "Her otomatik tedarik edilmiş kullanıcıya aynı rol setini atayın.",
|
||||||
|
"roleMappingFixedRolesDescriptionDefaultPolicy": "Varsayılan politikalar için, kullanıcıların sağlandığı her organizasyonda mevcut olan rol isimlerini yazın. İsimler tam olarak eşleşmelidir.",
|
||||||
|
"roleMappingClaimPath": "Hak Talep Yolu",
|
||||||
|
"roleMappingClaimPathPlaceholder": "gruplar",
|
||||||
|
"roleMappingClaimPathDescription": "Kaynak değerleri içeren belirteç yükündeki yol (örneğin, gruplar).",
|
||||||
|
"roleMappingMatchValue": "Eşleme Değeri",
|
||||||
|
"roleMappingAssignRoles": "Rolleri Ata",
|
||||||
|
"roleMappingAddMappingRule": "Eşleme Kuralı Ekle",
|
||||||
|
"roleMappingRawExpressionResultDescription": "İfade bir string veya string dizisine değerlendirilmelidir.",
|
||||||
|
"roleMappingRawExpressionResultDescriptionSingleRole": "İfade bir string (tek rol ismi) olarak değerlendirilmelidir.",
|
||||||
|
"roleMappingMatchValuePlaceholder": "Eşleme değeri (örneğin: admin)",
|
||||||
|
"roleMappingAssignRolesPlaceholderFreeform": "Rol isimlerini yazın (organizasyon başına tam eşleşme)",
|
||||||
|
"roleMappingBuilderFreeformRowHint": "Rol isimleri her hedef organizasyondaki bir rol ile eşleşmelidir.",
|
||||||
|
"roleMappingRemoveRule": "Kaldır",
|
||||||
"idpGoogleConfiguration": "Google Yapılandırması",
|
"idpGoogleConfiguration": "Google Yapılandırması",
|
||||||
"idpGoogleConfigurationDescription": "Google OAuth2 kimlik bilgilerinizi yapılandırın",
|
"idpGoogleConfigurationDescription": "Google OAuth2 kimlik bilgilerinizi yapılandırın",
|
||||||
"idpGoogleClientIdDescription": "Google OAuth2 İstemci Kimliğiniz",
|
"idpGoogleClientIdDescription": "Google OAuth2 İstemci Kimliğiniz",
|
||||||
@@ -2334,6 +2445,8 @@
|
|||||||
"logRetentionAccessDescription": "Erişim günlüklerini ne kadar süre tutacağını belirle",
|
"logRetentionAccessDescription": "Erişim günlüklerini ne kadar süre tutacağını belirle",
|
||||||
"logRetentionActionLabel": "Eylem Günlüğü Saklama",
|
"logRetentionActionLabel": "Eylem Günlüğü Saklama",
|
||||||
"logRetentionActionDescription": "Eylem günlüklerini ne kadar süre tutacağını belirle",
|
"logRetentionActionDescription": "Eylem günlüklerini ne kadar süre tutacağını belirle",
|
||||||
|
"logRetentionConnectionLabel": "Bağlantı kayıtlarını ne kadar süre saklayacağınız",
|
||||||
|
"logRetentionConnectionDescription": "Bağlantı kayıtlarını ne kadar süre saklayacağınız",
|
||||||
"logRetentionDisabled": "Devre Dışı",
|
"logRetentionDisabled": "Devre Dışı",
|
||||||
"logRetention3Days": "3 gün",
|
"logRetention3Days": "3 gün",
|
||||||
"logRetention7Days": "7 gün",
|
"logRetention7Days": "7 gün",
|
||||||
@@ -2344,6 +2457,13 @@
|
|||||||
"logRetentionEndOfFollowingYear": "Bir sonraki yılın sonu",
|
"logRetentionEndOfFollowingYear": "Bir sonraki yılın sonu",
|
||||||
"actionLogsDescription": "Bu organizasyondaki eylemler geçmişini görüntüleyin",
|
"actionLogsDescription": "Bu organizasyondaki eylemler geçmişini görüntüleyin",
|
||||||
"accessLogsDescription": "Bu organizasyondaki kaynaklar için erişim kimlik doğrulama isteklerini görüntüleyin",
|
"accessLogsDescription": "Bu organizasyondaki kaynaklar için erişim kimlik doğrulama isteklerini görüntüleyin",
|
||||||
|
"connectionLogs": "Bağlantı Kayıtları",
|
||||||
|
"connectionLogsDescription": "Bu organizasyondaki tüneller için bağlantı geçmişine bakın",
|
||||||
|
"sidebarLogsConnection": "Bağlantı Kayıtları",
|
||||||
|
"sidebarLogsStreaming": "Akış",
|
||||||
|
"sourceAddress": "Kaynak Adresi",
|
||||||
|
"destinationAddress": "Hedef Adresi",
|
||||||
|
"duration": "Süre",
|
||||||
"licenseRequiredToUse": "Bu özelliği kullanmak için bir <enterpriseLicenseLink>Enterprise Edition</enterpriseLicenseLink> lisansı veya <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink> gereklidir. <bookADemoLink>Tanıtım veya POC denemesi ayarlayın</bookADemoLink>.",
|
"licenseRequiredToUse": "Bu özelliği kullanmak için bir <enterpriseLicenseLink>Enterprise Edition</enterpriseLicenseLink> lisansı veya <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink> gereklidir. <bookADemoLink>Tanıtım veya POC denemesi ayarlayın</bookADemoLink>.",
|
||||||
"ossEnterpriseEditionRequired": "Bu özelliği kullanmak için <enterpriseEditionLink>Enterprise Edition</enterpriseEditionLink> gereklidir. Bu özellik ayrıca <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>’da da mevcuttur. <bookADemoLink>Tanıtım veya POC denemesi ayarlayın</bookADemoLink>.",
|
"ossEnterpriseEditionRequired": "Bu özelliği kullanmak için <enterpriseEditionLink>Enterprise Edition</enterpriseEditionLink> gereklidir. Bu özellik ayrıca <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>’da da mevcuttur. <bookADemoLink>Tanıtım veya POC denemesi ayarlayın</bookADemoLink>.",
|
||||||
"certResolver": "Sertifika Çözücü",
|
"certResolver": "Sertifika Çözücü",
|
||||||
@@ -2683,5 +2803,90 @@
|
|||||||
"approvalsEmptyStateStep2Description": "Bir rolü düzenleyin ve 'Cihaz Onaylarını Gerektir' seçeneğini etkinleştirin. Bu role sahip kullanıcıların yeni cihazlar için yönetici onayına ihtiyacı olacaktır.",
|
"approvalsEmptyStateStep2Description": "Bir rolü düzenleyin ve 'Cihaz Onaylarını Gerektir' seçeneğini etkinleştirin. Bu role sahip kullanıcıların yeni cihazlar için yönetici onayına ihtiyacı olacaktır.",
|
||||||
"approvalsEmptyStatePreviewDescription": "Önizleme: Etkinleştirildiğinde, bekleyen cihaz talepleri incelenmek üzere burada görünecektir.",
|
"approvalsEmptyStatePreviewDescription": "Önizleme: Etkinleştirildiğinde, bekleyen cihaz talepleri incelenmek üzere burada görünecektir.",
|
||||||
"approvalsEmptyStateButtonText": "Rolleri Yönet",
|
"approvalsEmptyStateButtonText": "Rolleri Yönet",
|
||||||
"domainErrorTitle": "Alan adınızı doğrulamada sorun yaşıyoruz"
|
"domainErrorTitle": "Alan adınızı doğrulamada sorun yaşıyoruz",
|
||||||
|
"idpAdminAutoProvisionPoliciesTabHint": "Rol eşleme ve organizasyon politikalarını <policiesTabLink>Otomatik Tedarik Ayarları</policiesTabLink> sekmesinde yapılandırın.",
|
||||||
|
"streamingTitle": "Olay Akışı",
|
||||||
|
"streamingDescription": "Olayları organizasyonunuzdan dış hedeflere gerçek zamanlı olarak iletin.",
|
||||||
|
"streamingUnnamedDestination": "Adsız hedef",
|
||||||
|
"streamingNoUrlConfigured": "URL yapılandırılmadı",
|
||||||
|
"streamingAddDestination": "Hedef Ekle",
|
||||||
|
"streamingHttpWebhookTitle": "HTTP Webhook",
|
||||||
|
"streamingHttpWebhookDescription": "Esnek kimlik doğrulama ve şablon oluşturmayla her HTTP uç noktasına olaylar gönderin.",
|
||||||
|
"streamingS3Title": "Amazon S3",
|
||||||
|
"streamingS3Description": "Olayları S3 uyumlu bir nesne depolama kovasına iletin. Yakında gelicek.",
|
||||||
|
"streamingDatadogTitle": "Datadog",
|
||||||
|
"streamingDatadogDescription": "Olayları doğrudan Datadog hesabınıza iletin. Yakında gelicek.",
|
||||||
|
"streamingTypePickerDescription": "Başlamak için bir hedef türü seçin.",
|
||||||
|
"streamingFailedToLoad": "Hedefler yüklenemedi",
|
||||||
|
"streamingUnexpectedError": "Beklenmeyen bir hata oluştu.",
|
||||||
|
"streamingFailedToUpdate": "Hedef güncellenemedi",
|
||||||
|
"streamingDeletedSuccess": "Hedef başarıyla silindi",
|
||||||
|
"streamingFailedToDelete": "Hedef silinemedi",
|
||||||
|
"streamingDeleteTitle": "Hedefi Sil",
|
||||||
|
"streamingDeleteButtonText": "Hedefi Sil",
|
||||||
|
"streamingDeleteDialogAreYouSure": "Silmek istediğinizden emin misiniz",
|
||||||
|
"streamingDeleteDialogThisDestination": "bu hedefi",
|
||||||
|
"streamingDeleteDialogPermanentlyRemoved": "? Tüm yapılandırma kalıcı olarak kaldırılacak.",
|
||||||
|
"httpDestEditTitle": "Hedefi Düzenle",
|
||||||
|
"httpDestAddTitle": "HTTP Hedefi Ekle",
|
||||||
|
"httpDestEditDescription": "Bu HTTP olay akışı hedefine yapılandırmayı güncelleyin.",
|
||||||
|
"httpDestAddDescription": "Organizasyonunuzun olaylarını almak için yeni bir HTTP uç noktası yapılandırın.",
|
||||||
|
"httpDestTabSettings": "Ayarlar",
|
||||||
|
"httpDestTabHeaders": "Başlıklar",
|
||||||
|
"httpDestTabBody": "Gövde",
|
||||||
|
"httpDestTabLogs": "Kayıtlar",
|
||||||
|
"httpDestNamePlaceholder": "Benim HTTP hedefim",
|
||||||
|
"httpDestUrlLabel": "Hedef URL",
|
||||||
|
"httpDestUrlErrorHttpRequired": "URL http veya https kullanmalıdır",
|
||||||
|
"httpDestUrlErrorHttpsRequired": "Bulut dağıtımlarında HTTPS gereklidir",
|
||||||
|
"httpDestUrlErrorInvalid": "Geçerli bir URL girin (örn. https://example.com/webhook)",
|
||||||
|
"httpDestAuthTitle": "Kimlik Doğrulama",
|
||||||
|
"httpDestAuthDescription": "Uç noktanıza yapılan isteklerin nasıl kimlik doğrulandığını seçin.",
|
||||||
|
"httpDestAuthNoneTitle": "Kimlik Doğrulama Yok",
|
||||||
|
"httpDestAuthNoneDescription": "Yetkilendirme başlığı olmadan istekler gönderir.",
|
||||||
|
"httpDestAuthBearerTitle": "Taşıyıcı Jetonu",
|
||||||
|
"httpDestAuthBearerDescription": "Her isteğe bir Yetkilendirme: Taşıyıcı <token> başlığı ekler.",
|
||||||
|
"httpDestAuthBearerPlaceholder": "API anahtarınız veya jetonunuz",
|
||||||
|
"httpDestAuthBasicTitle": "Temel Kimlik Doğrulama",
|
||||||
|
"httpDestAuthBasicDescription": "Authorization: Temel <belirtecikler> başlığı ekler. Yetkilendirmeleri kullanıcı adı:şifre olarak sağlayın.",
|
||||||
|
"httpDestAuthBasicPlaceholder": "kullanıcı adı:şifre",
|
||||||
|
"httpDestAuthCustomTitle": "Özel Başlık",
|
||||||
|
"httpDestAuthCustomDescription": "Kimlik doğrulama için özel bir HTTP başlık adı ve değer belirtin (örn. X-API-Key).",
|
||||||
|
"httpDestAuthCustomHeaderNamePlaceholder": "Başlık adı (örn. X-API-Key)",
|
||||||
|
"httpDestAuthCustomHeaderValuePlaceholder": "Başlık değeri",
|
||||||
|
"httpDestCustomHeadersTitle": "Özel HTTP Başlıkları",
|
||||||
|
"httpDestCustomHeadersDescription": "Her giden isteğe özel başlıklar ekleyin. Statik jetonlar veya özel bir İçerik Türü için kullanışlıdır. Varsayılan olarak İçerik Türü: application/json gönderilir.",
|
||||||
|
"httpDestNoHeadersConfigured": "Özel başlık yapılandırılmamış. Bir tane eklemek için \"Başlık Ekle\"ye tıklayın.",
|
||||||
|
"httpDestHeaderNamePlaceholder": "Başlık adı",
|
||||||
|
"httpDestHeaderValuePlaceholder": "Değer",
|
||||||
|
"httpDestAddHeader": "Başlık Ekle",
|
||||||
|
"httpDestBodyTemplateTitle": "Özel Gövde Şablonu",
|
||||||
|
"httpDestBodyTemplateDescription": "Uç noktanıza gönderilen JSON yük yapısını kontrol edin. Devre dışı bırakılırsa, her olay için varsayılan bir JSON nesnesi gönderilir.",
|
||||||
|
"httpDestEnableBodyTemplate": "Özel gövde şablonunu etkinleştir",
|
||||||
|
"httpDestBodyTemplateLabel": "Gövde Şablonu (JSON)",
|
||||||
|
"httpDestBodyTemplateHint": "Yükünüzdeki olay alanlarına atıfta bulunmak için şablon değişkenlerini kullanın.",
|
||||||
|
"httpDestPayloadFormatTitle": "Yük Formatı",
|
||||||
|
"httpDestPayloadFormatDescription": "Her bir istek gövdesine olayların nasıl serileştirildiği.",
|
||||||
|
"httpDestFormatJsonArrayTitle": "JSON Dizisi",
|
||||||
|
"httpDestFormatJsonArrayDescription": "Her bir toplu işte bir istek, gövde bir JSON dizisidir. Çoğu genel webhook ve Datadog ile uyumludur.",
|
||||||
|
"httpDestFormatNdjsonTitle": "NDJSON",
|
||||||
|
"httpDestFormatNdjsonDescription": "Her bir toplu işte bir istek, gövde satırlarla ayrılmış JSON'dur - her satıra bir nesne, dış dizi yoktur. Splunk HEC, Elastic / OpenSearch ve Grafana Loki tarafından gereklidir.",
|
||||||
|
"httpDestFormatSingleTitle": "Her İstek Başına Bir Olay",
|
||||||
|
"httpDestFormatSingleDescription": "Her olay için ayrı bir HTTP POST gönderir. Toplu işlere yetkemeyen uç noktalar için kullanın.",
|
||||||
|
"httpDestLogTypesTitle": "Kayıt Türleri",
|
||||||
|
"httpDestLogTypesDescription": "Bu hedefe hangi kayıt türlerinin iletileceğini seçin. Yalnızca etkin kayıt türleri yayınlanacaktır.",
|
||||||
|
"httpDestAccessLogsTitle": "Erişim Kayıtları",
|
||||||
|
"httpDestAccessLogsDescription": "Kimlik doğrulanmış ve reddedilen talepler dahil kaynak erişim denemeleri.",
|
||||||
|
"httpDestActionLogsTitle": "Eylem Kayıtları",
|
||||||
|
"httpDestActionLogsDescription": "Kullanıcılar tarafından organizasyon içerisinde yapılan yönetici eylemleri.",
|
||||||
|
"httpDestConnectionLogsTitle": "Bağlantı Kayıtları",
|
||||||
|
"httpDestConnectionLogsDescription": "Site ve tünel bağlantı olayları, bağlantılar ve bağlantı kesilmeleri dahil.",
|
||||||
|
"httpDestRequestLogsTitle": "İstek Kayıtları",
|
||||||
|
"httpDestRequestLogsDescription": "Yönlendirilmiş kaynaklar için HTTP istek kayıtları, yöntem, yol ve yanıt kodu dahil.",
|
||||||
|
"httpDestSaveChanges": "Değişiklikleri Kaydet",
|
||||||
|
"httpDestCreateDestination": "Hedef Oluştur",
|
||||||
|
"httpDestUpdatedSuccess": "Hedef başarıyla güncellendi",
|
||||||
|
"httpDestCreatedSuccess": "Hedef başarıyla oluşturuldu",
|
||||||
|
"httpDestUpdateFailed": "Hedef güncellenemedi",
|
||||||
|
"httpDestCreateFailed": "Hedef oluşturulamadı"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -148,6 +148,11 @@
|
|||||||
"createLink": "创建链接",
|
"createLink": "创建链接",
|
||||||
"resourcesNotFound": "找不到资源",
|
"resourcesNotFound": "找不到资源",
|
||||||
"resourceSearch": "搜索资源",
|
"resourceSearch": "搜索资源",
|
||||||
|
"machineSearch": "搜索机",
|
||||||
|
"machinesSearch": "搜索机器客户端...",
|
||||||
|
"machineNotFound": "未找到任何机",
|
||||||
|
"userDeviceSearch": "搜索用户设备",
|
||||||
|
"userDevicesSearch": "搜索用户设备...",
|
||||||
"openMenu": "打开菜单",
|
"openMenu": "打开菜单",
|
||||||
"resource": "资源",
|
"resource": "资源",
|
||||||
"title": "标题",
|
"title": "标题",
|
||||||
@@ -323,6 +328,54 @@
|
|||||||
"apiKeysDelete": "删除 API 密钥",
|
"apiKeysDelete": "删除 API 密钥",
|
||||||
"apiKeysManage": "管理 API 密钥",
|
"apiKeysManage": "管理 API 密钥",
|
||||||
"apiKeysDescription": "API 密钥用于认证集成 API",
|
"apiKeysDescription": "API 密钥用于认证集成 API",
|
||||||
|
"provisioningKeysTitle": "置备密钥",
|
||||||
|
"provisioningKeysManage": "管理置备键",
|
||||||
|
"provisioningKeysDescription": "置备密钥用于验证您组织的自动站点配置。",
|
||||||
|
"provisioningManage": "置备中",
|
||||||
|
"provisioningDescription": "管理预配键和审查等待批准的站点。",
|
||||||
|
"pendingSites": "待定站点",
|
||||||
|
"siteApproveSuccess": "站点批准成功",
|
||||||
|
"siteApproveError": "批准站点出错",
|
||||||
|
"provisioningKeys": "置备键",
|
||||||
|
"searchProvisioningKeys": "搜索配备密钥...",
|
||||||
|
"provisioningKeysAdd": "生成置备键",
|
||||||
|
"provisioningKeysErrorDelete": "删除预配键时出错",
|
||||||
|
"provisioningKeysErrorDeleteMessage": "删除预配键时出错",
|
||||||
|
"provisioningKeysQuestionRemove": "您确定要从组织中删除此预配键吗?",
|
||||||
|
"provisioningKeysMessageRemove": "一旦移除,密钥不能再用于站点预配。",
|
||||||
|
"provisioningKeysDeleteConfirm": "确认删除置备键",
|
||||||
|
"provisioningKeysDelete": "删除置备键",
|
||||||
|
"provisioningKeysCreate": "生成置备键",
|
||||||
|
"provisioningKeysCreateDescription": "为组织生成一个新的预置密钥",
|
||||||
|
"provisioningKeysSeeAll": "查看所有预配键",
|
||||||
|
"provisioningKeysSave": "保存预配键",
|
||||||
|
"provisioningKeysSaveDescription": "您只能看到一次。复制它到一个安全的地方。",
|
||||||
|
"provisioningKeysErrorCreate": "创建预配键时出错",
|
||||||
|
"provisioningKeysList": "新建预配键",
|
||||||
|
"provisioningKeysMaxBatchSize": "最大批量大小",
|
||||||
|
"provisioningKeysUnlimitedBatchSize": "无限批量大小(无限制)",
|
||||||
|
"provisioningKeysMaxBatchUnlimited": "无限制",
|
||||||
|
"provisioningKeysMaxBatchSizeInvalid": "输入一个有效的最大批处理大小(1-1,000,000)。",
|
||||||
|
"provisioningKeysValidUntil": "有效期至",
|
||||||
|
"provisioningKeysValidUntilHint": "留空为无过期。",
|
||||||
|
"provisioningKeysValidUntilInvalid": "输入一个有效的日期和时间。",
|
||||||
|
"provisioningKeysNumUsed": "使用的时间",
|
||||||
|
"provisioningKeysLastUsed": "上次使用",
|
||||||
|
"provisioningKeysNoExpiry": "没有过期",
|
||||||
|
"provisioningKeysNeverUsed": "永不过期",
|
||||||
|
"provisioningKeysEdit": "编辑置备键",
|
||||||
|
"provisioningKeysEditDescription": "更新此密钥的最大批量大小和过期时间。",
|
||||||
|
"provisioningKeysApproveNewSites": "批准新站点",
|
||||||
|
"provisioningKeysApproveNewSitesDescription": "自动批准使用此密钥注册的站点。",
|
||||||
|
"provisioningKeysUpdateError": "更新预配键时出错",
|
||||||
|
"provisioningKeysUpdated": "置备密钥已更新",
|
||||||
|
"provisioningKeysUpdatedDescription": "您的更改已保存。",
|
||||||
|
"provisioningKeysBannerTitle": "站点置备密钥",
|
||||||
|
"provisioningKeysBannerDescription": "生成一个预配键并使用它来在首次启动时自动创建站点——无需为每个站点设置单独的凭证。",
|
||||||
|
"provisioningKeysBannerButtonText": "了解更多",
|
||||||
|
"pendingSitesBannerTitle": "待定站点",
|
||||||
|
"pendingSitesBannerDescription": "使用预配键连接的站点会出现在这里供审核。在站点开始运行之前批准并获取对您资源的访问权限。",
|
||||||
|
"pendingSitesBannerButtonText": "了解更多",
|
||||||
"apiKeysSettings": "{apiKeyName} 设置",
|
"apiKeysSettings": "{apiKeyName} 设置",
|
||||||
"userTitle": "管理所有用户",
|
"userTitle": "管理所有用户",
|
||||||
"userDescription": "查看和管理系统中的所有用户",
|
"userDescription": "查看和管理系统中的所有用户",
|
||||||
@@ -509,9 +562,12 @@
|
|||||||
"userSaved": "用户已保存",
|
"userSaved": "用户已保存",
|
||||||
"userSavedDescription": "用户已更新。",
|
"userSavedDescription": "用户已更新。",
|
||||||
"autoProvisioned": "自动设置",
|
"autoProvisioned": "自动设置",
|
||||||
|
"autoProvisionSettings": "自动提供设置",
|
||||||
"autoProvisionedDescription": "允许此用户由身份提供商自动管理",
|
"autoProvisionedDescription": "允许此用户由身份提供商自动管理",
|
||||||
"accessControlsDescription": "管理此用户在组织中可以访问和做什么",
|
"accessControlsDescription": "管理此用户在组织中可以访问和做什么",
|
||||||
"accessControlsSubmit": "保存访问控制",
|
"accessControlsSubmit": "保存访问控制",
|
||||||
|
"singleRolePerUserPlanNotice": "您的计划仅支持每个用户一个角色。",
|
||||||
|
"singleRolePerUserEditionNotice": "此版本仅支持每个用户一个角色。",
|
||||||
"roles": "角色",
|
"roles": "角色",
|
||||||
"accessUsersRoles": "管理用户和角色",
|
"accessUsersRoles": "管理用户和角色",
|
||||||
"accessUsersRolesDescription": "邀请用户加入角色来管理访问组织",
|
"accessUsersRolesDescription": "邀请用户加入角色来管理访问组织",
|
||||||
@@ -1119,6 +1175,7 @@
|
|||||||
"setupTokenDescription": "从服务器控制台输入设置令牌。",
|
"setupTokenDescription": "从服务器控制台输入设置令牌。",
|
||||||
"setupTokenRequired": "需要设置令牌",
|
"setupTokenRequired": "需要设置令牌",
|
||||||
"actionUpdateSite": "更新站点",
|
"actionUpdateSite": "更新站点",
|
||||||
|
"actionResetSiteBandwidth": "重置组织带宽",
|
||||||
"actionListSiteRoles": "允许站点角色列表",
|
"actionListSiteRoles": "允许站点角色列表",
|
||||||
"actionCreateResource": "创建资源",
|
"actionCreateResource": "创建资源",
|
||||||
"actionDeleteResource": "删除资源",
|
"actionDeleteResource": "删除资源",
|
||||||
@@ -1148,7 +1205,7 @@
|
|||||||
"actionRemoveUser": "删除用户",
|
"actionRemoveUser": "删除用户",
|
||||||
"actionListUsers": "列出用户",
|
"actionListUsers": "列出用户",
|
||||||
"actionAddUserRole": "添加用户角色",
|
"actionAddUserRole": "添加用户角色",
|
||||||
"actionSetUserOrgRoles": "Set User Roles",
|
"actionSetUserOrgRoles": "设置用户角色",
|
||||||
"actionGenerateAccessToken": "生成访问令牌",
|
"actionGenerateAccessToken": "生成访问令牌",
|
||||||
"actionDeleteAccessToken": "删除访问令牌",
|
"actionDeleteAccessToken": "删除访问令牌",
|
||||||
"actionListAccessTokens": "访问令牌",
|
"actionListAccessTokens": "访问令牌",
|
||||||
@@ -1265,6 +1322,7 @@
|
|||||||
"sidebarRoles": "角色",
|
"sidebarRoles": "角色",
|
||||||
"sidebarShareableLinks": "链接",
|
"sidebarShareableLinks": "链接",
|
||||||
"sidebarApiKeys": "API密钥",
|
"sidebarApiKeys": "API密钥",
|
||||||
|
"sidebarProvisioning": "置备中",
|
||||||
"sidebarSettings": "设置",
|
"sidebarSettings": "设置",
|
||||||
"sidebarAllUsers": "所有用户",
|
"sidebarAllUsers": "所有用户",
|
||||||
"sidebarIdentityProviders": "身份提供商",
|
"sidebarIdentityProviders": "身份提供商",
|
||||||
@@ -1890,6 +1948,40 @@
|
|||||||
"exitNode": "出口节点",
|
"exitNode": "出口节点",
|
||||||
"country": "国家",
|
"country": "国家",
|
||||||
"rulesMatchCountry": "当前基于源 IP",
|
"rulesMatchCountry": "当前基于源 IP",
|
||||||
|
"region": "地区",
|
||||||
|
"selectRegion": "选择区域",
|
||||||
|
"searchRegions": "搜索区域...",
|
||||||
|
"noRegionFound": "未找到区域。",
|
||||||
|
"rulesMatchRegion": "选择一个区域国家组",
|
||||||
|
"rulesErrorInvalidRegion": "无效区域",
|
||||||
|
"rulesErrorInvalidRegionDescription": "请选择一个有效的区域。",
|
||||||
|
"regionAfrica": "非洲",
|
||||||
|
"regionNorthernAfrica": "B. 北非地区",
|
||||||
|
"regionEasternAfrica": "东部非洲",
|
||||||
|
"regionMiddleAfrica": "中东",
|
||||||
|
"regionSouthernAfrica": "D. 南 非",
|
||||||
|
"regionWesternAfrica": "D. 西部非洲",
|
||||||
|
"regionAmericas": "Americas",
|
||||||
|
"regionCaribbean": "加勒比",
|
||||||
|
"regionCentralAmerica": "中美洲:",
|
||||||
|
"regionSouthAmerica": "南 非",
|
||||||
|
"regionNorthernAmerica": "北美洲:",
|
||||||
|
"regionAsia": "亚洲",
|
||||||
|
"regionCentralAsia": "B. 亚 洲",
|
||||||
|
"regionEasternAsia": "东亚",
|
||||||
|
"regionSouthEasternAsia": "D. 东南亚区域",
|
||||||
|
"regionSouthernAsia": "D. 亚 洲",
|
||||||
|
"regionWesternAsia": "西亚",
|
||||||
|
"regionEurope": "欧洲",
|
||||||
|
"regionEasternEurope": "D. 欧 洲",
|
||||||
|
"regionNorthernEurope": "北欧洲",
|
||||||
|
"regionSouthernEurope": "南欧洲",
|
||||||
|
"regionWesternEurope": "西欧洲",
|
||||||
|
"regionOceania": "Oceania",
|
||||||
|
"regionAustraliaAndNewZealand": "澳大利亚和新西兰",
|
||||||
|
"regionMelanesia": "Melanesia",
|
||||||
|
"regionMicronesia": "Micronesia",
|
||||||
|
"regionPolynesia": "Polynesia",
|
||||||
"managedSelfHosted": {
|
"managedSelfHosted": {
|
||||||
"title": "托管自托管",
|
"title": "托管自托管",
|
||||||
"description": "更可靠和低维护自我托管的 Pangolin 服务器,带有额外的铃声和告密器",
|
"description": "更可靠和低维护自我托管的 Pangolin 服务器,带有额外的铃声和告密器",
|
||||||
@@ -1938,6 +2030,25 @@
|
|||||||
"invalidValue": "无效的值",
|
"invalidValue": "无效的值",
|
||||||
"idpTypeLabel": "身份提供者类型",
|
"idpTypeLabel": "身份提供者类型",
|
||||||
"roleMappingExpressionPlaceholder": "例如: contains(group, 'admin' &'Admin' || 'Member'",
|
"roleMappingExpressionPlaceholder": "例如: contains(group, 'admin' &'Admin' || 'Member'",
|
||||||
|
"roleMappingModeFixedRoles": "固定角色",
|
||||||
|
"roleMappingModeMappingBuilder": "映射构建器",
|
||||||
|
"roleMappingModeRawExpression": "原始表达式",
|
||||||
|
"roleMappingFixedRolesPlaceholderSelect": "选择一个或多个角色",
|
||||||
|
"roleMappingFixedRolesPlaceholderFreeform": "输入角色名称 (每个组织确切匹配)",
|
||||||
|
"roleMappingFixedRolesDescriptionSameForAll": "将相同的角色分配给每个自动配备的用户。",
|
||||||
|
"roleMappingFixedRolesDescriptionDefaultPolicy": "对于缺省策略,每个提供用户的组织中存在的角色名称类型。名称必须完全匹配。",
|
||||||
|
"roleMappingClaimPath": "认领路径",
|
||||||
|
"roleMappingClaimPathPlaceholder": "组",
|
||||||
|
"roleMappingClaimPathDescription": "包含源值的 token 有效负载路径 (例如组)。",
|
||||||
|
"roleMappingMatchValue": "匹配值",
|
||||||
|
"roleMappingAssignRoles": "分配角色",
|
||||||
|
"roleMappingAddMappingRule": "添加映射规则",
|
||||||
|
"roleMappingRawExpressionResultDescription": "表达式必须值为字符串或字符串。",
|
||||||
|
"roleMappingRawExpressionResultDescriptionSingleRole": "表达式必须计算到字符串(单个角色名称)。",
|
||||||
|
"roleMappingMatchValuePlaceholder": "匹配值(例如: 管理员)",
|
||||||
|
"roleMappingAssignRolesPlaceholderFreeform": "输入角色名称 (每个组织确切)",
|
||||||
|
"roleMappingBuilderFreeformRowHint": "角色名称必须匹配每个目标组织的角色。",
|
||||||
|
"roleMappingRemoveRule": "删除",
|
||||||
"idpGoogleConfiguration": "Google 配置",
|
"idpGoogleConfiguration": "Google 配置",
|
||||||
"idpGoogleConfigurationDescription": "配置 Google OAuth2 凭据",
|
"idpGoogleConfigurationDescription": "配置 Google OAuth2 凭据",
|
||||||
"idpGoogleClientIdDescription": "Google OAuth2 Client ID",
|
"idpGoogleClientIdDescription": "Google OAuth2 Client ID",
|
||||||
@@ -2334,6 +2445,8 @@
|
|||||||
"logRetentionAccessDescription": "保留访问日志的时间",
|
"logRetentionAccessDescription": "保留访问日志的时间",
|
||||||
"logRetentionActionLabel": "动作日志保留",
|
"logRetentionActionLabel": "动作日志保留",
|
||||||
"logRetentionActionDescription": "保留操作日志的时间",
|
"logRetentionActionDescription": "保留操作日志的时间",
|
||||||
|
"logRetentionConnectionLabel": "连接日志保留",
|
||||||
|
"logRetentionConnectionDescription": "保留连接日志的时间",
|
||||||
"logRetentionDisabled": "已禁用",
|
"logRetentionDisabled": "已禁用",
|
||||||
"logRetention3Days": "3 天",
|
"logRetention3Days": "3 天",
|
||||||
"logRetention7Days": "7 天",
|
"logRetention7Days": "7 天",
|
||||||
@@ -2344,6 +2457,13 @@
|
|||||||
"logRetentionEndOfFollowingYear": "下一年结束",
|
"logRetentionEndOfFollowingYear": "下一年结束",
|
||||||
"actionLogsDescription": "查看此机构执行的操作历史",
|
"actionLogsDescription": "查看此机构执行的操作历史",
|
||||||
"accessLogsDescription": "查看此机构资源的访问认证请求",
|
"accessLogsDescription": "查看此机构资源的访问认证请求",
|
||||||
|
"connectionLogs": "连接日志",
|
||||||
|
"connectionLogsDescription": "查看此机构隧道的连接日志",
|
||||||
|
"sidebarLogsConnection": "连接日志",
|
||||||
|
"sidebarLogsStreaming": "流流",
|
||||||
|
"sourceAddress": "源地址",
|
||||||
|
"destinationAddress": "目的地址",
|
||||||
|
"duration": "期限",
|
||||||
"licenseRequiredToUse": "使用此功能需要<enterpriseLicenseLink>企业版</enterpriseLicenseLink>许可证或<pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>。<bookADemoLink>预约演示或POC试用</bookADemoLink>。",
|
"licenseRequiredToUse": "使用此功能需要<enterpriseLicenseLink>企业版</enterpriseLicenseLink>许可证或<pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>。<bookADemoLink>预约演示或POC试用</bookADemoLink>。",
|
||||||
"ossEnterpriseEditionRequired": "需要 <enterpriseEditionLink>Enterprise Edition</enterpriseEditionLink> 才能使用此功能。 此功能也可在 <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>上获取。 <bookADemoLink>预订演示或POC 试用</bookADemoLink>。",
|
"ossEnterpriseEditionRequired": "需要 <enterpriseEditionLink>Enterprise Edition</enterpriseEditionLink> 才能使用此功能。 此功能也可在 <pangolinCloudLink>Pangolin Cloud</pangolinCloudLink>上获取。 <bookADemoLink>预订演示或POC 试用</bookADemoLink>。",
|
||||||
"certResolver": "证书解决器",
|
"certResolver": "证书解决器",
|
||||||
@@ -2683,5 +2803,90 @@
|
|||||||
"approvalsEmptyStateStep2Description": "编辑角色并启用“需要设备审批”选项。具有此角色的用户需要管理员批准新设备。",
|
"approvalsEmptyStateStep2Description": "编辑角色并启用“需要设备审批”选项。具有此角色的用户需要管理员批准新设备。",
|
||||||
"approvalsEmptyStatePreviewDescription": "预览:如果启用,待处理设备请求将出现在这里供审核",
|
"approvalsEmptyStatePreviewDescription": "预览:如果启用,待处理设备请求将出现在这里供审核",
|
||||||
"approvalsEmptyStateButtonText": "管理角色",
|
"approvalsEmptyStateButtonText": "管理角色",
|
||||||
"domainErrorTitle": "我们在验证您的域名时遇到了问题"
|
"domainErrorTitle": "我们在验证您的域名时遇到了问题",
|
||||||
|
"idpAdminAutoProvisionPoliciesTabHint": "在 <policiesTabLink>自动供应设置</policiesTabLink> 选项卡上配置角色映射和组织策略。",
|
||||||
|
"streamingTitle": "事件流",
|
||||||
|
"streamingDescription": "实时将事件从您的组织流到外部目的地。",
|
||||||
|
"streamingUnnamedDestination": "未命名目标",
|
||||||
|
"streamingNoUrlConfigured": "未配置URL",
|
||||||
|
"streamingAddDestination": "添加目标",
|
||||||
|
"streamingHttpWebhookTitle": "HTTP Webhook",
|
||||||
|
"streamingHttpWebhookDescription": "将事件发送到任意HTTP端点并灵活验证和模板。",
|
||||||
|
"streamingS3Title": "Amazon S3",
|
||||||
|
"streamingS3Description": "将事件串流到 S3 兼容的对象存储桶。即将推出。",
|
||||||
|
"streamingDatadogTitle": "Datadog",
|
||||||
|
"streamingDatadogDescription": "直接转发事件到您的Datadog 帐户。即将推出。",
|
||||||
|
"streamingTypePickerDescription": "选择要开始的目标类型。",
|
||||||
|
"streamingFailedToLoad": "加载目的地失败",
|
||||||
|
"streamingUnexpectedError": "发生意外错误.",
|
||||||
|
"streamingFailedToUpdate": "更新目标失败",
|
||||||
|
"streamingDeletedSuccess": "目标删除成功",
|
||||||
|
"streamingFailedToDelete": "删除目标失败",
|
||||||
|
"streamingDeleteTitle": "删除目标",
|
||||||
|
"streamingDeleteButtonText": "删除目标",
|
||||||
|
"streamingDeleteDialogAreYouSure": "您确定要删除吗?",
|
||||||
|
"streamingDeleteDialogThisDestination": "这个目标",
|
||||||
|
"streamingDeleteDialogPermanentlyRemoved": "? 所有配置将被永久删除。",
|
||||||
|
"httpDestEditTitle": "编辑目标",
|
||||||
|
"httpDestAddTitle": "添加 HTTP 目标",
|
||||||
|
"httpDestEditDescription": "更新此 HTTP 事件流媒体目的地的配置。",
|
||||||
|
"httpDestAddDescription": "配置新的 HTTP 端点来接收您的组织事件。",
|
||||||
|
"httpDestTabSettings": "设置",
|
||||||
|
"httpDestTabHeaders": "信头",
|
||||||
|
"httpDestTabBody": "正文内容",
|
||||||
|
"httpDestTabLogs": "日志",
|
||||||
|
"httpDestNamePlaceholder": "我的 HTTP 目标",
|
||||||
|
"httpDestUrlLabel": "目标网址",
|
||||||
|
"httpDestUrlErrorHttpRequired": "URL 必须使用 http 或 https",
|
||||||
|
"httpDestUrlErrorHttpsRequired": "云端部署需要HTTPS",
|
||||||
|
"httpDestUrlErrorInvalid": "输入一个有效的 URL (例如,https://example.com/webhook)",
|
||||||
|
"httpDestAuthTitle": "认证",
|
||||||
|
"httpDestAuthDescription": "选择如何验证您的端点的请求。",
|
||||||
|
"httpDestAuthNoneTitle": "无身份验证",
|
||||||
|
"httpDestAuthNoneDescription": "在没有授权头的情况下发送请求。",
|
||||||
|
"httpDestAuthBearerTitle": "持有者令牌",
|
||||||
|
"httpDestAuthBearerDescription": "添加授权:每个请求的标题为 <token>。",
|
||||||
|
"httpDestAuthBearerPlaceholder": "您的 API 密钥或令牌",
|
||||||
|
"httpDestAuthBasicTitle": "基本认证",
|
||||||
|
"httpDestAuthBasicDescription": "添加授权:基本 <credentials> 头。提供用户名:密码的凭据。",
|
||||||
|
"httpDestAuthBasicPlaceholder": "用户名:密码",
|
||||||
|
"httpDestAuthCustomTitle": "自定义标题",
|
||||||
|
"httpDestAuthCustomDescription": "指定自定义 HTTP 头名称和身份验证值 (例如,X-API 键)。",
|
||||||
|
"httpDestAuthCustomHeaderNamePlaceholder": "标题名称(例如X-API-键)",
|
||||||
|
"httpDestAuthCustomHeaderValuePlaceholder": "页眉值",
|
||||||
|
"httpDestCustomHeadersTitle": "自定义 HTTP 头",
|
||||||
|
"httpDestCustomHeadersDescription": "向每个输出请求添加自定义标题。用于静态令牌或自定义内容类型。默认情况下,内容类型:应用程序/json已发送。",
|
||||||
|
"httpDestNoHeadersConfigured": "未配置自定义头。单击\"添加头\"以添加一个。",
|
||||||
|
"httpDestHeaderNamePlaceholder": "标题名称",
|
||||||
|
"httpDestHeaderValuePlaceholder": "值",
|
||||||
|
"httpDestAddHeader": "添加标题",
|
||||||
|
"httpDestBodyTemplateTitle": "自定义实体模板",
|
||||||
|
"httpDestBodyTemplateDescription": "控制发送到您的端点的 JSON 有效载荷结构。如果禁用,将为每个事件发送一个 JSON 默认对象。",
|
||||||
|
"httpDestEnableBodyTemplate": "启用自定义实体模板",
|
||||||
|
"httpDestBodyTemplateLabel": "身体模板 (JSON)",
|
||||||
|
"httpDestBodyTemplateHint": "将模板变量用于您有效载荷中的参考事件字段。",
|
||||||
|
"httpDestPayloadFormatTitle": "有效载荷格式",
|
||||||
|
"httpDestPayloadFormatDescription": "事件如何序列化为每个请求实体。",
|
||||||
|
"httpDestFormatJsonArrayTitle": "JSON 数组",
|
||||||
|
"httpDestFormatJsonArrayDescription": "每批一个请求,实体是一个 JSON 数组。与大多数通用的 Web 钩子和数据兼容。",
|
||||||
|
"httpDestFormatNdjsonTitle": "NDJSON",
|
||||||
|
"httpDestFormatNdjsonDescription": "每批有一个请求,物体是换行符限制的 JSON ——每行一个对象,不是外部数组。 Sluk HEC、Elastic / OpenSearch和Grafana Loki所需。",
|
||||||
|
"httpDestFormatSingleTitle": "每个请求一个事件",
|
||||||
|
"httpDestFormatSingleDescription": "为每个事件单独发送一个 HTTP POST。仅用于无法处理批量的端点。",
|
||||||
|
"httpDestLogTypesTitle": "日志类型",
|
||||||
|
"httpDestLogTypesDescription": "选择转发到此目的地的日志类型。只有启用的日志类型才会被连续使用。",
|
||||||
|
"httpDestAccessLogsTitle": "访问日志",
|
||||||
|
"httpDestAccessLogsDescription": "资源访问尝试,包括已验证和拒绝的请求。",
|
||||||
|
"httpDestActionLogsTitle": "操作日志",
|
||||||
|
"httpDestActionLogsDescription": "组织内部用户采取的行政行动。",
|
||||||
|
"httpDestConnectionLogsTitle": "连接日志",
|
||||||
|
"httpDestConnectionLogsDescription": "站点和隧道连接事件,包括连接和断开连接。",
|
||||||
|
"httpDestRequestLogsTitle": "请求日志",
|
||||||
|
"httpDestRequestLogsDescription": "HTTP 请求代理资源日志,包括方法、路径和响应代码。",
|
||||||
|
"httpDestSaveChanges": "保存更改",
|
||||||
|
"httpDestCreateDestination": "创建目标",
|
||||||
|
"httpDestUpdatedSuccess": "目标已成功更新",
|
||||||
|
"httpDestCreatedSuccess": "目标创建成功",
|
||||||
|
"httpDestUpdateFailed": "更新目标失败",
|
||||||
|
"httpDestCreateFailed": "创建目标失败"
|
||||||
}
|
}
|
||||||
|
|||||||
771
package-lock.json
generated
771
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
21
package.json
21
package.json
@@ -67,7 +67,6 @@
|
|||||||
"@tailwindcss/forms": "0.5.11",
|
"@tailwindcss/forms": "0.5.11",
|
||||||
"@tanstack/react-query": "5.90.21",
|
"@tanstack/react-query": "5.90.21",
|
||||||
"@tanstack/react-table": "8.21.3",
|
"@tanstack/react-table": "8.21.3",
|
||||||
"@xyflow/react": "^12.8.4",
|
|
||||||
"arctic": "3.7.0",
|
"arctic": "3.7.0",
|
||||||
"axios": "1.13.5",
|
"axios": "1.13.5",
|
||||||
"better-sqlite3": "11.9.1",
|
"better-sqlite3": "11.9.1",
|
||||||
@@ -93,12 +92,12 @@
|
|||||||
"lucide-react": "0.577.0",
|
"lucide-react": "0.577.0",
|
||||||
"maxmind": "5.0.5",
|
"maxmind": "5.0.5",
|
||||||
"moment": "2.30.1",
|
"moment": "2.30.1",
|
||||||
"next": "15.5.12",
|
"next": "15.5.14",
|
||||||
"next-intl": "4.8.3",
|
"next-intl": "4.8.3",
|
||||||
"next-themes": "0.4.6",
|
"next-themes": "0.4.6",
|
||||||
"nextjs-toploader": "3.9.17",
|
"nextjs-toploader": "3.9.17",
|
||||||
"node-cache": "5.1.2",
|
"node-cache": "5.1.2",
|
||||||
"nodemailer": "8.0.1",
|
"nodemailer": "8.0.4",
|
||||||
"oslo": "1.2.1",
|
"oslo": "1.2.1",
|
||||||
"pg": "8.20.0",
|
"pg": "8.20.0",
|
||||||
"posthog-node": "5.28.0",
|
"posthog-node": "5.28.0",
|
||||||
@@ -113,20 +112,20 @@
|
|||||||
"reodotdev": "1.1.0",
|
"reodotdev": "1.1.0",
|
||||||
"resend": "6.9.2",
|
"resend": "6.9.2",
|
||||||
"semver": "7.7.4",
|
"semver": "7.7.4",
|
||||||
"sshpk": "^1.18.0",
|
"sshpk": "1.18.0",
|
||||||
"stripe": "20.4.1",
|
"stripe": "20.4.1",
|
||||||
"swagger-ui-express": "5.0.1",
|
"swagger-ui-express": "5.0.1",
|
||||||
"tailwind-merge": "3.5.0",
|
"tailwind-merge": "3.5.0",
|
||||||
"topojson-client": "3.1.0",
|
"topojson-client": "3.1.0",
|
||||||
"tw-animate-css": "1.4.0",
|
"tw-animate-css": "1.4.0",
|
||||||
"use-debounce": "^10.1.0",
|
"use-debounce": "10.1.0",
|
||||||
"uuid": "13.0.0",
|
"uuid": "13.0.0",
|
||||||
"vaul": "1.1.2",
|
"vaul": "1.1.2",
|
||||||
"visionscarto-world-atlas": "1.0.0",
|
"visionscarto-world-atlas": "1.0.0",
|
||||||
"winston": "3.19.0",
|
"winston": "3.19.0",
|
||||||
"winston-daily-rotate-file": "5.0.0",
|
"winston-daily-rotate-file": "5.0.0",
|
||||||
"ws": "8.19.0",
|
"ws": "8.19.0",
|
||||||
"yaml": "2.8.2",
|
"yaml": "2.8.3",
|
||||||
"yargs": "18.0.0",
|
"yargs": "18.0.0",
|
||||||
"zod": "4.3.6",
|
"zod": "4.3.6",
|
||||||
"zod-validation-error": "5.0.0"
|
"zod-validation-error": "5.0.0"
|
||||||
@@ -135,7 +134,7 @@
|
|||||||
"@dotenvx/dotenvx": "1.54.1",
|
"@dotenvx/dotenvx": "1.54.1",
|
||||||
"@esbuild-plugins/tsconfig-paths": "0.1.2",
|
"@esbuild-plugins/tsconfig-paths": "0.1.2",
|
||||||
"@react-email/preview-server": "5.2.10",
|
"@react-email/preview-server": "5.2.10",
|
||||||
"@tailwindcss/postcss": "4.2.1",
|
"@tailwindcss/postcss": "4.2.2",
|
||||||
"@tanstack/react-query-devtools": "5.91.3",
|
"@tanstack/react-query-devtools": "5.91.3",
|
||||||
"@types/better-sqlite3": "7.6.13",
|
"@types/better-sqlite3": "7.6.13",
|
||||||
"@types/cookie-parser": "1.4.10",
|
"@types/cookie-parser": "1.4.10",
|
||||||
@@ -154,28 +153,28 @@
|
|||||||
"@types/react": "19.2.14",
|
"@types/react": "19.2.14",
|
||||||
"@types/react-dom": "19.2.3",
|
"@types/react-dom": "19.2.3",
|
||||||
"@types/semver": "7.7.1",
|
"@types/semver": "7.7.1",
|
||||||
"@types/sshpk": "^1.17.4",
|
"@types/sshpk": "1.17.4",
|
||||||
"@types/swagger-ui-express": "4.1.8",
|
"@types/swagger-ui-express": "4.1.8",
|
||||||
"@types/topojson-client": "3.1.5",
|
"@types/topojson-client": "3.1.5",
|
||||||
"@types/ws": "8.18.1",
|
"@types/ws": "8.18.1",
|
||||||
"@types/yargs": "17.0.35",
|
"@types/yargs": "17.0.35",
|
||||||
"babel-plugin-react-compiler": "1.0.0",
|
"babel-plugin-react-compiler": "1.0.0",
|
||||||
"drizzle-kit": "0.31.10",
|
"drizzle-kit": "0.31.10",
|
||||||
"esbuild": "0.27.3",
|
"esbuild": "0.27.4",
|
||||||
"esbuild-node-externals": "1.20.1",
|
"esbuild-node-externals": "1.20.1",
|
||||||
"eslint": "10.0.3",
|
"eslint": "10.0.3",
|
||||||
"eslint-config-next": "16.1.7",
|
"eslint-config-next": "16.1.7",
|
||||||
"postcss": "8.5.8",
|
"postcss": "8.5.8",
|
||||||
"prettier": "3.8.1",
|
"prettier": "3.8.1",
|
||||||
"react-email": "5.2.10",
|
"react-email": "5.2.10",
|
||||||
"tailwindcss": "4.2.1",
|
"tailwindcss": "4.2.2",
|
||||||
"tsc-alias": "1.8.16",
|
"tsc-alias": "1.8.16",
|
||||||
"tsx": "4.21.0",
|
"tsx": "4.21.0",
|
||||||
"typescript": "5.9.3",
|
"typescript": "5.9.3",
|
||||||
"typescript-eslint": "8.56.1"
|
"typescript-eslint": "8.56.1"
|
||||||
},
|
},
|
||||||
"overrides": {
|
"overrides": {
|
||||||
"esbuild": "0.27.3",
|
"esbuild": "0.27.4",
|
||||||
"dompurify": "3.3.2"
|
"dompurify": "3.3.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
public/third-party/dd.png
vendored
Normal file
BIN
public/third-party/dd.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 73 KiB |
BIN
public/third-party/s3.png
vendored
Normal file
BIN
public/third-party/s3.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
@@ -140,7 +140,11 @@ export enum ActionsEnum {
|
|||||||
exportLogs = "exportLogs",
|
exportLogs = "exportLogs",
|
||||||
listApprovals = "listApprovals",
|
listApprovals = "listApprovals",
|
||||||
updateApprovals = "updateApprovals",
|
updateApprovals = "updateApprovals",
|
||||||
signSshKey = "signSshKey"
|
signSshKey = "signSshKey",
|
||||||
|
createEventStreamingDestination = "createEventStreamingDestination",
|
||||||
|
updateEventStreamingDestination = "updateEventStreamingDestination",
|
||||||
|
deleteEventStreamingDestination = "deleteEventStreamingDestination",
|
||||||
|
listEventStreamingDestinations = "listEventStreamingDestinations"
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function checkUserActionPermission(
|
export async function checkUserActionPermission(
|
||||||
|
|||||||
@@ -60,8 +60,7 @@ function createDb() {
|
|||||||
})
|
})
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
const maxReplicaConnections =
|
const maxReplicaConnections = poolConfig?.max_replica_connections || 20;
|
||||||
poolConfig?.max_replica_connections || 20;
|
|
||||||
for (const conn of replicaConnections) {
|
for (const conn of replicaConnections) {
|
||||||
const replicaPool = createPool(
|
const replicaPool = createPool(
|
||||||
conn.connection_string,
|
conn.connection_string,
|
||||||
@@ -92,3 +91,4 @@ export const primaryDb = db.$primary;
|
|||||||
export type Transaction = Parameters<
|
export type Transaction = Parameters<
|
||||||
Parameters<(typeof db)["transaction"]>[0]
|
Parameters<(typeof db)["transaction"]>[0]
|
||||||
>[0];
|
>[0];
|
||||||
|
export const DB_TYPE: "pg" | "sqlite" = "pg";
|
||||||
|
|||||||
@@ -8,7 +8,8 @@ import {
|
|||||||
real,
|
real,
|
||||||
text,
|
text,
|
||||||
index,
|
index,
|
||||||
primaryKey
|
primaryKey,
|
||||||
|
uniqueIndex
|
||||||
} from "drizzle-orm/pg-core";
|
} from "drizzle-orm/pg-core";
|
||||||
import { InferSelectModel } from "drizzle-orm";
|
import { InferSelectModel } from "drizzle-orm";
|
||||||
import {
|
import {
|
||||||
@@ -291,6 +292,7 @@ export const accessAuditLog = pgTable(
|
|||||||
actor: varchar("actor", { length: 255 }),
|
actor: varchar("actor", { length: 255 }),
|
||||||
actorId: varchar("actorId", { length: 255 }),
|
actorId: varchar("actorId", { length: 255 }),
|
||||||
resourceId: integer("resourceId"),
|
resourceId: integer("resourceId"),
|
||||||
|
siteResourceId: integer("siteResourceId"),
|
||||||
ip: varchar("ip", { length: 45 }),
|
ip: varchar("ip", { length: 45 }),
|
||||||
type: varchar("type", { length: 100 }).notNull(),
|
type: varchar("type", { length: 100 }).notNull(),
|
||||||
action: boolean("action").notNull(),
|
action: boolean("action").notNull(),
|
||||||
@@ -391,7 +393,8 @@ export const siteProvisioningKeys = pgTable("siteProvisioningKeys", {
|
|||||||
lastUsed: varchar("lastUsed", { length: 255 }),
|
lastUsed: varchar("lastUsed", { length: 255 }),
|
||||||
maxBatchSize: integer("maxBatchSize"), // null = no limit
|
maxBatchSize: integer("maxBatchSize"), // null = no limit
|
||||||
numUsed: integer("numUsed").notNull().default(0),
|
numUsed: integer("numUsed").notNull().default(0),
|
||||||
validUntil: varchar("validUntil", { length: 255 })
|
validUntil: varchar("validUntil", { length: 255 }),
|
||||||
|
approveNewSites: boolean("approveNewSites").notNull().default(true)
|
||||||
});
|
});
|
||||||
|
|
||||||
export const siteProvisioningKeyOrg = pgTable(
|
export const siteProvisioningKeyOrg = pgTable(
|
||||||
@@ -415,6 +418,46 @@ export const siteProvisioningKeyOrg = pgTable(
|
|||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
export const eventStreamingDestinations = pgTable(
|
||||||
|
"eventStreamingDestinations",
|
||||||
|
{
|
||||||
|
destinationId: serial("destinationId").primaryKey(),
|
||||||
|
orgId: varchar("orgId", { length: 255 })
|
||||||
|
.notNull()
|
||||||
|
.references(() => orgs.orgId, { onDelete: "cascade" }),
|
||||||
|
sendConnectionLogs: boolean("sendConnectionLogs").notNull().default(false),
|
||||||
|
sendRequestLogs: boolean("sendRequestLogs").notNull().default(false),
|
||||||
|
sendActionLogs: boolean("sendActionLogs").notNull().default(false),
|
||||||
|
sendAccessLogs: boolean("sendAccessLogs").notNull().default(false),
|
||||||
|
type: varchar("type", { length: 50 }).notNull(), // e.g. "http", "kafka", etc.
|
||||||
|
config: text("config").notNull(), // JSON string with the configuration for the destination
|
||||||
|
enabled: boolean("enabled").notNull().default(true),
|
||||||
|
createdAt: bigint("createdAt", { mode: "number" }).notNull(),
|
||||||
|
updatedAt: bigint("updatedAt", { mode: "number" }).notNull()
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
export const eventStreamingCursors = pgTable(
|
||||||
|
"eventStreamingCursors",
|
||||||
|
{
|
||||||
|
cursorId: serial("cursorId").primaryKey(),
|
||||||
|
destinationId: integer("destinationId")
|
||||||
|
.notNull()
|
||||||
|
.references(() => eventStreamingDestinations.destinationId, {
|
||||||
|
onDelete: "cascade"
|
||||||
|
}),
|
||||||
|
logType: varchar("logType", { length: 50 }).notNull(), // "request" | "action" | "access" | "connection"
|
||||||
|
lastSentId: bigint("lastSentId", { mode: "number" }).notNull().default(0),
|
||||||
|
lastSentAt: bigint("lastSentAt", { mode: "number" }) // epoch milliseconds, null if never sent
|
||||||
|
},
|
||||||
|
(table) => [
|
||||||
|
uniqueIndex("idx_eventStreamingCursors_dest_type").on(
|
||||||
|
table.destinationId,
|
||||||
|
table.logType
|
||||||
|
)
|
||||||
|
]
|
||||||
|
);
|
||||||
|
|
||||||
export type Approval = InferSelectModel<typeof approvals>;
|
export type Approval = InferSelectModel<typeof approvals>;
|
||||||
export type Limit = InferSelectModel<typeof limits>;
|
export type Limit = InferSelectModel<typeof limits>;
|
||||||
export type Account = InferSelectModel<typeof account>;
|
export type Account = InferSelectModel<typeof account>;
|
||||||
@@ -437,3 +480,18 @@ export type LoginPageBranding = InferSelectModel<typeof loginPageBranding>;
|
|||||||
export type ActionAuditLog = InferSelectModel<typeof actionAuditLog>;
|
export type ActionAuditLog = InferSelectModel<typeof actionAuditLog>;
|
||||||
export type AccessAuditLog = InferSelectModel<typeof accessAuditLog>;
|
export type AccessAuditLog = InferSelectModel<typeof accessAuditLog>;
|
||||||
export type ConnectionAuditLog = InferSelectModel<typeof connectionAuditLog>;
|
export type ConnectionAuditLog = InferSelectModel<typeof connectionAuditLog>;
|
||||||
|
export type SessionTransferToken = InferSelectModel<
|
||||||
|
typeof sessionTransferToken
|
||||||
|
>;
|
||||||
|
export type BannedEmail = InferSelectModel<typeof bannedEmails>;
|
||||||
|
export type BannedIp = InferSelectModel<typeof bannedIps>;
|
||||||
|
export type SiteProvisioningKey = InferSelectModel<typeof siteProvisioningKeys>;
|
||||||
|
export type SiteProvisioningKeyOrg = InferSelectModel<
|
||||||
|
typeof siteProvisioningKeyOrg
|
||||||
|
>;
|
||||||
|
export type EventStreamingDestination = InferSelectModel<
|
||||||
|
typeof eventStreamingDestinations
|
||||||
|
>;
|
||||||
|
export type EventStreamingCursor = InferSelectModel<
|
||||||
|
typeof eventStreamingCursors
|
||||||
|
>;
|
||||||
|
|||||||
@@ -100,7 +100,8 @@ export const sites = pgTable("sites", {
|
|||||||
publicKey: varchar("publicKey"),
|
publicKey: varchar("publicKey"),
|
||||||
lastHolePunch: bigint("lastHolePunch", { mode: "number" }),
|
lastHolePunch: bigint("lastHolePunch", { mode: "number" }),
|
||||||
listenPort: integer("listenPort"),
|
listenPort: integer("listenPort"),
|
||||||
dockerSocketEnabled: boolean("dockerSocketEnabled").notNull().default(true)
|
dockerSocketEnabled: boolean("dockerSocketEnabled").notNull().default(true),
|
||||||
|
status: varchar("status").$type<"pending" | "approved">().default("approved")
|
||||||
});
|
});
|
||||||
|
|
||||||
export const resources = pgTable("resources", {
|
export const resources = pgTable("resources", {
|
||||||
@@ -292,7 +293,8 @@ export const users = pgTable("user", {
|
|||||||
termsVersion: varchar("termsVersion"),
|
termsVersion: varchar("termsVersion"),
|
||||||
marketingEmailConsent: boolean("marketingEmailConsent").default(false),
|
marketingEmailConsent: boolean("marketingEmailConsent").default(false),
|
||||||
serverAdmin: boolean("serverAdmin").notNull().default(false),
|
serverAdmin: boolean("serverAdmin").notNull().default(false),
|
||||||
lastPasswordChange: bigint("lastPasswordChange", { mode: "number" })
|
lastPasswordChange: bigint("lastPasswordChange", { mode: "number" }),
|
||||||
|
locale: varchar("locale")
|
||||||
});
|
});
|
||||||
|
|
||||||
export const newts = pgTable("newt", {
|
export const newts = pgTable("newt", {
|
||||||
|
|||||||
196
server/db/regions.ts
Normal file
196
server/db/regions.ts
Normal file
@@ -0,0 +1,196 @@
|
|||||||
|
// Regions of the World
|
||||||
|
// as of 2025-10-25
|
||||||
|
//
|
||||||
|
// Adapted according to the United Nations Geoscheme
|
||||||
|
// see https://www.unicode.org/cldr/charts/48/supplemental/territory_containment_un_m_49.html
|
||||||
|
// see https://unstats.un.org/unsd/methodology/m49
|
||||||
|
|
||||||
|
export const REGIONS = [
|
||||||
|
{
|
||||||
|
name: "regionAfrica",
|
||||||
|
id: "002",
|
||||||
|
includes: [
|
||||||
|
{
|
||||||
|
name: "regionNorthernAfrica",
|
||||||
|
id: "015",
|
||||||
|
countries: ["DZ", "EG", "LY", "MA", "SD", "TN", "EH"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "regionEasternAfrica",
|
||||||
|
id: "014",
|
||||||
|
countries: ["IO", "BI", "KM", "DJ", "ER", "ET", "TF", "KE", "MG", "MW", "MU", "YT", "MZ", "RE", "RW", "SC", "SO", "SS", "UG", "ZM", "ZW"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "regionMiddleAfrica",
|
||||||
|
id: "017",
|
||||||
|
countries: ["AO", "CM", "CF", "TD", "CG", "CD", "GQ", "GA", "ST"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "regionSouthernAfrica",
|
||||||
|
id: "018",
|
||||||
|
countries: ["BW", "SZ", "LS", "NA", "ZA"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "regionWesternAfrica",
|
||||||
|
id: "011",
|
||||||
|
countries: ["BJ", "BF", "CV", "CI", "GM", "GH", "GN", "GW", "LR", "ML", "MR", "NE", "NG", "SH", "SN", "SL", "TG"]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "regionAmericas",
|
||||||
|
id: "019",
|
||||||
|
includes: [
|
||||||
|
{
|
||||||
|
name: "regionCaribbean",
|
||||||
|
id: "029",
|
||||||
|
countries: ["AI", "AG", "AW", "BS", "BB", "BQ", "VG", "KY", "CU", "CW", "DM", "DO", "GD", "GP", "HT", "JM", "MQ", "MS", "PR", "BL", "KN", "LC", "MF", "VC", "SX", "TT", "TC", "VI"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "regionCentralAmerica",
|
||||||
|
id: "013",
|
||||||
|
countries: ["BZ", "CR", "SV", "GT", "HN", "MX", "NI", "PA"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "regionSouthAmerica",
|
||||||
|
id: "005",
|
||||||
|
countries: ["AR", "BO", "BV", "BR", "CL", "CO", "EC", "FK", "GF", "GY", "PY", "PE", "GS", "SR", "UY", "VE"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "regionNorthernAmerica",
|
||||||
|
id: "021",
|
||||||
|
countries: ["BM", "CA", "GL", "PM", "US"]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "regionAsia",
|
||||||
|
id: "142",
|
||||||
|
includes: [
|
||||||
|
{
|
||||||
|
name: "regionCentralAsia",
|
||||||
|
id: "143",
|
||||||
|
countries: ["KZ", "KG", "TJ", "TM", "UZ"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "regionEasternAsia",
|
||||||
|
id: "030",
|
||||||
|
countries: ["CN", "HK", "MO", "KP", "JP", "MN", "KR"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "regionSouthEasternAsia",
|
||||||
|
id: "035",
|
||||||
|
countries: ["BN", "KH", "ID", "LA", "MY", "MM", "PH", "SG", "TH", "TL", "VN"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "regionSouthernAsia",
|
||||||
|
id: "034",
|
||||||
|
countries: ["AF", "BD", "BT", "IN", "IR", "MV", "NP", "PK", "LK"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "regionWesternAsia",
|
||||||
|
id: "145",
|
||||||
|
countries: ["AM", "AZ", "BH", "CY", "GE", "IQ", "IL", "JO", "KW", "LB", "OM", "QA", "SA", "PS", "SY", "TR", "AE", "YE"]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "regionEurope",
|
||||||
|
id: "150",
|
||||||
|
includes: [
|
||||||
|
{
|
||||||
|
name: "regionEasternEurope",
|
||||||
|
id: "151",
|
||||||
|
countries: ["BY", "BG", "CZ", "HU", "PL", "MD", "RO", "RU", "SK", "UA"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "regionNorthernEurope",
|
||||||
|
id: "154",
|
||||||
|
countries: ["AX", "DK", "EE", "FO", "FI", "GG", "IS", "IE", "IM", "JE", "LV", "LT", "NO", "SJ", "SE", "GB"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "regionSouthernEurope",
|
||||||
|
id: "039",
|
||||||
|
countries: ["AL", "AD", "BA", "HR", "GI", "GR", "VA", "IT", "MT", "ME", "MK", "PT", "SM", "RS", "SI", "ES"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "regionWesternEurope",
|
||||||
|
id: "155",
|
||||||
|
countries: ["AT", "BE", "FR", "DE", "LI", "LU", "MC", "NL", "CH"]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "regionOceania",
|
||||||
|
id: "009",
|
||||||
|
includes: [
|
||||||
|
{
|
||||||
|
name: "regionAustraliaAndNewZealand",
|
||||||
|
id: "053",
|
||||||
|
countries: ["AU", "CX", "CC", "HM", "NZ", "NF"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "regionMelanesia",
|
||||||
|
id: "054",
|
||||||
|
countries: ["FJ", "NC", "PG", "SB", "VU"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "regionMicronesia",
|
||||||
|
id: "057",
|
||||||
|
countries: ["GU", "KI", "MH", "FM", "NR", "MP", "PW", "UM"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "regionPolynesia",
|
||||||
|
id: "061",
|
||||||
|
countries: ["AS", "CK", "PF", "NU", "PN", "WS", "TK", "TO", "TV", "WF"]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
type Subregion = {
|
||||||
|
name: string;
|
||||||
|
id: string;
|
||||||
|
countries: string[];
|
||||||
|
};
|
||||||
|
|
||||||
|
type Region = {
|
||||||
|
name: string;
|
||||||
|
id: string;
|
||||||
|
includes: Subregion[];
|
||||||
|
};
|
||||||
|
|
||||||
|
export function getRegionNameById(regionId: string): string | undefined {
|
||||||
|
// Check top-level regions
|
||||||
|
const region = REGIONS.find((r) => r.id === regionId);
|
||||||
|
if (region) {
|
||||||
|
return region.name;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check subregions
|
||||||
|
for (const region of REGIONS) {
|
||||||
|
for (const subregion of region.includes) {
|
||||||
|
if (subregion.id === regionId) {
|
||||||
|
return subregion.name;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function isValidRegionId(regionId: string): boolean {
|
||||||
|
// Check top-level regions
|
||||||
|
if (REGIONS.find((r) => r.id === regionId)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check subregions
|
||||||
|
for (const region of REGIONS) {
|
||||||
|
if (region.includes.find((s) => s.id === regionId)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
@@ -23,7 +23,8 @@ export default db;
|
|||||||
export const primaryDb = db;
|
export const primaryDb = db;
|
||||||
export type Transaction = Parameters<
|
export type Transaction = Parameters<
|
||||||
Parameters<(typeof db)["transaction"]>[0]
|
Parameters<(typeof db)["transaction"]>[0]
|
||||||
>[0];
|
>[0];
|
||||||
|
export const DB_TYPE: "pg" | "sqlite" = "sqlite";
|
||||||
|
|
||||||
function checkFileExists(filePath: string): boolean {
|
function checkFileExists(filePath: string): boolean {
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -5,9 +5,19 @@ import {
|
|||||||
primaryKey,
|
primaryKey,
|
||||||
real,
|
real,
|
||||||
sqliteTable,
|
sqliteTable,
|
||||||
text
|
text,
|
||||||
|
uniqueIndex
|
||||||
} from "drizzle-orm/sqlite-core";
|
} from "drizzle-orm/sqlite-core";
|
||||||
import { clients, domains, exitNodes, orgs, sessions, siteResources, sites, users } from "./schema";
|
import {
|
||||||
|
clients,
|
||||||
|
domains,
|
||||||
|
exitNodes,
|
||||||
|
orgs,
|
||||||
|
sessions,
|
||||||
|
siteResources,
|
||||||
|
sites,
|
||||||
|
users
|
||||||
|
} from "./schema";
|
||||||
|
|
||||||
export const certificates = sqliteTable("certificates", {
|
export const certificates = sqliteTable("certificates", {
|
||||||
certId: integer("certId").primaryKey({ autoIncrement: true }),
|
certId: integer("certId").primaryKey({ autoIncrement: true }),
|
||||||
@@ -279,6 +289,7 @@ export const accessAuditLog = sqliteTable(
|
|||||||
actor: text("actor"),
|
actor: text("actor"),
|
||||||
actorId: text("actorId"),
|
actorId: text("actorId"),
|
||||||
resourceId: integer("resourceId"),
|
resourceId: integer("resourceId"),
|
||||||
|
siteResourceId: integer("siteResourceId"),
|
||||||
ip: text("ip"),
|
ip: text("ip"),
|
||||||
location: text("location"),
|
location: text("location"),
|
||||||
type: text("type").notNull(),
|
type: text("type").notNull(),
|
||||||
@@ -375,7 +386,10 @@ export const siteProvisioningKeys = sqliteTable("siteProvisioningKeys", {
|
|||||||
lastUsed: text("lastUsed"),
|
lastUsed: text("lastUsed"),
|
||||||
maxBatchSize: integer("maxBatchSize"), // null = no limit
|
maxBatchSize: integer("maxBatchSize"), // null = no limit
|
||||||
numUsed: integer("numUsed").notNull().default(0),
|
numUsed: integer("numUsed").notNull().default(0),
|
||||||
validUntil: text("validUntil")
|
validUntil: text("validUntil"),
|
||||||
|
approveNewSites: integer("approveNewSites", { mode: "boolean" })
|
||||||
|
.notNull()
|
||||||
|
.default(true)
|
||||||
});
|
});
|
||||||
|
|
||||||
export const siteProvisioningKeyOrg = sqliteTable(
|
export const siteProvisioningKeyOrg = sqliteTable(
|
||||||
@@ -397,6 +411,50 @@ export const siteProvisioningKeyOrg = sqliteTable(
|
|||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
export const eventStreamingDestinations = sqliteTable(
|
||||||
|
"eventStreamingDestinations",
|
||||||
|
{
|
||||||
|
destinationId: integer("destinationId").primaryKey({
|
||||||
|
autoIncrement: true
|
||||||
|
}),
|
||||||
|
orgId: text("orgId")
|
||||||
|
.notNull()
|
||||||
|
.references(() => orgs.orgId, { onDelete: "cascade" }),
|
||||||
|
sendConnectionLogs: integer("sendConnectionLogs", { mode: "boolean" }).notNull().default(false),
|
||||||
|
sendRequestLogs: integer("sendRequestLogs", { mode: "boolean" }).notNull().default(false),
|
||||||
|
sendActionLogs: integer("sendActionLogs", { mode: "boolean" }).notNull().default(false),
|
||||||
|
sendAccessLogs: integer("sendAccessLogs", { mode: "boolean" }).notNull().default(false),
|
||||||
|
type: text("type").notNull(), // e.g. "http", "kafka", etc.
|
||||||
|
config: text("config").notNull(), // JSON string with the configuration for the destination
|
||||||
|
enabled: integer("enabled", { mode: "boolean" })
|
||||||
|
.notNull()
|
||||||
|
.default(true),
|
||||||
|
createdAt: integer("createdAt").notNull(),
|
||||||
|
updatedAt: integer("updatedAt").notNull()
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
export const eventStreamingCursors = sqliteTable(
|
||||||
|
"eventStreamingCursors",
|
||||||
|
{
|
||||||
|
cursorId: integer("cursorId").primaryKey({ autoIncrement: true }),
|
||||||
|
destinationId: integer("destinationId")
|
||||||
|
.notNull()
|
||||||
|
.references(() => eventStreamingDestinations.destinationId, {
|
||||||
|
onDelete: "cascade"
|
||||||
|
}),
|
||||||
|
logType: text("logType").notNull(), // "request" | "action" | "access" | "connection"
|
||||||
|
lastSentId: integer("lastSentId").notNull().default(0),
|
||||||
|
lastSentAt: integer("lastSentAt") // epoch milliseconds, null if never sent
|
||||||
|
},
|
||||||
|
(table) => [
|
||||||
|
uniqueIndex("idx_eventStreamingCursors_dest_type").on(
|
||||||
|
table.destinationId,
|
||||||
|
table.logType
|
||||||
|
)
|
||||||
|
]
|
||||||
|
);
|
||||||
|
|
||||||
export type Approval = InferSelectModel<typeof approvals>;
|
export type Approval = InferSelectModel<typeof approvals>;
|
||||||
export type Limit = InferSelectModel<typeof limits>;
|
export type Limit = InferSelectModel<typeof limits>;
|
||||||
export type Account = InferSelectModel<typeof account>;
|
export type Account = InferSelectModel<typeof account>;
|
||||||
@@ -419,3 +477,12 @@ export type LoginPageBranding = InferSelectModel<typeof loginPageBranding>;
|
|||||||
export type ActionAuditLog = InferSelectModel<typeof actionAuditLog>;
|
export type ActionAuditLog = InferSelectModel<typeof actionAuditLog>;
|
||||||
export type AccessAuditLog = InferSelectModel<typeof accessAuditLog>;
|
export type AccessAuditLog = InferSelectModel<typeof accessAuditLog>;
|
||||||
export type ConnectionAuditLog = InferSelectModel<typeof connectionAuditLog>;
|
export type ConnectionAuditLog = InferSelectModel<typeof connectionAuditLog>;
|
||||||
|
export type BannedEmail = InferSelectModel<typeof bannedEmails>;
|
||||||
|
export type BannedIp = InferSelectModel<typeof bannedIps>;
|
||||||
|
export type SiteProvisioningKey = InferSelectModel<typeof siteProvisioningKeys>;
|
||||||
|
export type EventStreamingDestination = InferSelectModel<
|
||||||
|
typeof eventStreamingDestinations
|
||||||
|
>;
|
||||||
|
export type EventStreamingCursor = InferSelectModel<
|
||||||
|
typeof eventStreamingCursors
|
||||||
|
>;
|
||||||
|
|||||||
@@ -110,7 +110,8 @@ export const sites = sqliteTable("sites", {
|
|||||||
listenPort: integer("listenPort"),
|
listenPort: integer("listenPort"),
|
||||||
dockerSocketEnabled: integer("dockerSocketEnabled", { mode: "boolean" })
|
dockerSocketEnabled: integer("dockerSocketEnabled", { mode: "boolean" })
|
||||||
.notNull()
|
.notNull()
|
||||||
.default(true)
|
.default(true),
|
||||||
|
status: text("status").$type<"pending" | "approved">().default("approved")
|
||||||
});
|
});
|
||||||
|
|
||||||
export const resources = sqliteTable("resources", {
|
export const resources = sqliteTable("resources", {
|
||||||
@@ -332,7 +333,8 @@ export const users = sqliteTable("user", {
|
|||||||
serverAdmin: integer("serverAdmin", { mode: "boolean" })
|
serverAdmin: integer("serverAdmin", { mode: "boolean" })
|
||||||
.notNull()
|
.notNull()
|
||||||
.default(false),
|
.default(false),
|
||||||
lastPasswordChange: integer("lastPasswordChange")
|
lastPasswordChange: integer("lastPasswordChange"),
|
||||||
|
locale: text("locale")
|
||||||
});
|
});
|
||||||
|
|
||||||
export const securityKeys = sqliteTable("webauthnCredentials", {
|
export const securityKeys = sqliteTable("webauthnCredentials", {
|
||||||
|
|||||||
@@ -18,7 +18,8 @@ export enum TierFeature {
|
|||||||
AutoProvisioning = "autoProvisioning", // handle downgrade by disabling auto provisioning
|
AutoProvisioning = "autoProvisioning", // handle downgrade by disabling auto provisioning
|
||||||
SshPam = "sshPam",
|
SshPam = "sshPam",
|
||||||
FullRbac = "fullRbac",
|
FullRbac = "fullRbac",
|
||||||
SiteProvisioningKeys = "siteProvisioningKeys" // handle downgrade by revoking keys if needed
|
SiteProvisioningKeys = "siteProvisioningKeys", // handle downgrade by revoking keys if needed
|
||||||
|
SIEM = "siem" // handle downgrade by disabling SIEM integrations
|
||||||
}
|
}
|
||||||
|
|
||||||
export const tierMatrix: Record<TierFeature, Tier[]> = {
|
export const tierMatrix: Record<TierFeature, Tier[]> = {
|
||||||
@@ -54,5 +55,6 @@ export const tierMatrix: Record<TierFeature, Tier[]> = {
|
|||||||
[TierFeature.AutoProvisioning]: ["tier1", "tier3", "enterprise"],
|
[TierFeature.AutoProvisioning]: ["tier1", "tier3", "enterprise"],
|
||||||
[TierFeature.SshPam]: ["tier1", "tier3", "enterprise"],
|
[TierFeature.SshPam]: ["tier1", "tier3", "enterprise"],
|
||||||
[TierFeature.FullRbac]: ["tier1", "tier2", "tier3", "enterprise"],
|
[TierFeature.FullRbac]: ["tier1", "tier2", "tier3", "enterprise"],
|
||||||
[TierFeature.SiteProvisioningKeys]: ["enterprise"]
|
[TierFeature.SiteProvisioningKeys]: ["tier3", "enterprise"],
|
||||||
|
[TierFeature.SIEM]: ["enterprise"]
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ import { pickPort } from "@server/routers/target/helpers";
|
|||||||
import { resourcePassword } from "@server/db";
|
import { resourcePassword } from "@server/db";
|
||||||
import { hashPassword } from "@server/auth/password";
|
import { hashPassword } from "@server/auth/password";
|
||||||
import { isValidCIDR, isValidIP, isValidUrlGlobPattern } from "../validators";
|
import { isValidCIDR, isValidIP, isValidUrlGlobPattern } from "../validators";
|
||||||
|
import { isValidRegionId } from "@server/db/regions";
|
||||||
import { isLicensedOrSubscribed } from "#dynamic/lib/isLicencedOrSubscribed";
|
import { isLicensedOrSubscribed } from "#dynamic/lib/isLicencedOrSubscribed";
|
||||||
import { tierMatrix } from "../billing/tierMatrix";
|
import { tierMatrix } from "../billing/tierMatrix";
|
||||||
|
|
||||||
@@ -863,6 +864,10 @@ function validateRule(rule: any) {
|
|||||||
if (!isValidUrlGlobPattern(rule.value)) {
|
if (!isValidUrlGlobPattern(rule.value)) {
|
||||||
throw new Error(`Invalid URL glob pattern: ${rule.value}`);
|
throw new Error(`Invalid URL glob pattern: ${rule.value}`);
|
||||||
}
|
}
|
||||||
|
} else if (rule.match === "region") {
|
||||||
|
if (!isValidRegionId(rule.value)) {
|
||||||
|
throw new Error(`Invalid region ID provided: ${rule.value}`);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
import { z } from "zod";
|
import { z } from "zod";
|
||||||
import { portRangeStringSchema } from "@server/lib/ip";
|
import { portRangeStringSchema } from "@server/lib/ip";
|
||||||
import { MaintenanceSchema } from "#dynamic/lib/blueprints/MaintenanceSchema";
|
import { MaintenanceSchema } from "#dynamic/lib/blueprints/MaintenanceSchema";
|
||||||
|
import { isValidRegionId } from "@server/db/regions";
|
||||||
|
|
||||||
export const SiteSchema = z.object({
|
export const SiteSchema = z.object({
|
||||||
name: z.string().min(1).max(100),
|
name: z.string().min(1).max(100),
|
||||||
@@ -77,7 +78,7 @@ export const AuthSchema = z.object({
|
|||||||
export const RuleSchema = z
|
export const RuleSchema = z
|
||||||
.object({
|
.object({
|
||||||
action: z.enum(["allow", "deny", "pass"]),
|
action: z.enum(["allow", "deny", "pass"]),
|
||||||
match: z.enum(["cidr", "path", "ip", "country", "asn"]),
|
match: z.enum(["cidr", "path", "ip", "country", "asn", "region"]),
|
||||||
value: z.string(),
|
value: z.string(),
|
||||||
priority: z.int().optional()
|
priority: z.int().optional()
|
||||||
})
|
})
|
||||||
@@ -137,6 +138,19 @@ export const RuleSchema = z
|
|||||||
message:
|
message:
|
||||||
"Value must be 'AS<number>' format or 'ALL' when match is 'asn'"
|
"Value must be 'AS<number>' format or 'ALL' when match is 'asn'"
|
||||||
}
|
}
|
||||||
|
)
|
||||||
|
.refine(
|
||||||
|
(rule) => {
|
||||||
|
if (rule.match === "region") {
|
||||||
|
return isValidRegionId(rule.value);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: ["value"],
|
||||||
|
message:
|
||||||
|
"Value must be a valid UN M.49 region or subregion ID when match is 'region'"
|
||||||
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
export const HeaderSchema = z.object({
|
export const HeaderSchema = z.object({
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import path from "path";
|
|||||||
import { fileURLToPath } from "url";
|
import { fileURLToPath } from "url";
|
||||||
|
|
||||||
// This is a placeholder value replaced by the build process
|
// This is a placeholder value replaced by the build process
|
||||||
export const APP_VERSION = "1.16.0";
|
export const APP_VERSION = "1.17.0";
|
||||||
|
|
||||||
export const __FILENAME = fileURLToPath(import.meta.url);
|
export const __FILENAME = fileURLToPath(import.meta.url);
|
||||||
export const __DIRNAME = path.dirname(__FILENAME);
|
export const __DIRNAME = path.dirname(__FILENAME);
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import { and, eq } from "drizzle-orm";
|
|||||||
import createHttpError from "http-errors";
|
import createHttpError from "http-errors";
|
||||||
import HttpCode from "@server/types/HttpCode";
|
import HttpCode from "@server/types/HttpCode";
|
||||||
import { checkOrgAccessPolicy } from "#dynamic/lib/checkOrgAccessPolicy";
|
import { checkOrgAccessPolicy } from "#dynamic/lib/checkOrgAccessPolicy";
|
||||||
|
import { getUserOrgRoleIds } from "@server/lib/userOrgRoles";
|
||||||
|
|
||||||
export async function verifySiteProvisioningKeyAccess(
|
export async function verifySiteProvisioningKeyAccess(
|
||||||
req: Request,
|
req: Request,
|
||||||
@@ -116,8 +117,11 @@ export async function verifySiteProvisioningKeyAccess(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const userOrgRoleId = req.userOrg.roleId;
|
req.userOrgRoleIds = await getUserOrgRoleIds(
|
||||||
req.userOrgRoleId = userOrgRoleId;
|
req.userOrg.userId,
|
||||||
|
row.siteProvisioningKeyOrg.orgId
|
||||||
|
);
|
||||||
|
req.userOrgId = row.siteProvisioningKeyOrg.orgId;
|
||||||
|
|
||||||
return next();
|
return next();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
@@ -12,9 +12,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { rateLimitService } from "#private/lib/rateLimit";
|
import { rateLimitService } from "#private/lib/rateLimit";
|
||||||
|
import { logStreamingManager } from "#private/lib/logStreaming";
|
||||||
import { cleanup as wsCleanup } from "#private/routers/ws";
|
import { cleanup as wsCleanup } from "#private/routers/ws";
|
||||||
import { flushBandwidthToDb } from "@server/routers/newt/handleReceiveBandwidthMessage";
|
import { flushBandwidthToDb } from "@server/routers/newt/handleReceiveBandwidthMessage";
|
||||||
import { flushConnectionLogToDb } from "#dynamic/routers/newt";
|
import { flushConnectionLogToDb } from "#private/routers/newt";
|
||||||
import { flushSiteBandwidthToDb } from "@server/routers/gerbil/receiveBandwidth";
|
import { flushSiteBandwidthToDb } from "@server/routers/gerbil/receiveBandwidth";
|
||||||
import { stopPingAccumulator } from "@server/routers/newt/pingAccumulator";
|
import { stopPingAccumulator } from "@server/routers/newt/pingAccumulator";
|
||||||
|
|
||||||
@@ -25,6 +26,7 @@ async function cleanup() {
|
|||||||
await flushSiteBandwidthToDb();
|
await flushSiteBandwidthToDb();
|
||||||
await rateLimitService.cleanup();
|
await rateLimitService.cleanup();
|
||||||
await wsCleanup();
|
await wsCleanup();
|
||||||
|
await logStreamingManager.shutdown();
|
||||||
|
|
||||||
process.exit(0);
|
process.exit(0);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ export async function logAccessAudit(data: {
|
|||||||
type: string;
|
type: string;
|
||||||
orgId: string;
|
orgId: string;
|
||||||
resourceId?: number;
|
resourceId?: number;
|
||||||
|
siteResourceId?: number;
|
||||||
user?: { username: string; userId: string };
|
user?: { username: string; userId: string };
|
||||||
apiKey?: { name: string | null; apiKeyId: string };
|
apiKey?: { name: string | null; apiKeyId: string };
|
||||||
metadata?: any;
|
metadata?: any;
|
||||||
@@ -134,6 +135,7 @@ export async function logAccessAudit(data: {
|
|||||||
type: data.type,
|
type: data.type,
|
||||||
metadata,
|
metadata,
|
||||||
resourceId: data.resourceId,
|
resourceId: data.resourceId,
|
||||||
|
siteResourceId: data.siteResourceId,
|
||||||
userAgent: data.userAgent,
|
userAgent: data.userAgent,
|
||||||
ip: clientIp,
|
ip: clientIp,
|
||||||
location: countryCode
|
location: countryCode
|
||||||
|
|||||||
234
server/private/lib/logConnectionAudit.ts
Normal file
234
server/private/lib/logConnectionAudit.ts
Normal file
@@ -0,0 +1,234 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of a proprietary work.
|
||||||
|
*
|
||||||
|
* Copyright (c) 2025 Fossorial, Inc.
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This file is licensed under the Fossorial Commercial License.
|
||||||
|
* You may not use this file except in compliance with the License.
|
||||||
|
* Unauthorized use, copying, modification, or distribution is strictly prohibited.
|
||||||
|
*
|
||||||
|
* This file is not licensed under the AGPLv3.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { logsDb, connectionAuditLog } from "@server/db";
|
||||||
|
import logger from "@server/logger";
|
||||||
|
import { and, eq, lt } from "drizzle-orm";
|
||||||
|
import { calculateCutoffTimestamp } from "@server/lib/cleanupLogs";
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// Retry configuration for deadlock handling
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
const MAX_RETRIES = 3;
|
||||||
|
const BASE_DELAY_MS = 50;
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// Buffer / flush configuration
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
/** How often to flush accumulated connection log data to the database. */
|
||||||
|
const FLUSH_INTERVAL_MS = 30_000; // 30 seconds
|
||||||
|
|
||||||
|
/** Maximum number of records to buffer before forcing a flush. */
|
||||||
|
const MAX_BUFFERED_RECORDS = 500;
|
||||||
|
|
||||||
|
/** Maximum number of records to insert in a single database batch. */
|
||||||
|
const INSERT_BATCH_SIZE = 100;
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// Types
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
export interface ConnectionLogRecord {
|
||||||
|
sessionId: string;
|
||||||
|
siteResourceId: number;
|
||||||
|
orgId: string;
|
||||||
|
siteId: number;
|
||||||
|
clientId: number | null;
|
||||||
|
userId: string | null;
|
||||||
|
sourceAddr: string;
|
||||||
|
destAddr: string;
|
||||||
|
protocol: string;
|
||||||
|
startedAt: number; // epoch seconds
|
||||||
|
endedAt: number | null;
|
||||||
|
bytesTx: number | null;
|
||||||
|
bytesRx: number | null;
|
||||||
|
}
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// In-memory buffer
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
let buffer: ConnectionLogRecord[] = [];
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// Deadlock helpers
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
function isDeadlockError(error: any): boolean {
|
||||||
|
return (
|
||||||
|
error?.code === "40P01" ||
|
||||||
|
error?.cause?.code === "40P01" ||
|
||||||
|
(error?.message && error.message.includes("deadlock"))
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
async function withDeadlockRetry<T>(
|
||||||
|
operation: () => Promise<T>,
|
||||||
|
context: string
|
||||||
|
): Promise<T> {
|
||||||
|
let attempt = 0;
|
||||||
|
while (true) {
|
||||||
|
try {
|
||||||
|
return await operation();
|
||||||
|
} catch (error: any) {
|
||||||
|
if (isDeadlockError(error) && attempt < MAX_RETRIES) {
|
||||||
|
attempt++;
|
||||||
|
const baseDelay = Math.pow(2, attempt - 1) * BASE_DELAY_MS;
|
||||||
|
const jitter = Math.random() * baseDelay;
|
||||||
|
const delay = baseDelay + jitter;
|
||||||
|
logger.warn(
|
||||||
|
`Deadlock detected in ${context}, retrying attempt ${attempt}/${MAX_RETRIES} after ${delay.toFixed(0)}ms`
|
||||||
|
);
|
||||||
|
await new Promise((resolve) => setTimeout(resolve, delay));
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
throw error;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// Flush
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Flush all buffered connection log records to the database.
|
||||||
|
*
|
||||||
|
* Swaps out the buffer before writing so that any records added during the
|
||||||
|
* flush are captured in the new buffer rather than being lost. Entries that
|
||||||
|
* fail to write are re-queued back into the buffer so they will be retried
|
||||||
|
* on the next flush.
|
||||||
|
*
|
||||||
|
* This function is exported so that the application's graceful-shutdown
|
||||||
|
* cleanup handler can call it before the process exits.
|
||||||
|
*/
|
||||||
|
export async function flushConnectionLogToDb(): Promise<void> {
|
||||||
|
if (buffer.length === 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Atomically swap out the buffer so new data keeps flowing in
|
||||||
|
const snapshot = buffer;
|
||||||
|
buffer = [];
|
||||||
|
|
||||||
|
logger.debug(
|
||||||
|
`Flushing ${snapshot.length} connection log record(s) to the database`
|
||||||
|
);
|
||||||
|
|
||||||
|
for (let i = 0; i < snapshot.length; i += INSERT_BATCH_SIZE) {
|
||||||
|
const batch = snapshot.slice(i, i + INSERT_BATCH_SIZE);
|
||||||
|
|
||||||
|
try {
|
||||||
|
await withDeadlockRetry(async () => {
|
||||||
|
await logsDb.insert(connectionAuditLog).values(batch);
|
||||||
|
}, `flush connection log batch (${batch.length} records)`);
|
||||||
|
} catch (error) {
|
||||||
|
logger.error(
|
||||||
|
`Failed to flush connection log batch of ${batch.length} records:`,
|
||||||
|
error
|
||||||
|
);
|
||||||
|
|
||||||
|
// Re-queue the failed batch so it is retried on the next flush
|
||||||
|
buffer = [...batch, ...buffer];
|
||||||
|
|
||||||
|
// Cap buffer to prevent unbounded growth if the DB is unreachable
|
||||||
|
const hardLimit = MAX_BUFFERED_RECORDS * 5;
|
||||||
|
if (buffer.length > hardLimit) {
|
||||||
|
const dropped = buffer.length - hardLimit;
|
||||||
|
buffer = buffer.slice(0, hardLimit);
|
||||||
|
logger.warn(
|
||||||
|
`Connection log buffer overflow, dropped ${dropped} oldest records`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Stop processing further batches from this snapshot — they will
|
||||||
|
// be picked up via the re-queued records on the next flush.
|
||||||
|
const remaining = snapshot.slice(i + INSERT_BATCH_SIZE);
|
||||||
|
if (remaining.length > 0) {
|
||||||
|
buffer = [...remaining, ...buffer];
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// Periodic flush timer
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
const flushTimer = setInterval(async () => {
|
||||||
|
try {
|
||||||
|
await flushConnectionLogToDb();
|
||||||
|
} catch (error) {
|
||||||
|
logger.error(
|
||||||
|
"Unexpected error during periodic connection log flush:",
|
||||||
|
error
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}, FLUSH_INTERVAL_MS);
|
||||||
|
|
||||||
|
// Calling unref() means this timer will not keep the Node.js event loop alive
|
||||||
|
// on its own — the process can still exit normally when there is no other work
|
||||||
|
// left. The graceful-shutdown path will call flushConnectionLogToDb() explicitly
|
||||||
|
// before process.exit(), so no data is lost.
|
||||||
|
flushTimer.unref();
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// Cleanup
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
export async function cleanUpOldLogs(
|
||||||
|
orgId: string,
|
||||||
|
retentionDays: number
|
||||||
|
): Promise<void> {
|
||||||
|
const cutoffTimestamp = calculateCutoffTimestamp(retentionDays);
|
||||||
|
|
||||||
|
try {
|
||||||
|
await logsDb
|
||||||
|
.delete(connectionAuditLog)
|
||||||
|
.where(
|
||||||
|
and(
|
||||||
|
lt(connectionAuditLog.startedAt, cutoffTimestamp),
|
||||||
|
eq(connectionAuditLog.orgId, orgId)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
} catch (error) {
|
||||||
|
logger.error("Error cleaning up old connection audit logs:", error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// Public logging entry-point
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Buffer a single connection log record for eventual persistence.
|
||||||
|
*
|
||||||
|
* Records are written to the database in batches either when the buffer
|
||||||
|
* reaches MAX_BUFFERED_RECORDS or when the periodic flush timer fires.
|
||||||
|
*/
|
||||||
|
export function logConnectionAudit(record: ConnectionLogRecord): void {
|
||||||
|
buffer.push(record);
|
||||||
|
|
||||||
|
if (buffer.length >= MAX_BUFFERED_RECORDS) {
|
||||||
|
// Fire and forget — errors are handled inside flushConnectionLogToDb
|
||||||
|
flushConnectionLogToDb().catch((error) => {
|
||||||
|
logger.error(
|
||||||
|
"Unexpected error during size-triggered connection log flush:",
|
||||||
|
error
|
||||||
|
);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
773
server/private/lib/logStreaming/LogStreamingManager.ts
Normal file
773
server/private/lib/logStreaming/LogStreamingManager.ts
Normal file
@@ -0,0 +1,773 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of a proprietary work.
|
||||||
|
*
|
||||||
|
* Copyright (c) 2025 Fossorial, Inc.
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This file is licensed under the Fossorial Commercial License.
|
||||||
|
* You may not use this file except in compliance with the License.
|
||||||
|
* Unauthorized use, copying, modification, or distribution is strictly prohibited.
|
||||||
|
*
|
||||||
|
* This file is not licensed under the AGPLv3.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import {
|
||||||
|
db,
|
||||||
|
logsDb,
|
||||||
|
eventStreamingDestinations,
|
||||||
|
eventStreamingCursors,
|
||||||
|
requestAuditLog,
|
||||||
|
actionAuditLog,
|
||||||
|
accessAuditLog,
|
||||||
|
connectionAuditLog
|
||||||
|
} from "@server/db";
|
||||||
|
import logger from "@server/logger";
|
||||||
|
import { and, eq, gt, desc, max, sql } from "drizzle-orm";
|
||||||
|
import {
|
||||||
|
LogType,
|
||||||
|
LOG_TYPES,
|
||||||
|
LogEvent,
|
||||||
|
DestinationFailureState,
|
||||||
|
HttpConfig
|
||||||
|
} from "./types";
|
||||||
|
import { LogDestinationProvider } from "./providers/LogDestinationProvider";
|
||||||
|
import { HttpLogDestination } from "./providers/HttpLogDestination";
|
||||||
|
import type { EventStreamingDestination } from "@server/db";
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// Configuration
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
/**
|
||||||
|
* How often (ms) the manager polls all destinations for new log records.
|
||||||
|
* Destinations that were behind (full batch returned) will be re-polled
|
||||||
|
* immediately without waiting for this interval.
|
||||||
|
*/
|
||||||
|
const POLL_INTERVAL_MS = 30_000;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Maximum number of log records fetched from the DB in a single query.
|
||||||
|
* This also controls the maximum size of one HTTP POST body.
|
||||||
|
*/
|
||||||
|
const BATCH_SIZE = 250;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay (ms) between consecutive HTTP requests to the same destination
|
||||||
|
* during a catch-up run. Prevents bursting thousands of requests back-to-back
|
||||||
|
* when a destination has fallen behind.
|
||||||
|
*/
|
||||||
|
const INTER_BATCH_DELAY_MS = 100;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Maximum number of consecutive back-to-back batches to process for a single
|
||||||
|
* destination per poll cycle. After this limit the destination will wait for
|
||||||
|
* the next scheduled poll before continuing, giving other destinations a turn.
|
||||||
|
*/
|
||||||
|
const MAX_CATCHUP_BATCHES = 20;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Back-off schedule (ms) indexed by consecutive failure count.
|
||||||
|
* After the last entry the max value is re-used.
|
||||||
|
*/
|
||||||
|
const BACKOFF_SCHEDULE_MS = [
|
||||||
|
60_000, // 1 min (failure 1)
|
||||||
|
2 * 60_000, // 2 min (failure 2)
|
||||||
|
5 * 60_000, // 5 min (failure 3)
|
||||||
|
10 * 60_000, // 10 min (failure 4)
|
||||||
|
30 * 60_000 // 30 min (failure 5+)
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* If a destination has been continuously unreachable for this long, its
|
||||||
|
* cursors are advanced to the current max row id and the backlog is silently
|
||||||
|
* discarded. This prevents unbounded queue growth when a webhook endpoint is
|
||||||
|
* down for an extended period. A prominent warning is logged so operators are
|
||||||
|
* aware logs were dropped.
|
||||||
|
*
|
||||||
|
* Default: 24 hours.
|
||||||
|
*/
|
||||||
|
const MAX_BACKLOG_DURATION_MS = 24 * 60 * 60_000;
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// LogStreamingManager
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Orchestrates periodic polling of the four audit-log tables and forwards new
|
||||||
|
* records to every enabled event-streaming destination.
|
||||||
|
*
|
||||||
|
* ### Design
|
||||||
|
* - **Interval-based**: a timer fires every `POLL_INTERVAL_MS`. On each tick
|
||||||
|
* every enabled destination is processed in sequence.
|
||||||
|
* - **Cursor-based**: the last successfully forwarded row `id` is persisted in
|
||||||
|
* the `eventStreamingCursors` table so state survives restarts.
|
||||||
|
* - **Catch-up**: if a full batch is returned the destination is immediately
|
||||||
|
* re-queried (up to `MAX_CATCHUP_BATCHES` times) before yielding.
|
||||||
|
* - **Smoothing**: `INTER_BATCH_DELAY_MS` is inserted between consecutive
|
||||||
|
* catch-up batches to avoid hammering the remote endpoint.
|
||||||
|
* - **Back-off**: consecutive send failures trigger exponential back-off
|
||||||
|
* (tracked in-memory per destination). Successful sends reset the counter.
|
||||||
|
* - **Backlog abandonment**: if a destination remains unreachable for longer
|
||||||
|
* than `MAX_BACKLOG_DURATION_MS`, all cursors for that destination are
|
||||||
|
* advanced to the current max id so the backlog is discarded and streaming
|
||||||
|
* resumes from the present moment on recovery.
|
||||||
|
*/
|
||||||
|
export class LogStreamingManager {
|
||||||
|
private pollTimer: ReturnType<typeof setTimeout> | null = null;
|
||||||
|
private isRunning = false;
|
||||||
|
private isPolling = false;
|
||||||
|
|
||||||
|
/** In-memory back-off state keyed by destinationId. */
|
||||||
|
private readonly failures = new Map<number, DestinationFailureState>();
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Lifecycle
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
start(): void {
|
||||||
|
if (this.isRunning) return;
|
||||||
|
this.isRunning = true;
|
||||||
|
logger.info("LogStreamingManager: started");
|
||||||
|
this.schedulePoll(POLL_INTERVAL_MS);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Cursor initialisation (call this when a destination is first created)
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Eagerly seed cursors for every log type at the **current** max row id of
|
||||||
|
* each table, scoped to the destination's org.
|
||||||
|
*
|
||||||
|
* Call this immediately after inserting a new row into
|
||||||
|
* `eventStreamingDestinations` so the destination only receives events
|
||||||
|
* that were written *after* it was created. If a cursor row already exists
|
||||||
|
* (e.g. the method is called twice) it is left untouched.
|
||||||
|
*
|
||||||
|
* The manager also has a lazy fallback inside `getOrCreateCursor` for
|
||||||
|
* destinations that existed before this method was introduced.
|
||||||
|
*/
|
||||||
|
async initializeCursorsForDestination(
|
||||||
|
destinationId: number,
|
||||||
|
orgId: string
|
||||||
|
): Promise<void> {
|
||||||
|
for (const logType of LOG_TYPES) {
|
||||||
|
const currentMaxId = await this.getCurrentMaxId(logType, orgId);
|
||||||
|
try {
|
||||||
|
await db
|
||||||
|
.insert(eventStreamingCursors)
|
||||||
|
.values({
|
||||||
|
destinationId,
|
||||||
|
logType,
|
||||||
|
lastSentId: currentMaxId,
|
||||||
|
lastSentAt: null
|
||||||
|
})
|
||||||
|
.onConflictDoNothing();
|
||||||
|
} catch (err) {
|
||||||
|
logger.warn(
|
||||||
|
`LogStreamingManager: could not initialise cursor for ` +
|
||||||
|
`destination ${destinationId} logType="${logType}"`,
|
||||||
|
err
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
logger.debug(
|
||||||
|
`LogStreamingManager: cursors initialised for destination ${destinationId} ` +
|
||||||
|
`(org=${orgId})`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
async shutdown(): Promise<void> {
|
||||||
|
this.isRunning = false;
|
||||||
|
if (this.pollTimer !== null) {
|
||||||
|
clearTimeout(this.pollTimer);
|
||||||
|
this.pollTimer = null;
|
||||||
|
}
|
||||||
|
// Wait for any in-progress poll to finish before returning so that
|
||||||
|
// callers (graceful-shutdown handlers) can safely exit afterward.
|
||||||
|
const deadline = Date.now() + 15_000;
|
||||||
|
while (this.isPolling && Date.now() < deadline) {
|
||||||
|
await sleep(100);
|
||||||
|
}
|
||||||
|
logger.info("LogStreamingManager: stopped");
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Scheduling
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
private schedulePoll(delayMs: number): void {
|
||||||
|
this.pollTimer = setTimeout(() => {
|
||||||
|
this.pollTimer = null;
|
||||||
|
this.runPoll()
|
||||||
|
.catch((err) =>
|
||||||
|
logger.error("LogStreamingManager: unexpected poll error", err)
|
||||||
|
)
|
||||||
|
.finally(() => {
|
||||||
|
if (this.isRunning) {
|
||||||
|
this.schedulePoll(POLL_INTERVAL_MS);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}, delayMs);
|
||||||
|
|
||||||
|
// Do not keep the event loop alive just for the poll timer – the
|
||||||
|
// graceful-shutdown path calls shutdown() explicitly.
|
||||||
|
this.pollTimer.unref?.();
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Poll cycle
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
private async runPoll(): Promise<void> {
|
||||||
|
if (this.isPolling) return; // previous poll still running – skip
|
||||||
|
this.isPolling = true;
|
||||||
|
|
||||||
|
try {
|
||||||
|
const destinations = await this.loadEnabledDestinations();
|
||||||
|
if (destinations.length === 0) return;
|
||||||
|
|
||||||
|
for (const dest of destinations) {
|
||||||
|
if (!this.isRunning) break;
|
||||||
|
await this.processDestination(dest).catch((err) => {
|
||||||
|
// Individual destination errors must never abort the whole cycle
|
||||||
|
logger.error(
|
||||||
|
`LogStreamingManager: unhandled error for destination ${dest.destinationId}`,
|
||||||
|
err
|
||||||
|
);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
} finally {
|
||||||
|
this.isPolling = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Per-destination processing
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
private async processDestination(
|
||||||
|
dest: EventStreamingDestination
|
||||||
|
): Promise<void> {
|
||||||
|
const failState = this.failures.get(dest.destinationId);
|
||||||
|
|
||||||
|
// Check whether this destination has been unreachable long enough that
|
||||||
|
// we should give up on the accumulated backlog.
|
||||||
|
if (failState) {
|
||||||
|
const failingForMs = Date.now() - failState.firstFailedAt;
|
||||||
|
if (failingForMs >= MAX_BACKLOG_DURATION_MS) {
|
||||||
|
await this.abandonBacklog(dest, failState);
|
||||||
|
this.failures.delete(dest.destinationId);
|
||||||
|
// Cursors now point to the current head – retry on next poll.
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check regular exponential back-off window
|
||||||
|
if (failState && Date.now() < failState.nextRetryAt) {
|
||||||
|
logger.debug(
|
||||||
|
`LogStreamingManager: destination ${dest.destinationId} in back-off, skipping`
|
||||||
|
);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Parse config – skip destination if config is unparseable
|
||||||
|
let config: HttpConfig;
|
||||||
|
try {
|
||||||
|
config = JSON.parse(dest.config) as HttpConfig;
|
||||||
|
} catch (err) {
|
||||||
|
logger.error(
|
||||||
|
`LogStreamingManager: destination ${dest.destinationId} has invalid JSON config`,
|
||||||
|
err
|
||||||
|
);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const provider = this.createProvider(dest.type, config);
|
||||||
|
if (!provider) {
|
||||||
|
logger.warn(
|
||||||
|
`LogStreamingManager: unsupported destination type "${dest.type}" ` +
|
||||||
|
`for destination ${dest.destinationId} – skipping`
|
||||||
|
);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const enabledTypes: LogType[] = [];
|
||||||
|
if (dest.sendRequestLogs) enabledTypes.push("request");
|
||||||
|
if (dest.sendActionLogs) enabledTypes.push("action");
|
||||||
|
if (dest.sendAccessLogs) enabledTypes.push("access");
|
||||||
|
if (dest.sendConnectionLogs) enabledTypes.push("connection");
|
||||||
|
|
||||||
|
if (enabledTypes.length === 0) return;
|
||||||
|
|
||||||
|
let anyFailure = false;
|
||||||
|
|
||||||
|
for (const logType of enabledTypes) {
|
||||||
|
if (!this.isRunning) break;
|
||||||
|
try {
|
||||||
|
await this.processLogType(dest, provider, logType);
|
||||||
|
} catch (err) {
|
||||||
|
anyFailure = true;
|
||||||
|
logger.error(
|
||||||
|
`LogStreamingManager: failed to process "${logType}" logs ` +
|
||||||
|
`for destination ${dest.destinationId}`,
|
||||||
|
err
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (anyFailure) {
|
||||||
|
this.recordFailure(dest.destinationId);
|
||||||
|
} else {
|
||||||
|
// Any success resets the failure/back-off state
|
||||||
|
if (this.failures.has(dest.destinationId)) {
|
||||||
|
this.failures.delete(dest.destinationId);
|
||||||
|
logger.info(
|
||||||
|
`LogStreamingManager: destination ${dest.destinationId} recovered`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Advance every cursor for the destination to the current max row id,
|
||||||
|
* effectively discarding the accumulated backlog. Called when the
|
||||||
|
* destination has been unreachable for longer than MAX_BACKLOG_DURATION_MS.
|
||||||
|
*/
|
||||||
|
private async abandonBacklog(
|
||||||
|
dest: EventStreamingDestination,
|
||||||
|
failState: DestinationFailureState
|
||||||
|
): Promise<void> {
|
||||||
|
const failingForHours = (
|
||||||
|
(Date.now() - failState.firstFailedAt) /
|
||||||
|
3_600_000
|
||||||
|
).toFixed(1);
|
||||||
|
|
||||||
|
let totalDropped = 0;
|
||||||
|
|
||||||
|
for (const logType of LOG_TYPES) {
|
||||||
|
try {
|
||||||
|
const currentMaxId = await this.getCurrentMaxId(
|
||||||
|
logType,
|
||||||
|
dest.orgId
|
||||||
|
);
|
||||||
|
|
||||||
|
// Find out how many rows are being skipped for this type
|
||||||
|
const cursor = await db
|
||||||
|
.select({ lastSentId: eventStreamingCursors.lastSentId })
|
||||||
|
.from(eventStreamingCursors)
|
||||||
|
.where(
|
||||||
|
and(
|
||||||
|
eq(eventStreamingCursors.destinationId, dest.destinationId),
|
||||||
|
eq(eventStreamingCursors.logType, logType)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
.limit(1);
|
||||||
|
|
||||||
|
const prevId = cursor[0]?.lastSentId ?? currentMaxId;
|
||||||
|
totalDropped += Math.max(0, currentMaxId - prevId);
|
||||||
|
|
||||||
|
await this.updateCursor(
|
||||||
|
dest.destinationId,
|
||||||
|
logType,
|
||||||
|
currentMaxId
|
||||||
|
);
|
||||||
|
} catch (err) {
|
||||||
|
logger.error(
|
||||||
|
`LogStreamingManager: failed to advance cursor for ` +
|
||||||
|
`destination ${dest.destinationId} logType="${logType}" ` +
|
||||||
|
`during backlog abandonment`,
|
||||||
|
err
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
logger.warn(
|
||||||
|
`LogStreamingManager: destination ${dest.destinationId} has been ` +
|
||||||
|
`unreachable for ${failingForHours}h ` +
|
||||||
|
`(${failState.consecutiveFailures} consecutive failures). ` +
|
||||||
|
`Discarding backlog of ~${totalDropped} log event(s) and ` +
|
||||||
|
`resuming from the current position. ` +
|
||||||
|
`Verify the destination URL and credentials.`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Forward all pending log records of a specific type for a destination.
|
||||||
|
*
|
||||||
|
* Fetches up to `BATCH_SIZE` records at a time. If the batch is full
|
||||||
|
* (indicating more records may exist) it loops immediately, inserting a
|
||||||
|
* short delay between consecutive requests to the remote endpoint.
|
||||||
|
* The loop is capped at `MAX_CATCHUP_BATCHES` to keep the poll cycle
|
||||||
|
* bounded.
|
||||||
|
*/
|
||||||
|
private async processLogType(
|
||||||
|
dest: EventStreamingDestination,
|
||||||
|
provider: LogDestinationProvider,
|
||||||
|
logType: LogType
|
||||||
|
): Promise<void> {
|
||||||
|
// Ensure a cursor row exists (creates one pointing at the current max
|
||||||
|
// id so we do not replay historical logs on first run)
|
||||||
|
const cursor = await this.getOrCreateCursor(
|
||||||
|
dest.destinationId,
|
||||||
|
logType,
|
||||||
|
dest.orgId
|
||||||
|
);
|
||||||
|
|
||||||
|
let lastSentId = cursor.lastSentId;
|
||||||
|
let batchCount = 0;
|
||||||
|
|
||||||
|
while (batchCount < MAX_CATCHUP_BATCHES) {
|
||||||
|
const rows = await this.fetchLogs(
|
||||||
|
logType,
|
||||||
|
dest.orgId,
|
||||||
|
lastSentId,
|
||||||
|
BATCH_SIZE
|
||||||
|
);
|
||||||
|
|
||||||
|
if (rows.length === 0) break;
|
||||||
|
|
||||||
|
const events = rows.map((row) =>
|
||||||
|
this.rowToLogEvent(logType, row)
|
||||||
|
);
|
||||||
|
|
||||||
|
// Throws on failure – caught by the caller which applies back-off
|
||||||
|
await provider.send(events);
|
||||||
|
|
||||||
|
lastSentId = rows[rows.length - 1].id;
|
||||||
|
await this.updateCursor(dest.destinationId, logType, lastSentId);
|
||||||
|
|
||||||
|
batchCount++;
|
||||||
|
|
||||||
|
if (rows.length < BATCH_SIZE) {
|
||||||
|
// Partial batch means we have caught up
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Full batch – there are likely more records; pause briefly before
|
||||||
|
// fetching the next batch to smooth out the HTTP request rate
|
||||||
|
if (batchCount < MAX_CATCHUP_BATCHES) {
|
||||||
|
await sleep(INTER_BATCH_DELAY_MS);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Cursor management
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
private async getOrCreateCursor(
|
||||||
|
destinationId: number,
|
||||||
|
logType: LogType,
|
||||||
|
orgId: string
|
||||||
|
): Promise<{ lastSentId: number }> {
|
||||||
|
// Try to read an existing cursor
|
||||||
|
const existing = await db
|
||||||
|
.select({
|
||||||
|
lastSentId: eventStreamingCursors.lastSentId
|
||||||
|
})
|
||||||
|
.from(eventStreamingCursors)
|
||||||
|
.where(
|
||||||
|
and(
|
||||||
|
eq(eventStreamingCursors.destinationId, destinationId),
|
||||||
|
eq(eventStreamingCursors.logType, logType)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
.limit(1);
|
||||||
|
|
||||||
|
if (existing.length > 0) {
|
||||||
|
return { lastSentId: existing[0].lastSentId };
|
||||||
|
}
|
||||||
|
|
||||||
|
// No cursor yet – this destination pre-dates the eager initialisation
|
||||||
|
// path (initializeCursorsForDestination). Seed at the current max id
|
||||||
|
// so we do not replay historical logs.
|
||||||
|
const initialId = await this.getCurrentMaxId(logType, orgId);
|
||||||
|
|
||||||
|
// Use onConflictDoNothing in case of a rare race between two poll
|
||||||
|
// cycles both hitting this branch simultaneously.
|
||||||
|
await db
|
||||||
|
.insert(eventStreamingCursors)
|
||||||
|
.values({
|
||||||
|
destinationId,
|
||||||
|
logType,
|
||||||
|
lastSentId: initialId,
|
||||||
|
lastSentAt: null
|
||||||
|
})
|
||||||
|
.onConflictDoNothing();
|
||||||
|
|
||||||
|
logger.debug(
|
||||||
|
`LogStreamingManager: lazily initialised cursor for destination ${destinationId} ` +
|
||||||
|
`logType="${logType}" at id=${initialId} ` +
|
||||||
|
`(prefer initializeCursorsForDestination at creation time)`
|
||||||
|
);
|
||||||
|
|
||||||
|
return { lastSentId: initialId };
|
||||||
|
}
|
||||||
|
|
||||||
|
private async updateCursor(
|
||||||
|
destinationId: number,
|
||||||
|
logType: LogType,
|
||||||
|
lastSentId: number
|
||||||
|
): Promise<void> {
|
||||||
|
await db
|
||||||
|
.update(eventStreamingCursors)
|
||||||
|
.set({
|
||||||
|
lastSentId,
|
||||||
|
lastSentAt: Date.now()
|
||||||
|
})
|
||||||
|
.where(
|
||||||
|
and(
|
||||||
|
eq(eventStreamingCursors.destinationId, destinationId),
|
||||||
|
eq(eventStreamingCursors.logType, logType)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the current maximum `id` in the given log table for the org.
|
||||||
|
* Returns 0 when the table is empty.
|
||||||
|
*/
|
||||||
|
private async getCurrentMaxId(
|
||||||
|
logType: LogType,
|
||||||
|
orgId: string
|
||||||
|
): Promise<number> {
|
||||||
|
try {
|
||||||
|
switch (logType) {
|
||||||
|
case "request": {
|
||||||
|
const [row] = await logsDb
|
||||||
|
.select({ maxId: max(requestAuditLog.id) })
|
||||||
|
.from(requestAuditLog)
|
||||||
|
.where(eq(requestAuditLog.orgId, orgId));
|
||||||
|
return row?.maxId ?? 0;
|
||||||
|
}
|
||||||
|
case "action": {
|
||||||
|
const [row] = await logsDb
|
||||||
|
.select({ maxId: max(actionAuditLog.id) })
|
||||||
|
.from(actionAuditLog)
|
||||||
|
.where(eq(actionAuditLog.orgId, orgId));
|
||||||
|
return row?.maxId ?? 0;
|
||||||
|
}
|
||||||
|
case "access": {
|
||||||
|
const [row] = await logsDb
|
||||||
|
.select({ maxId: max(accessAuditLog.id) })
|
||||||
|
.from(accessAuditLog)
|
||||||
|
.where(eq(accessAuditLog.orgId, orgId));
|
||||||
|
return row?.maxId ?? 0;
|
||||||
|
}
|
||||||
|
case "connection": {
|
||||||
|
const [row] = await logsDb
|
||||||
|
.select({ maxId: max(connectionAuditLog.id) })
|
||||||
|
.from(connectionAuditLog)
|
||||||
|
.where(eq(connectionAuditLog.orgId, orgId));
|
||||||
|
return row?.maxId ?? 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} catch (err) {
|
||||||
|
logger.warn(
|
||||||
|
`LogStreamingManager: could not determine current max id for ` +
|
||||||
|
`logType="${logType}", defaulting to 0`,
|
||||||
|
err
|
||||||
|
);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Log fetching
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Fetch up to `limit` log rows with `id > afterId`, ordered by id ASC,
|
||||||
|
* filtered to the given organisation.
|
||||||
|
*/
|
||||||
|
private async fetchLogs(
|
||||||
|
logType: LogType,
|
||||||
|
orgId: string,
|
||||||
|
afterId: number,
|
||||||
|
limit: number
|
||||||
|
): Promise<Array<Record<string, unknown> & { id: number }>> {
|
||||||
|
switch (logType) {
|
||||||
|
case "request":
|
||||||
|
return (await logsDb
|
||||||
|
.select()
|
||||||
|
.from(requestAuditLog)
|
||||||
|
.where(
|
||||||
|
and(
|
||||||
|
eq(requestAuditLog.orgId, orgId),
|
||||||
|
gt(requestAuditLog.id, afterId)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
.orderBy(requestAuditLog.id)
|
||||||
|
.limit(limit)) as Array<
|
||||||
|
Record<string, unknown> & { id: number }
|
||||||
|
>;
|
||||||
|
|
||||||
|
case "action":
|
||||||
|
return (await logsDb
|
||||||
|
.select()
|
||||||
|
.from(actionAuditLog)
|
||||||
|
.where(
|
||||||
|
and(
|
||||||
|
eq(actionAuditLog.orgId, orgId),
|
||||||
|
gt(actionAuditLog.id, afterId)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
.orderBy(actionAuditLog.id)
|
||||||
|
.limit(limit)) as Array<
|
||||||
|
Record<string, unknown> & { id: number }
|
||||||
|
>;
|
||||||
|
|
||||||
|
case "access":
|
||||||
|
return (await logsDb
|
||||||
|
.select()
|
||||||
|
.from(accessAuditLog)
|
||||||
|
.where(
|
||||||
|
and(
|
||||||
|
eq(accessAuditLog.orgId, orgId),
|
||||||
|
gt(accessAuditLog.id, afterId)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
.orderBy(accessAuditLog.id)
|
||||||
|
.limit(limit)) as Array<
|
||||||
|
Record<string, unknown> & { id: number }
|
||||||
|
>;
|
||||||
|
|
||||||
|
case "connection":
|
||||||
|
return (await logsDb
|
||||||
|
.select()
|
||||||
|
.from(connectionAuditLog)
|
||||||
|
.where(
|
||||||
|
and(
|
||||||
|
eq(connectionAuditLog.orgId, orgId),
|
||||||
|
gt(connectionAuditLog.id, afterId)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
.orderBy(connectionAuditLog.id)
|
||||||
|
.limit(limit)) as Array<
|
||||||
|
Record<string, unknown> & { id: number }
|
||||||
|
>;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row → LogEvent conversion
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
private rowToLogEvent(
|
||||||
|
logType: LogType,
|
||||||
|
row: Record<string, unknown> & { id: number }
|
||||||
|
): LogEvent {
|
||||||
|
// Determine the epoch-seconds timestamp for this row type
|
||||||
|
let timestamp: number;
|
||||||
|
switch (logType) {
|
||||||
|
case "request":
|
||||||
|
case "action":
|
||||||
|
case "access":
|
||||||
|
timestamp =
|
||||||
|
typeof row.timestamp === "number" ? row.timestamp : 0;
|
||||||
|
break;
|
||||||
|
case "connection":
|
||||||
|
timestamp =
|
||||||
|
typeof row.startedAt === "number" ? row.startedAt : 0;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
const orgId =
|
||||||
|
typeof row.orgId === "string" ? row.orgId : "";
|
||||||
|
|
||||||
|
return {
|
||||||
|
id: row.id,
|
||||||
|
logType,
|
||||||
|
orgId,
|
||||||
|
timestamp,
|
||||||
|
data: row as Record<string, unknown>
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Provider factory
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Instantiate the correct LogDestinationProvider for the given destination
|
||||||
|
* type string. Returns `null` for unknown types.
|
||||||
|
*
|
||||||
|
* To add a new provider:
|
||||||
|
* 1. Implement `LogDestinationProvider` in a new file under `providers/`
|
||||||
|
* 2. Add a `case` here
|
||||||
|
*/
|
||||||
|
private createProvider(
|
||||||
|
type: string,
|
||||||
|
config: unknown
|
||||||
|
): LogDestinationProvider | null {
|
||||||
|
switch (type) {
|
||||||
|
case "http":
|
||||||
|
return new HttpLogDestination(config as HttpConfig);
|
||||||
|
// Future providers:
|
||||||
|
// case "datadog": return new DatadogLogDestination(config as DatadogConfig);
|
||||||
|
default:
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Back-off tracking
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
private recordFailure(destinationId: number): void {
|
||||||
|
const current = this.failures.get(destinationId) ?? {
|
||||||
|
consecutiveFailures: 0,
|
||||||
|
nextRetryAt: 0,
|
||||||
|
// Stamp the very first failure so we can measure total outage duration
|
||||||
|
firstFailedAt: Date.now()
|
||||||
|
};
|
||||||
|
|
||||||
|
current.consecutiveFailures += 1;
|
||||||
|
|
||||||
|
const scheduleIdx = Math.min(
|
||||||
|
current.consecutiveFailures - 1,
|
||||||
|
BACKOFF_SCHEDULE_MS.length - 1
|
||||||
|
);
|
||||||
|
const backoffMs = BACKOFF_SCHEDULE_MS[scheduleIdx];
|
||||||
|
current.nextRetryAt = Date.now() + backoffMs;
|
||||||
|
|
||||||
|
this.failures.set(destinationId, current);
|
||||||
|
|
||||||
|
logger.warn(
|
||||||
|
`LogStreamingManager: destination ${destinationId} failed ` +
|
||||||
|
`(consecutive #${current.consecutiveFailures}), ` +
|
||||||
|
`backing off for ${backoffMs / 1000}s`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// DB helpers
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
private async loadEnabledDestinations(): Promise<
|
||||||
|
EventStreamingDestination[]
|
||||||
|
> {
|
||||||
|
try {
|
||||||
|
return await db
|
||||||
|
.select()
|
||||||
|
.from(eventStreamingDestinations)
|
||||||
|
.where(eq(eventStreamingDestinations.enabled, true));
|
||||||
|
} catch (err) {
|
||||||
|
logger.error(
|
||||||
|
"LogStreamingManager: failed to load destinations",
|
||||||
|
err
|
||||||
|
);
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// Helpers
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
function sleep(ms: number): Promise<void> {
|
||||||
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
||||||
|
}
|
||||||
34
server/private/lib/logStreaming/index.ts
Normal file
34
server/private/lib/logStreaming/index.ts
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of a proprietary work.
|
||||||
|
*
|
||||||
|
* Copyright (c) 2025 Fossorial, Inc.
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This file is licensed under the Fossorial Commercial License.
|
||||||
|
* You may not use this file except in compliance with the License.
|
||||||
|
* Unauthorized use, copying, modification, or distribution is strictly prohibited.
|
||||||
|
*
|
||||||
|
* This file is not licensed under the AGPLv3.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { build } from "@server/build";
|
||||||
|
import { LogStreamingManager } from "./LogStreamingManager";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Module-level singleton. Importing this module is sufficient to start the
|
||||||
|
* streaming manager – no explicit init call required by the caller.
|
||||||
|
*
|
||||||
|
* The manager registers a non-blocking timer (unref'd) so it will not keep
|
||||||
|
* the Node.js event loop alive on its own. Call `logStreamingManager.shutdown()`
|
||||||
|
* during graceful shutdown to drain any in-progress poll and release resources.
|
||||||
|
*/
|
||||||
|
export const logStreamingManager = new LogStreamingManager();
|
||||||
|
|
||||||
|
if (build != "saas") { // this is handled separately in the saas build, so we don't want to start it here
|
||||||
|
logStreamingManager.start();
|
||||||
|
}
|
||||||
|
|
||||||
|
export { LogStreamingManager } from "./LogStreamingManager";
|
||||||
|
export type { LogDestinationProvider } from "./providers/LogDestinationProvider";
|
||||||
|
export { HttpLogDestination } from "./providers/HttpLogDestination";
|
||||||
|
export * from "./types";
|
||||||
322
server/private/lib/logStreaming/providers/HttpLogDestination.ts
Normal file
322
server/private/lib/logStreaming/providers/HttpLogDestination.ts
Normal file
@@ -0,0 +1,322 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of a proprietary work.
|
||||||
|
*
|
||||||
|
* Copyright (c) 2025 Fossorial, Inc.
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This file is licensed under the Fossorial Commercial License.
|
||||||
|
* You may not use this file except in compliance with the License.
|
||||||
|
* Unauthorized use, copying, modification, or distribution is strictly prohibited.
|
||||||
|
*
|
||||||
|
* This file is not licensed under the AGPLv3.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import logger from "@server/logger";
|
||||||
|
import { LogEvent, HttpConfig, PayloadFormat } from "../types";
|
||||||
|
import { LogDestinationProvider } from "./LogDestinationProvider";
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// Constants
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
/** Maximum time (ms) to wait for a single HTTP response. */
|
||||||
|
const REQUEST_TIMEOUT_MS = 30_000;
|
||||||
|
|
||||||
|
/** Default payload format when none is specified in the config. */
|
||||||
|
const DEFAULT_FORMAT: PayloadFormat = "json_array";
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// HttpLogDestination
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Forwards a batch of log events to an arbitrary HTTP endpoint via a single
|
||||||
|
* POST request per batch.
|
||||||
|
*
|
||||||
|
* **Payload format**
|
||||||
|
*
|
||||||
|
* **Payload formats** (controlled by `config.format`):
|
||||||
|
*
|
||||||
|
* - `json_array` (default) — one POST per batch, body is a JSON array:
|
||||||
|
* ```json
|
||||||
|
* [
|
||||||
|
* { "event": "request", "timestamp": "2024-01-01T00:00:00.000Z", "data": { … } },
|
||||||
|
* …
|
||||||
|
* ]
|
||||||
|
* ```
|
||||||
|
* `Content-Type: application/json`
|
||||||
|
*
|
||||||
|
* - `ndjson` — one POST per batch, body is newline-delimited JSON (one object
|
||||||
|
* per line, no outer array). Required by Splunk HEC, Elastic/OpenSearch,
|
||||||
|
* and Grafana Loki:
|
||||||
|
* ```
|
||||||
|
* {"event":"request","timestamp":"…","data":{…}}
|
||||||
|
* {"event":"action","timestamp":"…","data":{…}}
|
||||||
|
* ```
|
||||||
|
* `Content-Type: application/x-ndjson`
|
||||||
|
*
|
||||||
|
* - `json_single` — one POST **per event**, body is a plain JSON object.
|
||||||
|
* Use only for endpoints that cannot handle batches at all.
|
||||||
|
*
|
||||||
|
* With a body template each event is rendered through the template before
|
||||||
|
* serialisation. Template placeholders:
|
||||||
|
* - `{{event}}` → the LogType string ("request", "action", etc.)
|
||||||
|
* - `{{timestamp}}` → ISO-8601 UTC datetime string
|
||||||
|
* - `{{data}}` → raw inline JSON object (**no surrounding quotes**)
|
||||||
|
*
|
||||||
|
* Example template:
|
||||||
|
* ```
|
||||||
|
* { "event": "{{event}}", "ts": "{{timestamp}}", "payload": {{data}} }
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
export class HttpLogDestination implements LogDestinationProvider {
|
||||||
|
readonly type = "http";
|
||||||
|
|
||||||
|
private readonly config: HttpConfig;
|
||||||
|
|
||||||
|
constructor(config: HttpConfig) {
|
||||||
|
this.config = config;
|
||||||
|
}
|
||||||
|
|
||||||
|
// -----------------------------------------------------------------------
|
||||||
|
// LogDestinationProvider implementation
|
||||||
|
// -----------------------------------------------------------------------
|
||||||
|
|
||||||
|
async send(events: LogEvent[]): Promise<void> {
|
||||||
|
if (events.length === 0) return;
|
||||||
|
|
||||||
|
const format = this.config.format ?? DEFAULT_FORMAT;
|
||||||
|
|
||||||
|
if (format === "json_single") {
|
||||||
|
// One HTTP POST per event – send sequentially so a failure on one
|
||||||
|
// event throws and lets the manager retry the whole batch from the
|
||||||
|
// same cursor position.
|
||||||
|
for (const event of events) {
|
||||||
|
await this.postRequest(
|
||||||
|
this.buildSingleBody(event),
|
||||||
|
"application/json"
|
||||||
|
);
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (format === "ndjson") {
|
||||||
|
const body = this.buildNdjsonBody(events);
|
||||||
|
await this.postRequest(body, "application/x-ndjson");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// json_array (default)
|
||||||
|
const body = JSON.stringify(this.buildArrayPayload(events));
|
||||||
|
await this.postRequest(body, "application/json");
|
||||||
|
}
|
||||||
|
|
||||||
|
// -----------------------------------------------------------------------
|
||||||
|
// Internal HTTP sender
|
||||||
|
// -----------------------------------------------------------------------
|
||||||
|
|
||||||
|
private async postRequest(
|
||||||
|
body: string,
|
||||||
|
contentType: string
|
||||||
|
): Promise<void> {
|
||||||
|
const headers = this.buildHeaders(contentType);
|
||||||
|
|
||||||
|
const controller = new AbortController();
|
||||||
|
const timeoutHandle = setTimeout(
|
||||||
|
() => controller.abort(),
|
||||||
|
REQUEST_TIMEOUT_MS
|
||||||
|
);
|
||||||
|
|
||||||
|
let response: Response;
|
||||||
|
try {
|
||||||
|
response = await fetch(this.config.url, {
|
||||||
|
method: "POST",
|
||||||
|
headers,
|
||||||
|
body,
|
||||||
|
signal: controller.signal
|
||||||
|
});
|
||||||
|
} catch (err: unknown) {
|
||||||
|
const isAbort =
|
||||||
|
err instanceof Error && err.name === "AbortError";
|
||||||
|
if (isAbort) {
|
||||||
|
throw new Error(
|
||||||
|
`HttpLogDestination: request to "${this.config.url}" timed out after ${REQUEST_TIMEOUT_MS} ms`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
const msg = err instanceof Error ? err.message : String(err);
|
||||||
|
throw new Error(
|
||||||
|
`HttpLogDestination: request to "${this.config.url}" failed – ${msg}`
|
||||||
|
);
|
||||||
|
} finally {
|
||||||
|
clearTimeout(timeoutHandle);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!response.ok) {
|
||||||
|
// Try to include a snippet of the response body in the error so
|
||||||
|
// operators can diagnose auth or schema rejections.
|
||||||
|
let responseSnippet = "";
|
||||||
|
try {
|
||||||
|
const text = await response.text();
|
||||||
|
responseSnippet = text.slice(0, 300);
|
||||||
|
} catch {
|
||||||
|
// ignore – best effort
|
||||||
|
}
|
||||||
|
|
||||||
|
throw new Error(
|
||||||
|
`HttpLogDestination: server at "${this.config.url}" returned ` +
|
||||||
|
`HTTP ${response.status} ${response.statusText}` +
|
||||||
|
(responseSnippet ? ` – ${responseSnippet}` : "")
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// -----------------------------------------------------------------------
|
||||||
|
// Header construction
|
||||||
|
// -----------------------------------------------------------------------
|
||||||
|
|
||||||
|
private buildHeaders(contentType: string): Record<string, string> {
|
||||||
|
const headers: Record<string, string> = {
|
||||||
|
"Content-Type": contentType
|
||||||
|
};
|
||||||
|
|
||||||
|
// Authentication
|
||||||
|
switch (this.config.authType) {
|
||||||
|
case "bearer": {
|
||||||
|
const token = this.config.bearerToken?.trim();
|
||||||
|
if (token) {
|
||||||
|
headers["Authorization"] = `Bearer ${token}`;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "basic": {
|
||||||
|
const creds = this.config.basicCredentials?.trim();
|
||||||
|
if (creds) {
|
||||||
|
const encoded = Buffer.from(creds).toString("base64");
|
||||||
|
headers["Authorization"] = `Basic ${encoded}`;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "custom": {
|
||||||
|
const name = this.config.customHeaderName?.trim();
|
||||||
|
const value = this.config.customHeaderValue ?? "";
|
||||||
|
if (name) {
|
||||||
|
headers[name] = value;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "none":
|
||||||
|
default:
|
||||||
|
// No Authorization header
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Additional static headers (user-defined; may override Content-Type
|
||||||
|
// if the operator explicitly sets it, which is intentional).
|
||||||
|
for (const { key, value } of this.config.headers ?? []) {
|
||||||
|
const trimmedKey = key?.trim();
|
||||||
|
if (trimmedKey) {
|
||||||
|
headers[trimmedKey] = value ?? "";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return headers;
|
||||||
|
}
|
||||||
|
|
||||||
|
// -----------------------------------------------------------------------
|
||||||
|
// Payload construction
|
||||||
|
// -----------------------------------------------------------------------
|
||||||
|
|
||||||
|
/** Single default event object (no surrounding array). */
|
||||||
|
private buildEventObject(event: LogEvent): unknown {
|
||||||
|
if (this.config.useBodyTemplate && this.config.bodyTemplate?.trim()) {
|
||||||
|
return this.renderTemplate(this.config.bodyTemplate!, event);
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
event: event.logType,
|
||||||
|
timestamp: epochSecondsToIso(event.timestamp),
|
||||||
|
data: event.data
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
/** JSON array payload – used for `json_array` format. */
|
||||||
|
private buildArrayPayload(events: LogEvent[]): unknown[] {
|
||||||
|
return events.map((e) => this.buildEventObject(e));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* NDJSON payload – one JSON object per line, no outer array.
|
||||||
|
* Each line must be a complete, valid JSON object.
|
||||||
|
*/
|
||||||
|
private buildNdjsonBody(events: LogEvent[]): string {
|
||||||
|
return events
|
||||||
|
.map((e) => JSON.stringify(this.buildEventObject(e)))
|
||||||
|
.join("\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Single-event body – used for `json_single` format. */
|
||||||
|
private buildSingleBody(event: LogEvent): string {
|
||||||
|
return JSON.stringify(this.buildEventObject(event));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Render a single event through the body template.
|
||||||
|
*
|
||||||
|
* The three placeholder tokens are replaced in a specific order to avoid
|
||||||
|
* accidental double-replacement:
|
||||||
|
*
|
||||||
|
* 1. `{{data}}` → raw JSON (may contain `{{` characters in values)
|
||||||
|
* 2. `{{event}}` → safe string
|
||||||
|
* 3. `{{timestamp}}` → safe ISO string
|
||||||
|
*
|
||||||
|
* If the rendered string is not valid JSON we fall back to returning it as
|
||||||
|
* a plain string so the batch still makes it out and the operator can
|
||||||
|
* inspect the template.
|
||||||
|
*/
|
||||||
|
private renderTemplate(template: string, event: LogEvent): unknown {
|
||||||
|
const isoTimestamp = epochSecondsToIso(event.timestamp);
|
||||||
|
const dataJson = JSON.stringify(event.data);
|
||||||
|
|
||||||
|
// Replace {{data}} first because its JSON value might legitimately
|
||||||
|
// contain the substrings "{{event}}" or "{{timestamp}}" inside string
|
||||||
|
// fields – those should NOT be re-expanded.
|
||||||
|
const rendered = template
|
||||||
|
.replace(/\{\{data\}\}/g, dataJson)
|
||||||
|
.replace(/\{\{event\}\}/g, escapeJsonString(event.logType))
|
||||||
|
.replace(
|
||||||
|
/\{\{timestamp\}\}/g,
|
||||||
|
escapeJsonString(isoTimestamp)
|
||||||
|
);
|
||||||
|
|
||||||
|
try {
|
||||||
|
return JSON.parse(rendered);
|
||||||
|
} catch {
|
||||||
|
logger.warn(
|
||||||
|
`HttpLogDestination: body template produced invalid JSON for ` +
|
||||||
|
`event type "${event.logType}" destined for "${this.config.url}". ` +
|
||||||
|
`Sending rendered template as a raw string. ` +
|
||||||
|
`Check your template syntax – specifically that {{data}} is ` +
|
||||||
|
`NOT wrapped in quotes.`
|
||||||
|
);
|
||||||
|
return rendered;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// Helpers
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
function epochSecondsToIso(epochSeconds: number): string {
|
||||||
|
return new Date(epochSeconds * 1000).toISOString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Escape a string value so it can be safely substituted into the interior of
|
||||||
|
* a JSON string literal (i.e. between existing `"` quotes in the template).
|
||||||
|
* This prevents a crafted logType or timestamp from breaking out of its
|
||||||
|
* string context in the rendered template.
|
||||||
|
*/
|
||||||
|
function escapeJsonString(value: string): string {
|
||||||
|
// JSON.stringify produces `"<escaped>"` – strip the outer quotes.
|
||||||
|
return JSON.stringify(value).slice(1, -1);
|
||||||
|
}
|
||||||
@@ -0,0 +1,44 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of a proprietary work.
|
||||||
|
*
|
||||||
|
* Copyright (c) 2025 Fossorial, Inc.
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This file is licensed under the Fossorial Commercial License.
|
||||||
|
* You may not use this file except in compliance with the License.
|
||||||
|
* Unauthorized use, copying, modification, or distribution is strictly prohibited.
|
||||||
|
*
|
||||||
|
* This file is not licensed under the AGPLv3.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { LogEvent } from "../types";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Common interface that every log-forwarding backend must implement.
|
||||||
|
*
|
||||||
|
* Adding a new destination type (e.g. Datadog, Splunk, Kafka) is as simple as
|
||||||
|
* creating a class that satisfies this interface and registering it inside
|
||||||
|
* LogStreamingManager.createProvider().
|
||||||
|
*/
|
||||||
|
export interface LogDestinationProvider {
|
||||||
|
/**
|
||||||
|
* The string identifier that matches the `type` column in the
|
||||||
|
* `eventStreamingDestinations` table (e.g. "http", "datadog").
|
||||||
|
*/
|
||||||
|
readonly type: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Forward a batch of log events to the destination.
|
||||||
|
*
|
||||||
|
* Implementations should:
|
||||||
|
* - Treat the call as atomic: either all events are accepted or an error
|
||||||
|
* is thrown so the caller can retry / back off.
|
||||||
|
* - Respect the timeout contract expected by the manager (default 30 s).
|
||||||
|
* - NOT swallow errors – the manager relies on thrown exceptions to track
|
||||||
|
* failure state and apply exponential back-off.
|
||||||
|
*
|
||||||
|
* @param events A non-empty array of normalised log events to forward.
|
||||||
|
* @throws Any network, authentication, or serialisation error.
|
||||||
|
*/
|
||||||
|
send(events: LogEvent[]): Promise<void>;
|
||||||
|
}
|
||||||
134
server/private/lib/logStreaming/types.ts
Normal file
134
server/private/lib/logStreaming/types.ts
Normal file
@@ -0,0 +1,134 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of a proprietary work.
|
||||||
|
*
|
||||||
|
* Copyright (c) 2025 Fossorial, Inc.
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This file is licensed under the Fossorial Commercial License.
|
||||||
|
* You may not use this file except in compliance with the License.
|
||||||
|
* Unauthorized use, copying, modification, or distribution is strictly prohibited.
|
||||||
|
*
|
||||||
|
* This file is not licensed under the AGPLv3.
|
||||||
|
*/
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// Log type identifiers
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
export type LogType = "request" | "action" | "access" | "connection";
|
||||||
|
|
||||||
|
export const LOG_TYPES: LogType[] = [
|
||||||
|
"request",
|
||||||
|
"action",
|
||||||
|
"access",
|
||||||
|
"connection"
|
||||||
|
];
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// A normalised event ready to be forwarded to a destination
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
export interface LogEvent {
|
||||||
|
/** The auto-increment primary key from the source table */
|
||||||
|
id: number;
|
||||||
|
/** Which log table this event came from */
|
||||||
|
logType: LogType;
|
||||||
|
/** The organisation that owns this event */
|
||||||
|
orgId: string;
|
||||||
|
/** Unix epoch seconds – taken from the record's own timestamp field */
|
||||||
|
timestamp: number;
|
||||||
|
/** Full row data from the source table, serialised as a plain object */
|
||||||
|
data: Record<string, unknown>;
|
||||||
|
}
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// A batch of events destined for a single streaming target
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
export interface LogBatch {
|
||||||
|
destinationId: number;
|
||||||
|
logType: LogType;
|
||||||
|
events: LogEvent[];
|
||||||
|
}
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// HTTP destination configuration (mirrors HttpConfig in the UI component)
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
export type AuthType = "none" | "bearer" | "basic" | "custom";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Controls how the batch of events is serialised into the HTTP request body.
|
||||||
|
*
|
||||||
|
* - `json_array` – `[{…}, {…}]` — default; one POST per batch wrapped in a
|
||||||
|
* JSON array. Works with most generic webhooks and Datadog.
|
||||||
|
* - `ndjson` – `{…}\n{…}` — newline-delimited JSON, one object per
|
||||||
|
* line. Required by Splunk HEC, Elastic/OpenSearch, Loki.
|
||||||
|
* - `json_single` – one HTTP POST per event, body is a plain JSON object.
|
||||||
|
* Use only for endpoints that cannot handle batches at all.
|
||||||
|
*/
|
||||||
|
export type PayloadFormat = "json_array" | "ndjson" | "json_single";
|
||||||
|
|
||||||
|
export interface HttpConfig {
|
||||||
|
/** Human-readable label for the destination */
|
||||||
|
name: string;
|
||||||
|
/** Target URL that will receive POST requests */
|
||||||
|
url: string;
|
||||||
|
/** Authentication strategy to use */
|
||||||
|
authType: AuthType;
|
||||||
|
/** Used when authType === "bearer" */
|
||||||
|
bearerToken?: string;
|
||||||
|
/** Used when authType === "basic" – must be "username:password" */
|
||||||
|
basicCredentials?: string;
|
||||||
|
/** Used when authType === "custom" – header name */
|
||||||
|
customHeaderName?: string;
|
||||||
|
/** Used when authType === "custom" – header value */
|
||||||
|
customHeaderValue?: string;
|
||||||
|
/** Additional static headers appended to every request */
|
||||||
|
headers: Array<{ key: string; value: string }>;
|
||||||
|
/** Whether to render a custom body template instead of the default shape */
|
||||||
|
/**
|
||||||
|
* How events are serialised into the request body.
|
||||||
|
* Defaults to `"json_array"` when absent.
|
||||||
|
*/
|
||||||
|
format?: PayloadFormat;
|
||||||
|
useBodyTemplate: boolean;
|
||||||
|
/**
|
||||||
|
* Handlebars-style template for the JSON body of each event.
|
||||||
|
*
|
||||||
|
* Supported placeholders:
|
||||||
|
* {{event}} – the LogType string ("request", "action", etc.)
|
||||||
|
* {{timestamp}} – ISO-8601 UTC string derived from the event's timestamp
|
||||||
|
* {{data}} – raw JSON object (no surrounding quotes) of the full row
|
||||||
|
*
|
||||||
|
* Example:
|
||||||
|
* { "event": "{{event}}", "ts": "{{timestamp}}", "payload": {{data}} }
|
||||||
|
*/
|
||||||
|
bodyTemplate?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// Per-destination per-log-type cursor (reflects the DB table)
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
export interface StreamingCursor {
|
||||||
|
destinationId: number;
|
||||||
|
logType: LogType;
|
||||||
|
/** The `id` of the last row that was successfully forwarded */
|
||||||
|
lastSentId: number;
|
||||||
|
/** Epoch milliseconds of the last successful send (or null if never sent) */
|
||||||
|
lastSentAt: number | null;
|
||||||
|
}
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// In-memory failure / back-off state tracked per destination
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
export interface DestinationFailureState {
|
||||||
|
/** How many consecutive send failures have occurred */
|
||||||
|
consecutiveFailures: number;
|
||||||
|
/** Date.now() value after which the destination may be retried */
|
||||||
|
nextRetryAt: number;
|
||||||
|
/** Date.now() value of the very first failure in the current streak */
|
||||||
|
firstFailedAt: number;
|
||||||
|
}
|
||||||
@@ -11,11 +11,11 @@
|
|||||||
* This file is not licensed under the AGPLv3.
|
* This file is not licensed under the AGPLv3.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { accessAuditLog, logsDb, resources, db, primaryDb } from "@server/db";
|
import { accessAuditLog, logsDb, resources, siteResources, db, primaryDb } from "@server/db";
|
||||||
import { registry } from "@server/openApi";
|
import { registry } from "@server/openApi";
|
||||||
import { NextFunction } from "express";
|
import { NextFunction } from "express";
|
||||||
import { Request, Response } from "express";
|
import { Request, Response } from "express";
|
||||||
import { eq, gt, lt, and, count, desc, inArray } from "drizzle-orm";
|
import { eq, gt, lt, and, count, desc, inArray, isNull } from "drizzle-orm";
|
||||||
import { OpenAPITags } from "@server/openApi";
|
import { OpenAPITags } from "@server/openApi";
|
||||||
import { z } from "zod";
|
import { z } from "zod";
|
||||||
import createHttpError from "http-errors";
|
import createHttpError from "http-errors";
|
||||||
@@ -122,6 +122,7 @@ export function queryAccess(data: Q) {
|
|||||||
actorType: accessAuditLog.actorType,
|
actorType: accessAuditLog.actorType,
|
||||||
actorId: accessAuditLog.actorId,
|
actorId: accessAuditLog.actorId,
|
||||||
resourceId: accessAuditLog.resourceId,
|
resourceId: accessAuditLog.resourceId,
|
||||||
|
siteResourceId: accessAuditLog.siteResourceId,
|
||||||
ip: accessAuditLog.ip,
|
ip: accessAuditLog.ip,
|
||||||
location: accessAuditLog.location,
|
location: accessAuditLog.location,
|
||||||
userAgent: accessAuditLog.userAgent,
|
userAgent: accessAuditLog.userAgent,
|
||||||
@@ -136,37 +137,73 @@ export function queryAccess(data: Q) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function enrichWithResourceDetails(logs: Awaited<ReturnType<typeof queryAccess>>) {
|
async function enrichWithResourceDetails(logs: Awaited<ReturnType<typeof queryAccess>>) {
|
||||||
// If logs database is the same as main database, we can do a join
|
|
||||||
// Otherwise, we need to fetch resource details separately
|
|
||||||
const resourceIds = logs
|
const resourceIds = logs
|
||||||
.map(log => log.resourceId)
|
.map(log => log.resourceId)
|
||||||
.filter((id): id is number => id !== null && id !== undefined);
|
.filter((id): id is number => id !== null && id !== undefined);
|
||||||
|
|
||||||
if (resourceIds.length === 0) {
|
const siteResourceIds = logs
|
||||||
|
.filter(log => log.resourceId == null && log.siteResourceId != null)
|
||||||
|
.map(log => log.siteResourceId)
|
||||||
|
.filter((id): id is number => id !== null && id !== undefined);
|
||||||
|
|
||||||
|
if (resourceIds.length === 0 && siteResourceIds.length === 0) {
|
||||||
return logs.map(log => ({ ...log, resourceName: null, resourceNiceId: null }));
|
return logs.map(log => ({ ...log, resourceName: null, resourceNiceId: null }));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fetch resource details from main database
|
const resourceMap = new Map<number, { name: string | null; niceId: string | null }>();
|
||||||
const resourceDetails = await primaryDb
|
|
||||||
.select({
|
|
||||||
resourceId: resources.resourceId,
|
|
||||||
name: resources.name,
|
|
||||||
niceId: resources.niceId
|
|
||||||
})
|
|
||||||
.from(resources)
|
|
||||||
.where(inArray(resources.resourceId, resourceIds));
|
|
||||||
|
|
||||||
// Create a map for quick lookup
|
if (resourceIds.length > 0) {
|
||||||
const resourceMap = new Map(
|
const resourceDetails = await primaryDb
|
||||||
resourceDetails.map(r => [r.resourceId, { name: r.name, niceId: r.niceId }])
|
.select({
|
||||||
);
|
resourceId: resources.resourceId,
|
||||||
|
name: resources.name,
|
||||||
|
niceId: resources.niceId
|
||||||
|
})
|
||||||
|
.from(resources)
|
||||||
|
.where(inArray(resources.resourceId, resourceIds));
|
||||||
|
|
||||||
|
for (const r of resourceDetails) {
|
||||||
|
resourceMap.set(r.resourceId, { name: r.name, niceId: r.niceId });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const siteResourceMap = new Map<number, { name: string | null; niceId: string | null }>();
|
||||||
|
|
||||||
|
if (siteResourceIds.length > 0) {
|
||||||
|
const siteResourceDetails = await primaryDb
|
||||||
|
.select({
|
||||||
|
siteResourceId: siteResources.siteResourceId,
|
||||||
|
name: siteResources.name,
|
||||||
|
niceId: siteResources.niceId
|
||||||
|
})
|
||||||
|
.from(siteResources)
|
||||||
|
.where(inArray(siteResources.siteResourceId, siteResourceIds));
|
||||||
|
|
||||||
|
for (const r of siteResourceDetails) {
|
||||||
|
siteResourceMap.set(r.siteResourceId, { name: r.name, niceId: r.niceId });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Enrich logs with resource details
|
// Enrich logs with resource details
|
||||||
return logs.map(log => ({
|
return logs.map(log => {
|
||||||
...log,
|
if (log.resourceId != null) {
|
||||||
resourceName: log.resourceId ? resourceMap.get(log.resourceId)?.name ?? null : null,
|
const details = resourceMap.get(log.resourceId);
|
||||||
resourceNiceId: log.resourceId ? resourceMap.get(log.resourceId)?.niceId ?? null : null
|
return {
|
||||||
}));
|
...log,
|
||||||
|
resourceName: details?.name ?? null,
|
||||||
|
resourceNiceId: details?.niceId ?? null
|
||||||
|
};
|
||||||
|
} else if (log.siteResourceId != null) {
|
||||||
|
const details = siteResourceMap.get(log.siteResourceId);
|
||||||
|
return {
|
||||||
|
...log,
|
||||||
|
resourceId: log.siteResourceId,
|
||||||
|
resourceName: details?.name ?? null,
|
||||||
|
resourceNiceId: details?.niceId ?? null
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { ...log, resourceName: null, resourceNiceId: null };
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function countAccessQuery(data: Q) {
|
export function countAccessQuery(data: Q) {
|
||||||
@@ -212,11 +249,23 @@ async function queryUniqueFilterAttributes(
|
|||||||
.from(accessAuditLog)
|
.from(accessAuditLog)
|
||||||
.where(baseConditions);
|
.where(baseConditions);
|
||||||
|
|
||||||
|
// Get unique siteResources (only for logs where resourceId is null)
|
||||||
|
const uniqueSiteResources = await logsDb
|
||||||
|
.selectDistinct({
|
||||||
|
id: accessAuditLog.siteResourceId
|
||||||
|
})
|
||||||
|
.from(accessAuditLog)
|
||||||
|
.where(and(baseConditions, isNull(accessAuditLog.resourceId)));
|
||||||
|
|
||||||
// Fetch resource names from main database for the unique resource IDs
|
// Fetch resource names from main database for the unique resource IDs
|
||||||
const resourceIds = uniqueResources
|
const resourceIds = uniqueResources
|
||||||
.map(row => row.id)
|
.map(row => row.id)
|
||||||
.filter((id): id is number => id !== null);
|
.filter((id): id is number => id !== null);
|
||||||
|
|
||||||
|
const siteResourceIds = uniqueSiteResources
|
||||||
|
.map(row => row.id)
|
||||||
|
.filter((id): id is number => id !== null);
|
||||||
|
|
||||||
let resourcesWithNames: Array<{ id: number; name: string | null }> = [];
|
let resourcesWithNames: Array<{ id: number; name: string | null }> = [];
|
||||||
|
|
||||||
if (resourceIds.length > 0) {
|
if (resourceIds.length > 0) {
|
||||||
@@ -228,10 +277,31 @@ async function queryUniqueFilterAttributes(
|
|||||||
.from(resources)
|
.from(resources)
|
||||||
.where(inArray(resources.resourceId, resourceIds));
|
.where(inArray(resources.resourceId, resourceIds));
|
||||||
|
|
||||||
resourcesWithNames = resourceDetails.map(r => ({
|
resourcesWithNames = [
|
||||||
id: r.resourceId,
|
...resourcesWithNames,
|
||||||
name: r.name
|
...resourceDetails.map(r => ({
|
||||||
}));
|
id: r.resourceId,
|
||||||
|
name: r.name
|
||||||
|
}))
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
if (siteResourceIds.length > 0) {
|
||||||
|
const siteResourceDetails = await primaryDb
|
||||||
|
.select({
|
||||||
|
siteResourceId: siteResources.siteResourceId,
|
||||||
|
name: siteResources.name
|
||||||
|
})
|
||||||
|
.from(siteResources)
|
||||||
|
.where(inArray(siteResources.siteResourceId, siteResourceIds));
|
||||||
|
|
||||||
|
resourcesWithNames = [
|
||||||
|
...resourcesWithNames,
|
||||||
|
...siteResourceDetails.map(r => ({
|
||||||
|
id: r.siteResourceId,
|
||||||
|
name: r.name
|
||||||
|
}))
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -120,6 +120,18 @@ async function capRetentionDays(
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Cap action log retention if it exceeds the limit
|
||||||
|
if (
|
||||||
|
org.settingsLogRetentionDaysConnection !== null &&
|
||||||
|
org.settingsLogRetentionDaysConnection > maxRetentionDays
|
||||||
|
) {
|
||||||
|
updates.settingsLogRetentionDaysConnection = maxRetentionDays;
|
||||||
|
needsUpdate = true;
|
||||||
|
logger.info(
|
||||||
|
`Capping connection log retention from ${org.settingsLogRetentionDaysConnection} to ${maxRetentionDays} days for org ${orgId}`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
// Apply updates if needed
|
// Apply updates if needed
|
||||||
if (needsUpdate) {
|
if (needsUpdate) {
|
||||||
await db.update(orgs).set(updates).where(eq(orgs.orgId, orgId));
|
await db.update(orgs).set(updates).where(eq(orgs.orgId, orgId));
|
||||||
@@ -262,6 +274,10 @@ async function disableFeature(
|
|||||||
await disableActionLogs(orgId);
|
await disableActionLogs(orgId);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case TierFeature.ConnectionLogs:
|
||||||
|
await disableConnectionLogs(orgId);
|
||||||
|
break;
|
||||||
|
|
||||||
case TierFeature.RotateCredentials:
|
case TierFeature.RotateCredentials:
|
||||||
await disableRotateCredentials(orgId);
|
await disableRotateCredentials(orgId);
|
||||||
break;
|
break;
|
||||||
@@ -458,6 +474,15 @@ async function disableActionLogs(orgId: string): Promise<void> {
|
|||||||
logger.info(`Disabled action logs for org ${orgId}`);
|
logger.info(`Disabled action logs for org ${orgId}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async function disableConnectionLogs(orgId: string): Promise<void> {
|
||||||
|
await db
|
||||||
|
.update(orgs)
|
||||||
|
.set({ settingsLogRetentionDaysConnection: 0 })
|
||||||
|
.where(eq(orgs.orgId, orgId));
|
||||||
|
|
||||||
|
logger.info(`Disabled connection logs for org ${orgId}`);
|
||||||
|
}
|
||||||
|
|
||||||
async function disableRotateCredentials(orgId: string): Promise<void> {}
|
async function disableRotateCredentials(orgId: string): Promise<void> {}
|
||||||
|
|
||||||
async function disableMaintencePage(orgId: string): Promise<void> {
|
async function disableMaintencePage(orgId: string): Promise<void> {
|
||||||
|
|||||||
@@ -0,0 +1,138 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of a proprietary work.
|
||||||
|
*
|
||||||
|
* Copyright (c) 2025 Fossorial, Inc.
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This file is licensed under the Fossorial Commercial License.
|
||||||
|
* You may not use this file except in compliance with the License.
|
||||||
|
* Unauthorized use, copying, modification, or distribution is strictly prohibited.
|
||||||
|
*
|
||||||
|
* This file is not licensed under the AGPLv3.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { Request, Response, NextFunction } from "express";
|
||||||
|
import { z } from "zod";
|
||||||
|
import { db } from "@server/db";
|
||||||
|
import { eventStreamingDestinations } from "@server/db";
|
||||||
|
import { logStreamingManager } from "#private/lib/logStreaming";
|
||||||
|
import response from "@server/lib/response";
|
||||||
|
import HttpCode from "@server/types/HttpCode";
|
||||||
|
import createHttpError from "http-errors";
|
||||||
|
import logger from "@server/logger";
|
||||||
|
import { fromError } from "zod-validation-error";
|
||||||
|
import { OpenAPITags, registry } from "@server/openApi";
|
||||||
|
|
||||||
|
const paramsSchema = z.strictObject({
|
||||||
|
orgId: z.string().nonempty()
|
||||||
|
});
|
||||||
|
|
||||||
|
const bodySchema = z.strictObject({
|
||||||
|
type: z.string().nonempty(),
|
||||||
|
config: z.string().nonempty(),
|
||||||
|
enabled: z.boolean().optional().default(true),
|
||||||
|
sendConnectionLogs: z.boolean().optional().default(false),
|
||||||
|
sendRequestLogs: z.boolean().optional().default(false),
|
||||||
|
sendActionLogs: z.boolean().optional().default(false),
|
||||||
|
sendAccessLogs: z.boolean().optional().default(false)
|
||||||
|
});
|
||||||
|
|
||||||
|
export type CreateEventStreamingDestinationResponse = {
|
||||||
|
destinationId: number;
|
||||||
|
};
|
||||||
|
|
||||||
|
registry.registerPath({
|
||||||
|
method: "put",
|
||||||
|
path: "/org/{orgId}/event-streaming-destination",
|
||||||
|
description: "Create an event streaming destination for a specific organization.",
|
||||||
|
tags: [OpenAPITags.Org],
|
||||||
|
request: {
|
||||||
|
params: paramsSchema,
|
||||||
|
body: {
|
||||||
|
content: {
|
||||||
|
"application/json": {
|
||||||
|
schema: bodySchema
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
responses: {}
|
||||||
|
});
|
||||||
|
|
||||||
|
export async function createEventStreamingDestination(
|
||||||
|
req: Request,
|
||||||
|
res: Response,
|
||||||
|
next: NextFunction
|
||||||
|
): Promise<any> {
|
||||||
|
try {
|
||||||
|
const parsedParams = paramsSchema.safeParse(req.params);
|
||||||
|
if (!parsedParams.success) {
|
||||||
|
return next(
|
||||||
|
createHttpError(
|
||||||
|
HttpCode.BAD_REQUEST,
|
||||||
|
fromError(parsedParams.error).toString()
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
const { orgId } = parsedParams.data;
|
||||||
|
|
||||||
|
const parsedBody = bodySchema.safeParse(req.body);
|
||||||
|
if (!parsedBody.success) {
|
||||||
|
return next(
|
||||||
|
createHttpError(
|
||||||
|
HttpCode.BAD_REQUEST,
|
||||||
|
fromError(parsedBody.error).toString()
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
const { type, config, enabled } = parsedBody.data;
|
||||||
|
|
||||||
|
const now = Date.now();
|
||||||
|
|
||||||
|
const [destination] = await db
|
||||||
|
.insert(eventStreamingDestinations)
|
||||||
|
.values({
|
||||||
|
orgId,
|
||||||
|
type,
|
||||||
|
config,
|
||||||
|
enabled,
|
||||||
|
createdAt: now,
|
||||||
|
updatedAt: now,
|
||||||
|
sendAccessLogs: parsedBody.data.sendAccessLogs,
|
||||||
|
sendActionLogs: parsedBody.data.sendActionLogs,
|
||||||
|
sendConnectionLogs: parsedBody.data.sendConnectionLogs,
|
||||||
|
sendRequestLogs: parsedBody.data.sendRequestLogs
|
||||||
|
})
|
||||||
|
.returning();
|
||||||
|
|
||||||
|
// Seed cursors at the current max row id for every log type so this
|
||||||
|
// destination only receives events written *after* it was created.
|
||||||
|
// Fire-and-forget: a failure here is non-fatal; the manager has a lazy
|
||||||
|
// fallback that will seed at the next poll if these rows are missing.
|
||||||
|
logStreamingManager
|
||||||
|
.initializeCursorsForDestination(destination.destinationId, orgId)
|
||||||
|
.catch((err) =>
|
||||||
|
logger.error(
|
||||||
|
"createEventStreamingDestination: failed to initialise streaming cursors",
|
||||||
|
err
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
return response<CreateEventStreamingDestinationResponse>(res, {
|
||||||
|
data: {
|
||||||
|
destinationId: destination.destinationId
|
||||||
|
},
|
||||||
|
success: true,
|
||||||
|
error: false,
|
||||||
|
message: "Event streaming destination created successfully",
|
||||||
|
status: HttpCode.CREATED
|
||||||
|
});
|
||||||
|
} catch (error) {
|
||||||
|
logger.error(error);
|
||||||
|
return next(
|
||||||
|
createHttpError(HttpCode.INTERNAL_SERVER_ERROR, "An error occurred")
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,103 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of a proprietary work.
|
||||||
|
*
|
||||||
|
* Copyright (c) 2025 Fossorial, Inc.
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This file is licensed under the Fossorial Commercial License.
|
||||||
|
* You may not use this file except in compliance with the License.
|
||||||
|
* Unauthorized use, copying, modification, or distribution is strictly prohibited.
|
||||||
|
*
|
||||||
|
* This file is not licensed under the AGPLv3.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { Request, Response, NextFunction } from "express";
|
||||||
|
import { z } from "zod";
|
||||||
|
import { db } from "@server/db";
|
||||||
|
import { eventStreamingDestinations } from "@server/db";
|
||||||
|
import response from "@server/lib/response";
|
||||||
|
import HttpCode from "@server/types/HttpCode";
|
||||||
|
import createHttpError from "http-errors";
|
||||||
|
import logger from "@server/logger";
|
||||||
|
import { fromError } from "zod-validation-error";
|
||||||
|
import { OpenAPITags, registry } from "@server/openApi";
|
||||||
|
import { and, eq } from "drizzle-orm";
|
||||||
|
|
||||||
|
const paramsSchema = z
|
||||||
|
.object({
|
||||||
|
orgId: z.string().nonempty(),
|
||||||
|
destinationId: z.coerce.number<number>()
|
||||||
|
})
|
||||||
|
.strict();
|
||||||
|
|
||||||
|
registry.registerPath({
|
||||||
|
method: "delete",
|
||||||
|
path: "/org/{orgId}/event-streaming-destination/{destinationId}",
|
||||||
|
description: "Delete an event streaming destination for a specific organization.",
|
||||||
|
tags: [OpenAPITags.Org],
|
||||||
|
request: {
|
||||||
|
params: paramsSchema
|
||||||
|
},
|
||||||
|
responses: {}
|
||||||
|
});
|
||||||
|
|
||||||
|
export async function deleteEventStreamingDestination(
|
||||||
|
req: Request,
|
||||||
|
res: Response,
|
||||||
|
next: NextFunction
|
||||||
|
): Promise<any> {
|
||||||
|
try {
|
||||||
|
const parsedParams = paramsSchema.safeParse(req.params);
|
||||||
|
if (!parsedParams.success) {
|
||||||
|
return next(
|
||||||
|
createHttpError(
|
||||||
|
HttpCode.BAD_REQUEST,
|
||||||
|
fromError(parsedParams.error).toString()
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
const { orgId, destinationId } = parsedParams.data;
|
||||||
|
|
||||||
|
const [existing] = await db
|
||||||
|
.select()
|
||||||
|
.from(eventStreamingDestinations)
|
||||||
|
.where(
|
||||||
|
and(
|
||||||
|
eq(eventStreamingDestinations.destinationId, destinationId),
|
||||||
|
eq(eventStreamingDestinations.orgId, orgId)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
if (!existing) {
|
||||||
|
return next(
|
||||||
|
createHttpError(
|
||||||
|
HttpCode.NOT_FOUND,
|
||||||
|
"Event streaming destination not found"
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
await db
|
||||||
|
.delete(eventStreamingDestinations)
|
||||||
|
.where(
|
||||||
|
and(
|
||||||
|
eq(eventStreamingDestinations.destinationId, destinationId),
|
||||||
|
eq(eventStreamingDestinations.orgId, orgId)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
return response<null>(res, {
|
||||||
|
data: null,
|
||||||
|
success: true,
|
||||||
|
error: false,
|
||||||
|
message: "Event streaming destination deleted successfully",
|
||||||
|
status: HttpCode.OK
|
||||||
|
});
|
||||||
|
} catch (error) {
|
||||||
|
logger.error(error);
|
||||||
|
return next(
|
||||||
|
createHttpError(HttpCode.INTERNAL_SERVER_ERROR, "An error occurred")
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
17
server/private/routers/eventStreamingDestination/index.ts
Normal file
17
server/private/routers/eventStreamingDestination/index.ts
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of a proprietary work.
|
||||||
|
*
|
||||||
|
* Copyright (c) 2025 Fossorial, Inc.
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This file is licensed under the Fossorial Commercial License.
|
||||||
|
* You may not use this file except in compliance with the License.
|
||||||
|
* Unauthorized use, copying, modification, or distribution is strictly prohibited.
|
||||||
|
*
|
||||||
|
* This file is not licensed under the AGPLv3.
|
||||||
|
*/
|
||||||
|
|
||||||
|
export * from "./createEventStreamingDestination";
|
||||||
|
export * from "./updateEventStreamingDestination";
|
||||||
|
export * from "./deleteEventStreamingDestination";
|
||||||
|
export * from "./listEventStreamingDestinations";
|
||||||
@@ -0,0 +1,144 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of a proprietary work.
|
||||||
|
*
|
||||||
|
* Copyright (c) 2025 Fossorial, Inc.
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This file is licensed under the Fossorial Commercial License.
|
||||||
|
* You may not use this file except in compliance with the License.
|
||||||
|
* Unauthorized use, copying, modification, or distribution is strictly prohibited.
|
||||||
|
*
|
||||||
|
* This file is not licensed under the AGPLv3.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { Request, Response, NextFunction } from "express";
|
||||||
|
import { z } from "zod";
|
||||||
|
import { db } from "@server/db";
|
||||||
|
import { eventStreamingDestinations } from "@server/db";
|
||||||
|
import response from "@server/lib/response";
|
||||||
|
import HttpCode from "@server/types/HttpCode";
|
||||||
|
import createHttpError from "http-errors";
|
||||||
|
import logger from "@server/logger";
|
||||||
|
import { fromError } from "zod-validation-error";
|
||||||
|
import { OpenAPITags, registry } from "@server/openApi";
|
||||||
|
import { eq, sql } from "drizzle-orm";
|
||||||
|
|
||||||
|
const paramsSchema = z.strictObject({
|
||||||
|
orgId: z.string().nonempty()
|
||||||
|
});
|
||||||
|
|
||||||
|
const querySchema = z.strictObject({
|
||||||
|
limit: z
|
||||||
|
.string()
|
||||||
|
.optional()
|
||||||
|
.default("1000")
|
||||||
|
.transform(Number)
|
||||||
|
.pipe(z.int().nonnegative()),
|
||||||
|
offset: z
|
||||||
|
.string()
|
||||||
|
.optional()
|
||||||
|
.default("0")
|
||||||
|
.transform(Number)
|
||||||
|
.pipe(z.int().nonnegative())
|
||||||
|
});
|
||||||
|
|
||||||
|
export type ListEventStreamingDestinationsResponse = {
|
||||||
|
destinations: {
|
||||||
|
destinationId: number;
|
||||||
|
orgId: string;
|
||||||
|
type: string;
|
||||||
|
config: string;
|
||||||
|
enabled: boolean;
|
||||||
|
createdAt: number;
|
||||||
|
updatedAt: number;
|
||||||
|
sendConnectionLogs: boolean;
|
||||||
|
sendRequestLogs: boolean;
|
||||||
|
sendActionLogs: boolean;
|
||||||
|
sendAccessLogs: boolean;
|
||||||
|
}[];
|
||||||
|
pagination: {
|
||||||
|
total: number;
|
||||||
|
limit: number;
|
||||||
|
offset: number;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
async function query(orgId: string, limit: number, offset: number) {
|
||||||
|
const res = await db
|
||||||
|
.select()
|
||||||
|
.from(eventStreamingDestinations)
|
||||||
|
.where(eq(eventStreamingDestinations.orgId, orgId))
|
||||||
|
.orderBy(sql`${eventStreamingDestinations.createdAt} DESC`)
|
||||||
|
.limit(limit)
|
||||||
|
.offset(offset);
|
||||||
|
return res;
|
||||||
|
}
|
||||||
|
|
||||||
|
registry.registerPath({
|
||||||
|
method: "get",
|
||||||
|
path: "/org/{orgId}/event-streaming-destination",
|
||||||
|
description: "List all event streaming destinations for a specific organization.",
|
||||||
|
tags: [OpenAPITags.Org],
|
||||||
|
request: {
|
||||||
|
query: querySchema,
|
||||||
|
params: paramsSchema
|
||||||
|
},
|
||||||
|
responses: {}
|
||||||
|
});
|
||||||
|
|
||||||
|
export async function listEventStreamingDestinations(
|
||||||
|
req: Request,
|
||||||
|
res: Response,
|
||||||
|
next: NextFunction
|
||||||
|
): Promise<any> {
|
||||||
|
try {
|
||||||
|
const parsedParams = paramsSchema.safeParse(req.params);
|
||||||
|
if (!parsedParams.success) {
|
||||||
|
return next(
|
||||||
|
createHttpError(
|
||||||
|
HttpCode.BAD_REQUEST,
|
||||||
|
fromError(parsedParams.error).toString()
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
const { orgId } = parsedParams.data;
|
||||||
|
|
||||||
|
const parsedQuery = querySchema.safeParse(req.query);
|
||||||
|
if (!parsedQuery.success) {
|
||||||
|
return next(
|
||||||
|
createHttpError(
|
||||||
|
HttpCode.BAD_REQUEST,
|
||||||
|
fromError(parsedQuery.error).toString()
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
const { limit, offset } = parsedQuery.data;
|
||||||
|
|
||||||
|
const list = await query(orgId, limit, offset);
|
||||||
|
|
||||||
|
const [{ count }] = await db
|
||||||
|
.select({ count: sql<number>`count(*)` })
|
||||||
|
.from(eventStreamingDestinations)
|
||||||
|
.where(eq(eventStreamingDestinations.orgId, orgId));
|
||||||
|
|
||||||
|
return response<ListEventStreamingDestinationsResponse>(res, {
|
||||||
|
data: {
|
||||||
|
destinations: list,
|
||||||
|
pagination: {
|
||||||
|
total: count,
|
||||||
|
limit,
|
||||||
|
offset
|
||||||
|
}
|
||||||
|
},
|
||||||
|
success: true,
|
||||||
|
error: false,
|
||||||
|
message: "Event streaming destinations retrieved successfully",
|
||||||
|
status: HttpCode.OK
|
||||||
|
});
|
||||||
|
} catch (error) {
|
||||||
|
logger.error(error);
|
||||||
|
return next(
|
||||||
|
createHttpError(HttpCode.INTERNAL_SERVER_ERROR, "An error occurred")
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,153 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of a proprietary work.
|
||||||
|
*
|
||||||
|
* Copyright (c) 2025 Fossorial, Inc.
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This file is licensed under the Fossorial Commercial License.
|
||||||
|
* You may not use this file except in compliance with the License.
|
||||||
|
* Unauthorized use, copying, modification, or distribution is strictly prohibited.
|
||||||
|
*
|
||||||
|
* This file is not licensed under the AGPLv3.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { Request, Response, NextFunction } from "express";
|
||||||
|
import { z } from "zod";
|
||||||
|
import { db } from "@server/db";
|
||||||
|
import { eventStreamingDestinations } from "@server/db";
|
||||||
|
import response from "@server/lib/response";
|
||||||
|
import HttpCode from "@server/types/HttpCode";
|
||||||
|
import createHttpError from "http-errors";
|
||||||
|
import logger from "@server/logger";
|
||||||
|
import { fromError } from "zod-validation-error";
|
||||||
|
import { OpenAPITags, registry } from "@server/openApi";
|
||||||
|
import { and, eq } from "drizzle-orm";
|
||||||
|
|
||||||
|
|
||||||
|
const paramsSchema = z
|
||||||
|
.object({
|
||||||
|
orgId: z.string().nonempty(),
|
||||||
|
destinationId: z.coerce.number<number>()
|
||||||
|
})
|
||||||
|
.strict();
|
||||||
|
|
||||||
|
const bodySchema = z.strictObject({
|
||||||
|
type: z.string().optional(),
|
||||||
|
config: z.string().optional(),
|
||||||
|
enabled: z.boolean().optional(),
|
||||||
|
sendConnectionLogs: z.boolean().optional(),
|
||||||
|
sendRequestLogs: z.boolean().optional(),
|
||||||
|
sendActionLogs: z.boolean().optional(),
|
||||||
|
sendAccessLogs: z.boolean().optional()
|
||||||
|
});
|
||||||
|
|
||||||
|
export type UpdateEventStreamingDestinationResponse = {
|
||||||
|
destinationId: number;
|
||||||
|
};
|
||||||
|
|
||||||
|
registry.registerPath({
|
||||||
|
method: "post",
|
||||||
|
path: "/org/{orgId}/event-streaming-destination/{destinationId}",
|
||||||
|
description: "Update an event streaming destination for a specific organization.",
|
||||||
|
tags: [OpenAPITags.Org],
|
||||||
|
request: {
|
||||||
|
params: paramsSchema,
|
||||||
|
body: {
|
||||||
|
content: {
|
||||||
|
"application/json": {
|
||||||
|
schema: bodySchema
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
responses: {}
|
||||||
|
});
|
||||||
|
|
||||||
|
export async function updateEventStreamingDestination(
|
||||||
|
req: Request,
|
||||||
|
res: Response,
|
||||||
|
next: NextFunction
|
||||||
|
): Promise<any> {
|
||||||
|
try {
|
||||||
|
const parsedParams = paramsSchema.safeParse(req.params);
|
||||||
|
if (!parsedParams.success) {
|
||||||
|
return next(
|
||||||
|
createHttpError(
|
||||||
|
HttpCode.BAD_REQUEST,
|
||||||
|
fromError(parsedParams.error).toString()
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
const { orgId, destinationId } = parsedParams.data;
|
||||||
|
|
||||||
|
const parsedBody = bodySchema.safeParse(req.body);
|
||||||
|
if (!parsedBody.success) {
|
||||||
|
return next(
|
||||||
|
createHttpError(
|
||||||
|
HttpCode.BAD_REQUEST,
|
||||||
|
fromError(parsedBody.error).toString()
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
const [existing] = await db
|
||||||
|
.select()
|
||||||
|
.from(eventStreamingDestinations)
|
||||||
|
.where(
|
||||||
|
and(
|
||||||
|
eq(eventStreamingDestinations.destinationId, destinationId),
|
||||||
|
eq(eventStreamingDestinations.orgId, orgId)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
if (!existing) {
|
||||||
|
return next(
|
||||||
|
createHttpError(
|
||||||
|
HttpCode.NOT_FOUND,
|
||||||
|
"Event streaming destination not found"
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
const { type, config, enabled, sendAccessLogs, sendActionLogs, sendConnectionLogs, sendRequestLogs } = parsedBody.data;
|
||||||
|
|
||||||
|
const updateData: Record<string, unknown> = {
|
||||||
|
updatedAt: Date.now()
|
||||||
|
};
|
||||||
|
|
||||||
|
if (type !== undefined) updateData.type = type;
|
||||||
|
if (config !== undefined) updateData.config = config;
|
||||||
|
if (enabled !== undefined) updateData.enabled = enabled;
|
||||||
|
if (sendAccessLogs !== undefined) updateData.sendAccessLogs = sendAccessLogs;
|
||||||
|
if (sendActionLogs !== undefined) updateData.sendActionLogs = sendActionLogs;
|
||||||
|
if (sendConnectionLogs !== undefined) updateData.sendConnectionLogs = sendConnectionLogs;
|
||||||
|
if (sendRequestLogs !== undefined) updateData.sendRequestLogs = sendRequestLogs;
|
||||||
|
|
||||||
|
await db
|
||||||
|
.update(eventStreamingDestinations)
|
||||||
|
.set(updateData)
|
||||||
|
.where(
|
||||||
|
and(
|
||||||
|
eq(eventStreamingDestinations.destinationId, destinationId),
|
||||||
|
eq(eventStreamingDestinations.orgId, orgId)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
return response<UpdateEventStreamingDestinationResponse>(res, {
|
||||||
|
data: {
|
||||||
|
destinationId
|
||||||
|
},
|
||||||
|
success: true,
|
||||||
|
error: false,
|
||||||
|
message: "Event streaming destination updated successfully",
|
||||||
|
status: HttpCode.OK
|
||||||
|
});
|
||||||
|
} catch (error) {
|
||||||
|
logger.error(error);
|
||||||
|
return next(
|
||||||
|
createHttpError(HttpCode.INTERNAL_SERVER_ERROR, "An error occurred")
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -28,6 +28,7 @@ import * as approval from "#private/routers/approvals";
|
|||||||
import * as ssh from "#private/routers/ssh";
|
import * as ssh from "#private/routers/ssh";
|
||||||
import * as user from "#private/routers/user";
|
import * as user from "#private/routers/user";
|
||||||
import * as siteProvisioning from "#private/routers/siteProvisioning";
|
import * as siteProvisioning from "#private/routers/siteProvisioning";
|
||||||
|
import * as eventStreamingDestination from "#private/routers/eventStreamingDestination";
|
||||||
|
|
||||||
import {
|
import {
|
||||||
verifyOrgAccess,
|
verifyOrgAccess,
|
||||||
@@ -615,3 +616,39 @@ authenticated.patch(
|
|||||||
logActionAudit(ActionsEnum.updateSiteProvisioningKey),
|
logActionAudit(ActionsEnum.updateSiteProvisioningKey),
|
||||||
siteProvisioning.updateSiteProvisioningKey
|
siteProvisioning.updateSiteProvisioningKey
|
||||||
);
|
);
|
||||||
|
|
||||||
|
authenticated.put(
|
||||||
|
"/org/:orgId/event-streaming-destination",
|
||||||
|
verifyValidLicense,
|
||||||
|
verifyOrgAccess,
|
||||||
|
verifyLimits,
|
||||||
|
verifyUserHasAction(ActionsEnum.createEventStreamingDestination),
|
||||||
|
logActionAudit(ActionsEnum.createEventStreamingDestination),
|
||||||
|
eventStreamingDestination.createEventStreamingDestination
|
||||||
|
);
|
||||||
|
|
||||||
|
authenticated.post(
|
||||||
|
"/org/:orgId/event-streaming-destination/:destinationId",
|
||||||
|
verifyValidLicense,
|
||||||
|
verifyOrgAccess,
|
||||||
|
verifyLimits,
|
||||||
|
verifyUserHasAction(ActionsEnum.updateEventStreamingDestination),
|
||||||
|
logActionAudit(ActionsEnum.updateEventStreamingDestination),
|
||||||
|
eventStreamingDestination.updateEventStreamingDestination
|
||||||
|
);
|
||||||
|
|
||||||
|
authenticated.delete(
|
||||||
|
"/org/:orgId/event-streaming-destination/:destinationId",
|
||||||
|
verifyValidLicense,
|
||||||
|
verifyOrgAccess,
|
||||||
|
verifyUserHasAction(ActionsEnum.deleteEventStreamingDestination),
|
||||||
|
logActionAudit(ActionsEnum.deleteEventStreamingDestination),
|
||||||
|
eventStreamingDestination.deleteEventStreamingDestination
|
||||||
|
);
|
||||||
|
|
||||||
|
authenticated.get(
|
||||||
|
"/org/:orgId/event-streaming-destinations",
|
||||||
|
verifyOrgAccess,
|
||||||
|
verifyUserHasAction(ActionsEnum.listEventStreamingDestinations),
|
||||||
|
eventStreamingDestination.listEventStreamingDestinations
|
||||||
|
);
|
||||||
|
|||||||
@@ -1,27 +1,33 @@
|
|||||||
import { db, logsDb } from "@server/db";
|
/*
|
||||||
|
* This file is part of a proprietary work.
|
||||||
|
*
|
||||||
|
* Copyright (c) 2025 Fossorial, Inc.
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This file is licensed under the Fossorial Commercial License.
|
||||||
|
* You may not use this file except in compliance with the License.
|
||||||
|
* Unauthorized use, copying, modification, or distribution is strictly prohibited.
|
||||||
|
*
|
||||||
|
* This file is not licensed under the AGPLv3.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { db } from "@server/db";
|
||||||
import { MessageHandler } from "@server/routers/ws";
|
import { MessageHandler } from "@server/routers/ws";
|
||||||
import { connectionAuditLog, sites, Newt, clients, orgs } from "@server/db";
|
import { sites, Newt, clients, orgs } from "@server/db";
|
||||||
import { and, eq, lt, inArray } from "drizzle-orm";
|
import { and, eq, inArray } from "drizzle-orm";
|
||||||
import logger from "@server/logger";
|
import logger from "@server/logger";
|
||||||
import { inflate } from "zlib";
|
import { inflate } from "zlib";
|
||||||
import { promisify } from "util";
|
import { promisify } from "util";
|
||||||
import { calculateCutoffTimestamp } from "@server/lib/cleanupLogs";
|
import {
|
||||||
|
logConnectionAudit,
|
||||||
|
flushConnectionLogToDb,
|
||||||
|
cleanUpOldLogs
|
||||||
|
} from "#private/lib/logConnectionAudit";
|
||||||
|
|
||||||
|
export { flushConnectionLogToDb, cleanUpOldLogs };
|
||||||
|
|
||||||
const zlibInflate = promisify(inflate);
|
const zlibInflate = promisify(inflate);
|
||||||
|
|
||||||
// Retry configuration for deadlock handling
|
|
||||||
const MAX_RETRIES = 3;
|
|
||||||
const BASE_DELAY_MS = 50;
|
|
||||||
|
|
||||||
// How often to flush accumulated connection log data to the database
|
|
||||||
const FLUSH_INTERVAL_MS = 30_000; // 30 seconds
|
|
||||||
|
|
||||||
// Maximum number of records to buffer before forcing a flush
|
|
||||||
const MAX_BUFFERED_RECORDS = 500;
|
|
||||||
|
|
||||||
// Maximum number of records to insert in a single batch
|
|
||||||
const INSERT_BATCH_SIZE = 100;
|
|
||||||
|
|
||||||
interface ConnectionSessionData {
|
interface ConnectionSessionData {
|
||||||
sessionId: string;
|
sessionId: string;
|
||||||
resourceId: number;
|
resourceId: number;
|
||||||
@@ -34,64 +40,6 @@ interface ConnectionSessionData {
|
|||||||
bytesRx?: number;
|
bytesRx?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ConnectionLogRecord {
|
|
||||||
sessionId: string;
|
|
||||||
siteResourceId: number;
|
|
||||||
orgId: string;
|
|
||||||
siteId: number;
|
|
||||||
clientId: number | null;
|
|
||||||
userId: string | null;
|
|
||||||
sourceAddr: string;
|
|
||||||
destAddr: string;
|
|
||||||
protocol: string;
|
|
||||||
startedAt: number; // epoch seconds
|
|
||||||
endedAt: number | null;
|
|
||||||
bytesTx: number | null;
|
|
||||||
bytesRx: number | null;
|
|
||||||
}
|
|
||||||
|
|
||||||
// In-memory buffer of records waiting to be flushed
|
|
||||||
let buffer: ConnectionLogRecord[] = [];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Check if an error is a deadlock error
|
|
||||||
*/
|
|
||||||
function isDeadlockError(error: any): boolean {
|
|
||||||
return (
|
|
||||||
error?.code === "40P01" ||
|
|
||||||
error?.cause?.code === "40P01" ||
|
|
||||||
(error?.message && error.message.includes("deadlock"))
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Execute a function with retry logic for deadlock handling
|
|
||||||
*/
|
|
||||||
async function withDeadlockRetry<T>(
|
|
||||||
operation: () => Promise<T>,
|
|
||||||
context: string
|
|
||||||
): Promise<T> {
|
|
||||||
let attempt = 0;
|
|
||||||
while (true) {
|
|
||||||
try {
|
|
||||||
return await operation();
|
|
||||||
} catch (error: any) {
|
|
||||||
if (isDeadlockError(error) && attempt < MAX_RETRIES) {
|
|
||||||
attempt++;
|
|
||||||
const baseDelay = Math.pow(2, attempt - 1) * BASE_DELAY_MS;
|
|
||||||
const jitter = Math.random() * baseDelay;
|
|
||||||
const delay = baseDelay + jitter;
|
|
||||||
logger.warn(
|
|
||||||
`Deadlock detected in ${context}, retrying attempt ${attempt}/${MAX_RETRIES} after ${delay.toFixed(0)}ms`
|
|
||||||
);
|
|
||||||
await new Promise((resolve) => setTimeout(resolve, delay));
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
throw error;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Decompress a base64-encoded zlib-compressed string into parsed JSON.
|
* Decompress a base64-encoded zlib-compressed string into parsed JSON.
|
||||||
*/
|
*/
|
||||||
@@ -125,105 +73,6 @@ function toEpochSeconds(isoString: string | undefined | null): number | null {
|
|||||||
return Math.floor(ms / 1000);
|
return Math.floor(ms / 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Flush all buffered connection log records to the database.
|
|
||||||
*
|
|
||||||
* Swaps out the buffer before writing so that any records added during the
|
|
||||||
* flush are captured in the new buffer rather than being lost. Entries that
|
|
||||||
* fail to write are re-queued back into the buffer so they will be retried
|
|
||||||
* on the next flush.
|
|
||||||
*
|
|
||||||
* This function is exported so that the application's graceful-shutdown
|
|
||||||
* cleanup handler can call it before the process exits.
|
|
||||||
*/
|
|
||||||
export async function flushConnectionLogToDb(): Promise<void> {
|
|
||||||
if (buffer.length === 0) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Atomically swap out the buffer so new data keeps flowing in
|
|
||||||
const snapshot = buffer;
|
|
||||||
buffer = [];
|
|
||||||
|
|
||||||
logger.debug(
|
|
||||||
`Flushing ${snapshot.length} connection log record(s) to the database`
|
|
||||||
);
|
|
||||||
|
|
||||||
// Insert in batches to avoid overly large SQL statements
|
|
||||||
for (let i = 0; i < snapshot.length; i += INSERT_BATCH_SIZE) {
|
|
||||||
const batch = snapshot.slice(i, i + INSERT_BATCH_SIZE);
|
|
||||||
|
|
||||||
try {
|
|
||||||
await withDeadlockRetry(async () => {
|
|
||||||
await logsDb.insert(connectionAuditLog).values(batch);
|
|
||||||
}, `flush connection log batch (${batch.length} records)`);
|
|
||||||
} catch (error) {
|
|
||||||
logger.error(
|
|
||||||
`Failed to flush connection log batch of ${batch.length} records:`,
|
|
||||||
error
|
|
||||||
);
|
|
||||||
|
|
||||||
// Re-queue the failed batch so it is retried on the next flush
|
|
||||||
buffer = [...batch, ...buffer];
|
|
||||||
|
|
||||||
// Cap buffer to prevent unbounded growth if DB is unreachable
|
|
||||||
if (buffer.length > MAX_BUFFERED_RECORDS * 5) {
|
|
||||||
const dropped = buffer.length - MAX_BUFFERED_RECORDS * 5;
|
|
||||||
buffer = buffer.slice(0, MAX_BUFFERED_RECORDS * 5);
|
|
||||||
logger.warn(
|
|
||||||
`Connection log buffer overflow, dropped ${dropped} oldest records`
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Stop trying further batches from this snapshot — they'll be
|
|
||||||
// picked up by the next flush via the re-queued records above
|
|
||||||
const remaining = snapshot.slice(i + INSERT_BATCH_SIZE);
|
|
||||||
if (remaining.length > 0) {
|
|
||||||
buffer = [...remaining, ...buffer];
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
const flushTimer = setInterval(async () => {
|
|
||||||
try {
|
|
||||||
await flushConnectionLogToDb();
|
|
||||||
} catch (error) {
|
|
||||||
logger.error(
|
|
||||||
"Unexpected error during periodic connection log flush:",
|
|
||||||
error
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}, FLUSH_INTERVAL_MS);
|
|
||||||
|
|
||||||
// Calling unref() means this timer will not keep the Node.js event loop alive
|
|
||||||
// on its own — the process can still exit normally when there is no other work
|
|
||||||
// left. The graceful-shutdown path will call flushConnectionLogToDb() explicitly
|
|
||||||
// before process.exit(), so no data is lost.
|
|
||||||
flushTimer.unref();
|
|
||||||
|
|
||||||
export async function cleanUpOldLogs(orgId: string, retentionDays: number) {
|
|
||||||
const cutoffTimestamp = calculateCutoffTimestamp(retentionDays);
|
|
||||||
|
|
||||||
try {
|
|
||||||
await logsDb
|
|
||||||
.delete(connectionAuditLog)
|
|
||||||
.where(
|
|
||||||
and(
|
|
||||||
lt(connectionAuditLog.startedAt, cutoffTimestamp),
|
|
||||||
eq(connectionAuditLog.orgId, orgId)
|
|
||||||
)
|
|
||||||
);
|
|
||||||
|
|
||||||
// logger.debug(
|
|
||||||
// `Cleaned up connection audit logs older than ${retentionDays} days`
|
|
||||||
// );
|
|
||||||
} catch (error) {
|
|
||||||
logger.error("Error cleaning up old connection audit logs:", error);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export const handleConnectionLogMessage: MessageHandler = async (context) => {
|
export const handleConnectionLogMessage: MessageHandler = async (context) => {
|
||||||
const { message, client } = context;
|
const { message, client } = context;
|
||||||
const newt = client as Newt;
|
const newt = client as Newt;
|
||||||
@@ -277,13 +126,16 @@ export const handleConnectionLogMessage: MessageHandler = async (context) => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.debug(`Sessions: ${JSON.stringify(sessions)}`)
|
logger.debug(`Sessions: ${JSON.stringify(sessions)}`);
|
||||||
|
|
||||||
// Build a map from sourceAddr → { clientId, userId } by querying clients
|
// Build a map from sourceAddr → { clientId, userId } by querying clients
|
||||||
// whose subnet field matches exactly. Client subnets are stored with the
|
// whose subnet field matches exactly. Client subnets are stored with the
|
||||||
// org's CIDR suffix (e.g. "100.90.128.5/16"), so we reconstruct that from
|
// org's CIDR suffix (e.g. "100.90.128.5/16"), so we reconstruct that from
|
||||||
// each unique sourceAddr + the org's CIDR suffix and do a targeted IN query.
|
// each unique sourceAddr + the org's CIDR suffix and do a targeted IN query.
|
||||||
const ipToClient = new Map<string, { clientId: number; userId: string | null }>();
|
const ipToClient = new Map<
|
||||||
|
string,
|
||||||
|
{ clientId: number; userId: string | null }
|
||||||
|
>();
|
||||||
|
|
||||||
if (cidrSuffix) {
|
if (cidrSuffix) {
|
||||||
// Collect unique source addresses so we only query for what we need
|
// Collect unique source addresses so we only query for what we need
|
||||||
@@ -296,13 +148,11 @@ export const handleConnectionLogMessage: MessageHandler = async (context) => {
|
|||||||
|
|
||||||
if (uniqueSourceAddrs.size > 0) {
|
if (uniqueSourceAddrs.size > 0) {
|
||||||
// Construct the exact subnet strings as stored in the DB
|
// Construct the exact subnet strings as stored in the DB
|
||||||
const subnetQueries = Array.from(uniqueSourceAddrs).map(
|
const subnetQueries = Array.from(uniqueSourceAddrs).map((addr) => {
|
||||||
(addr) => {
|
// Strip port if present (e.g. "100.90.128.1:38004" → "100.90.128.1")
|
||||||
// Strip port if present (e.g. "100.90.128.1:38004" → "100.90.128.1")
|
const ip = addr.includes(":") ? addr.split(":")[0] : addr;
|
||||||
const ip = addr.includes(":") ? addr.split(":")[0] : addr;
|
return `${ip}${cidrSuffix}`;
|
||||||
return `${ip}${cidrSuffix}`;
|
});
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
logger.debug(`Subnet queries: ${JSON.stringify(subnetQueries)}`);
|
logger.debug(`Subnet queries: ${JSON.stringify(subnetQueries)}`);
|
||||||
|
|
||||||
@@ -322,13 +172,18 @@ export const handleConnectionLogMessage: MessageHandler = async (context) => {
|
|||||||
|
|
||||||
for (const c of matchedClients) {
|
for (const c of matchedClients) {
|
||||||
const ip = c.subnet.split("/")[0];
|
const ip = c.subnet.split("/")[0];
|
||||||
logger.debug(`Client ${c.clientId} subnet ${c.subnet} matches ${ip}`);
|
logger.debug(
|
||||||
ipToClient.set(ip, { clientId: c.clientId, userId: c.userId });
|
`Client ${c.clientId} subnet ${c.subnet} matches ${ip}`
|
||||||
|
);
|
||||||
|
ipToClient.set(ip, {
|
||||||
|
clientId: c.clientId,
|
||||||
|
userId: c.userId
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Convert to DB records and add to the buffer
|
// Convert to DB records and hand off to the audit logger
|
||||||
for (const session of sessions) {
|
for (const session of sessions) {
|
||||||
// Validate required fields
|
// Validate required fields
|
||||||
if (
|
if (
|
||||||
@@ -356,11 +211,12 @@ export const handleConnectionLogMessage: MessageHandler = async (context) => {
|
|||||||
// client's IP on the WireGuard network, which corresponds to the IP
|
// client's IP on the WireGuard network, which corresponds to the IP
|
||||||
// portion of the client's subnet CIDR (e.g. "100.90.128.5/24").
|
// portion of the client's subnet CIDR (e.g. "100.90.128.5/24").
|
||||||
// Strip port if present (e.g. "100.90.128.1:38004" → "100.90.128.1")
|
// Strip port if present (e.g. "100.90.128.1:38004" → "100.90.128.1")
|
||||||
const sourceIp = session.sourceAddr.includes(":") ? session.sourceAddr.split(":")[0] : session.sourceAddr;
|
const sourceIp = session.sourceAddr.includes(":")
|
||||||
|
? session.sourceAddr.split(":")[0]
|
||||||
|
: session.sourceAddr;
|
||||||
const clientInfo = ipToClient.get(sourceIp) ?? null;
|
const clientInfo = ipToClient.get(sourceIp) ?? null;
|
||||||
|
|
||||||
|
logConnectionAudit({
|
||||||
buffer.push({
|
|
||||||
sessionId: session.sessionId,
|
sessionId: session.sessionId,
|
||||||
siteResourceId: session.resourceId,
|
siteResourceId: session.resourceId,
|
||||||
orgId,
|
orgId,
|
||||||
@@ -380,15 +236,4 @@ export const handleConnectionLogMessage: MessageHandler = async (context) => {
|
|||||||
logger.debug(
|
logger.debug(
|
||||||
`Buffered ${sessions.length} connection log session(s) from newt ${newt.newtId} (site ${newt.siteId})`
|
`Buffered ${sessions.length} connection log session(s) from newt ${newt.newtId} (site ${newt.siteId})`
|
||||||
);
|
);
|
||||||
|
|
||||||
// If the buffer has grown large enough, trigger an immediate flush
|
|
||||||
if (buffer.length >= MAX_BUFFERED_RECORDS) {
|
|
||||||
// Fire and forget — errors are handled inside flushConnectionLogToDb
|
|
||||||
flushConnectionLogToDb().catch((error) => {
|
|
||||||
logger.error(
|
|
||||||
"Unexpected error during size-triggered connection log flush:",
|
|
||||||
error
|
|
||||||
);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1,14 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of a proprietary work.
|
||||||
|
*
|
||||||
|
* Copyright (c) 2025 Fossorial, Inc.
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This file is licensed under the Fossorial Commercial License.
|
||||||
|
* You may not use this file except in compliance with the License.
|
||||||
|
* Unauthorized use, copying, modification, or distribution is strictly prohibited.
|
||||||
|
*
|
||||||
|
* This file is not licensed under the AGPLv3.
|
||||||
|
*/
|
||||||
|
|
||||||
export * from "./handleConnectionLogMessage";
|
export * from "./handleConnectionLogMessage";
|
||||||
|
|||||||
@@ -38,7 +38,8 @@ const bodySchema = z
|
|||||||
z.null(),
|
z.null(),
|
||||||
z.coerce.number().int().positive().max(1_000_000)
|
z.coerce.number().int().positive().max(1_000_000)
|
||||||
]),
|
]),
|
||||||
validUntil: z.string().max(255).optional()
|
validUntil: z.string().max(255).optional(),
|
||||||
|
approveNewSites: z.boolean().optional().default(true)
|
||||||
})
|
})
|
||||||
.superRefine((data, ctx) => {
|
.superRefine((data, ctx) => {
|
||||||
const v = data.validUntil;
|
const v = data.validUntil;
|
||||||
@@ -82,7 +83,7 @@ export async function createSiteProvisioningKey(
|
|||||||
}
|
}
|
||||||
|
|
||||||
const { orgId } = parsedParams.data;
|
const { orgId } = parsedParams.data;
|
||||||
const { name, maxBatchSize } = parsedBody.data;
|
const { name, maxBatchSize, approveNewSites } = parsedBody.data;
|
||||||
const vuRaw = parsedBody.data.validUntil;
|
const vuRaw = parsedBody.data.validUntil;
|
||||||
const validUntil =
|
const validUntil =
|
||||||
vuRaw == null || vuRaw.trim() === ""
|
vuRaw == null || vuRaw.trim() === ""
|
||||||
@@ -106,7 +107,8 @@ export async function createSiteProvisioningKey(
|
|||||||
lastUsed: null,
|
lastUsed: null,
|
||||||
maxBatchSize,
|
maxBatchSize,
|
||||||
numUsed: 0,
|
numUsed: 0,
|
||||||
validUntil
|
validUntil,
|
||||||
|
approveNewSites
|
||||||
});
|
});
|
||||||
|
|
||||||
await trx.insert(siteProvisioningKeyOrg).values({
|
await trx.insert(siteProvisioningKeyOrg).values({
|
||||||
@@ -127,7 +129,8 @@ export async function createSiteProvisioningKey(
|
|||||||
lastUsed: null,
|
lastUsed: null,
|
||||||
maxBatchSize,
|
maxBatchSize,
|
||||||
numUsed: 0,
|
numUsed: 0,
|
||||||
validUntil
|
validUntil,
|
||||||
|
approveNewSites
|
||||||
},
|
},
|
||||||
success: true,
|
success: true,
|
||||||
error: false,
|
error: false,
|
||||||
|
|||||||
@@ -57,7 +57,8 @@ function querySiteProvisioningKeys(orgId: string) {
|
|||||||
lastUsed: siteProvisioningKeys.lastUsed,
|
lastUsed: siteProvisioningKeys.lastUsed,
|
||||||
maxBatchSize: siteProvisioningKeys.maxBatchSize,
|
maxBatchSize: siteProvisioningKeys.maxBatchSize,
|
||||||
numUsed: siteProvisioningKeys.numUsed,
|
numUsed: siteProvisioningKeys.numUsed,
|
||||||
validUntil: siteProvisioningKeys.validUntil
|
validUntil: siteProvisioningKeys.validUntil,
|
||||||
|
approveNewSites: siteProvisioningKeys.approveNewSites
|
||||||
})
|
})
|
||||||
.from(siteProvisioningKeyOrg)
|
.from(siteProvisioningKeyOrg)
|
||||||
.innerJoin(
|
.innerJoin(
|
||||||
|
|||||||
@@ -39,16 +39,18 @@ const bodySchema = z
|
|||||||
z.coerce.number().int().positive().max(1_000_000)
|
z.coerce.number().int().positive().max(1_000_000)
|
||||||
])
|
])
|
||||||
.optional(),
|
.optional(),
|
||||||
validUntil: z.string().max(255).optional()
|
validUntil: z.string().max(255).optional(),
|
||||||
|
approveNewSites: z.boolean().optional()
|
||||||
})
|
})
|
||||||
.superRefine((data, ctx) => {
|
.superRefine((data, ctx) => {
|
||||||
if (
|
if (
|
||||||
data.maxBatchSize === undefined &&
|
data.maxBatchSize === undefined &&
|
||||||
data.validUntil === undefined
|
data.validUntil === undefined &&
|
||||||
|
data.approveNewSites === undefined
|
||||||
) {
|
) {
|
||||||
ctx.addIssue({
|
ctx.addIssue({
|
||||||
code: "custom",
|
code: "custom",
|
||||||
message: "Provide maxBatchSize and/or validUntil",
|
message: "Provide maxBatchSize and/or validUntil and/or approveNewSites",
|
||||||
path: ["maxBatchSize"]
|
path: ["maxBatchSize"]
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -129,6 +131,7 @@ export async function updateSiteProvisioningKey(
|
|||||||
const setValues: {
|
const setValues: {
|
||||||
maxBatchSize?: number | null;
|
maxBatchSize?: number | null;
|
||||||
validUntil?: string | null;
|
validUntil?: string | null;
|
||||||
|
approveNewSites?: boolean;
|
||||||
} = {};
|
} = {};
|
||||||
if (body.maxBatchSize !== undefined) {
|
if (body.maxBatchSize !== undefined) {
|
||||||
setValues.maxBatchSize = body.maxBatchSize;
|
setValues.maxBatchSize = body.maxBatchSize;
|
||||||
@@ -139,6 +142,9 @@ export async function updateSiteProvisioningKey(
|
|||||||
? null
|
? null
|
||||||
: new Date(Date.parse(body.validUntil)).toISOString();
|
: new Date(Date.parse(body.validUntil)).toISOString();
|
||||||
}
|
}
|
||||||
|
if (body.approveNewSites !== undefined) {
|
||||||
|
setValues.approveNewSites = body.approveNewSites;
|
||||||
|
}
|
||||||
|
|
||||||
await db
|
await db
|
||||||
.update(siteProvisioningKeys)
|
.update(siteProvisioningKeys)
|
||||||
@@ -160,7 +166,8 @@ export async function updateSiteProvisioningKey(
|
|||||||
lastUsed: siteProvisioningKeys.lastUsed,
|
lastUsed: siteProvisioningKeys.lastUsed,
|
||||||
maxBatchSize: siteProvisioningKeys.maxBatchSize,
|
maxBatchSize: siteProvisioningKeys.maxBatchSize,
|
||||||
numUsed: siteProvisioningKeys.numUsed,
|
numUsed: siteProvisioningKeys.numUsed,
|
||||||
validUntil: siteProvisioningKeys.validUntil
|
validUntil: siteProvisioningKeys.validUntil,
|
||||||
|
approveNewSites: siteProvisioningKeys.approveNewSites
|
||||||
})
|
})
|
||||||
.from(siteProvisioningKeys)
|
.from(siteProvisioningKeys)
|
||||||
.where(
|
.where(
|
||||||
|
|||||||
@@ -488,7 +488,7 @@ export async function signSshKey(
|
|||||||
action: true,
|
action: true,
|
||||||
type: "ssh",
|
type: "ssh",
|
||||||
orgId: orgId,
|
orgId: orgId,
|
||||||
resourceId: resource.siteResourceId,
|
siteResourceId: resource.siteResourceId,
|
||||||
user: req.user
|
user: req.user
|
||||||
? { username: req.user.username ?? "", userId: req.user.userId }
|
? { username: req.user.username ?? "", userId: req.user.userId }
|
||||||
: undefined,
|
: undefined,
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ import {
|
|||||||
} from "#private/routers/remoteExitNode";
|
} from "#private/routers/remoteExitNode";
|
||||||
import { MessageHandler } from "@server/routers/ws";
|
import { MessageHandler } from "@server/routers/ws";
|
||||||
import { build } from "@server/build";
|
import { build } from "@server/build";
|
||||||
import { handleConnectionLogMessage } from "#dynamic/routers/newt";
|
import { handleConnectionLogMessage } from "#private/routers/newt";
|
||||||
|
|
||||||
export const messageHandlers: Record<string, MessageHandler> = {
|
export const messageHandlers: Record<string, MessageHandler> = {
|
||||||
"remoteExitNode/register": handleRemoteExitNodeRegisterMessage,
|
"remoteExitNode/register": handleRemoteExitNodeRegisterMessage,
|
||||||
|
|||||||
@@ -1,4 +1,37 @@
|
|||||||
import { assertEquals } from "@test/assert";
|
import { assertEquals } from "@test/assert";
|
||||||
|
import { REGIONS } from "@server/db/regions";
|
||||||
|
|
||||||
|
function isIpInRegion(
|
||||||
|
ipCountryCode: string | undefined,
|
||||||
|
checkRegionCode: string
|
||||||
|
): boolean {
|
||||||
|
if (!ipCountryCode) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
const upperCode = ipCountryCode.toUpperCase();
|
||||||
|
|
||||||
|
for (const region of REGIONS) {
|
||||||
|
// Check if it's a top-level region (continent)
|
||||||
|
if (region.id === checkRegionCode) {
|
||||||
|
for (const subregion of region.includes) {
|
||||||
|
if (subregion.countries.includes(upperCode)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check subregions
|
||||||
|
for (const subregion of region.includes) {
|
||||||
|
if (subregion.id === checkRegionCode) {
|
||||||
|
return subregion.countries.includes(upperCode);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
function isPathAllowed(pattern: string, path: string): boolean {
|
function isPathAllowed(pattern: string, path: string): boolean {
|
||||||
// Normalize and split paths into segments
|
// Normalize and split paths into segments
|
||||||
@@ -272,12 +305,71 @@ function runTests() {
|
|||||||
"Root path should not match non-root path"
|
"Root path should not match non-root path"
|
||||||
);
|
);
|
||||||
|
|
||||||
console.log("All tests passed!");
|
console.log("All path matching tests passed!");
|
||||||
|
}
|
||||||
|
|
||||||
|
function runRegionTests() {
|
||||||
|
console.log("\nRunning isIpInRegion tests...");
|
||||||
|
|
||||||
|
// Test undefined country code
|
||||||
|
assertEquals(
|
||||||
|
isIpInRegion(undefined, "150"),
|
||||||
|
false,
|
||||||
|
"Undefined country code should return false"
|
||||||
|
);
|
||||||
|
|
||||||
|
// Test subregion matching (Western Europe)
|
||||||
|
assertEquals(
|
||||||
|
isIpInRegion("DE", "155"),
|
||||||
|
true,
|
||||||
|
"Country should match its subregion"
|
||||||
|
);
|
||||||
|
assertEquals(
|
||||||
|
isIpInRegion("GB", "155"),
|
||||||
|
false,
|
||||||
|
"Country should NOT match wrong subregion"
|
||||||
|
);
|
||||||
|
|
||||||
|
// Test continent matching (Europe)
|
||||||
|
assertEquals(
|
||||||
|
isIpInRegion("DE", "150"),
|
||||||
|
true,
|
||||||
|
"Country should match its continent"
|
||||||
|
);
|
||||||
|
assertEquals(
|
||||||
|
isIpInRegion("GB", "150"),
|
||||||
|
true,
|
||||||
|
"Different European country should match Europe"
|
||||||
|
);
|
||||||
|
assertEquals(
|
||||||
|
isIpInRegion("US", "150"),
|
||||||
|
false,
|
||||||
|
"Non-European country should NOT match Europe"
|
||||||
|
);
|
||||||
|
|
||||||
|
// Test case insensitivity
|
||||||
|
assertEquals(
|
||||||
|
isIpInRegion("de", "155"),
|
||||||
|
true,
|
||||||
|
"Lowercase country code should work"
|
||||||
|
);
|
||||||
|
|
||||||
|
// Test invalid region code
|
||||||
|
assertEquals(
|
||||||
|
isIpInRegion("DE", "999"),
|
||||||
|
false,
|
||||||
|
"Invalid region code should return false"
|
||||||
|
);
|
||||||
|
|
||||||
|
console.log("All region tests passed!");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Run all tests
|
// Run all tests
|
||||||
try {
|
try {
|
||||||
runTests();
|
runTests();
|
||||||
|
runRegionTests();
|
||||||
|
console.log("\n✅ All tests passed!");
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Test failed:", error);
|
console.error("❌ Test failed:", error);
|
||||||
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ import {
|
|||||||
enforceResourceSessionLength
|
enforceResourceSessionLength
|
||||||
} from "#dynamic/lib/checkOrgAccessPolicy";
|
} from "#dynamic/lib/checkOrgAccessPolicy";
|
||||||
import { logRequestAudit } from "./logRequestAudit";
|
import { logRequestAudit } from "./logRequestAudit";
|
||||||
|
import { REGIONS } from "@server/db/regions";
|
||||||
import { localCache } from "#dynamic/lib/cache";
|
import { localCache } from "#dynamic/lib/cache";
|
||||||
import { APP_VERSION } from "@server/lib/consts";
|
import { APP_VERSION } from "@server/lib/consts";
|
||||||
import { isSubscribed } from "#dynamic/lib/isSubscribed";
|
import { isSubscribed } from "#dynamic/lib/isSubscribed";
|
||||||
@@ -1022,6 +1023,12 @@ async function checkRules(
|
|||||||
(await isIpInAsn(ipAsn, rule.value))
|
(await isIpInAsn(ipAsn, rule.value))
|
||||||
) {
|
) {
|
||||||
return rule.action as any;
|
return rule.action as any;
|
||||||
|
} else if (
|
||||||
|
clientIp &&
|
||||||
|
rule.match == "REGION" &&
|
||||||
|
(await isIpInRegion(ipCC, rule.value))
|
||||||
|
) {
|
||||||
|
return rule.action as any;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1207,6 +1214,45 @@ async function isIpInAsn(
|
|||||||
return match;
|
return match;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export async function isIpInRegion(
|
||||||
|
ipCountryCode: string | undefined,
|
||||||
|
checkRegionCode: string
|
||||||
|
): Promise<boolean> {
|
||||||
|
if (!ipCountryCode) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
const upperCode = ipCountryCode.toUpperCase();
|
||||||
|
|
||||||
|
for (const region of REGIONS) {
|
||||||
|
// Check if it's a top-level region (continent)
|
||||||
|
if (region.id === checkRegionCode) {
|
||||||
|
for (const subregion of region.includes) {
|
||||||
|
if (subregion.countries.includes(upperCode)) {
|
||||||
|
logger.debug(`Country ${upperCode} is in region ${region.id} (${region.name})`);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
logger.debug(`Country ${upperCode} is not in region ${region.id} (${region.name})`);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check subregions
|
||||||
|
for (const subregion of region.includes) {
|
||||||
|
if (subregion.id === checkRegionCode) {
|
||||||
|
if (subregion.countries.includes(upperCode)) {
|
||||||
|
logger.debug(`Country ${upperCode} is in region ${subregion.id} (${subregion.name})`);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
logger.debug(`Country ${upperCode} is not in region ${subregion.id} (${subregion.name})`);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
async function getAsnFromIp(ip: string): Promise<number | undefined> {
|
async function getAsnFromIp(ip: string): Promise<number | undefined> {
|
||||||
const asnCacheKey = `asn:${ip}`;
|
const asnCacheKey = `asn:${ip}`;
|
||||||
|
|
||||||
|
|||||||
@@ -796,6 +796,11 @@ unauthenticated.get(
|
|||||||
// );
|
// );
|
||||||
|
|
||||||
unauthenticated.get("/user", verifySessionMiddleware, user.getUser);
|
unauthenticated.get("/user", verifySessionMiddleware, user.getUser);
|
||||||
|
unauthenticated.post(
|
||||||
|
"/user/locale",
|
||||||
|
verifySessionMiddleware,
|
||||||
|
user.updateUserLocale
|
||||||
|
);
|
||||||
unauthenticated.get("/my-device", verifySessionMiddleware, user.myDevice);
|
unauthenticated.get("/my-device", verifySessionMiddleware, user.myDevice);
|
||||||
|
|
||||||
authenticated.get("/users", verifyUserIsServerAdmin, user.adminListUsers);
|
authenticated.get("/users", verifyUserIsServerAdmin, user.adminListUsers);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { Request, Response, NextFunction } from "express";
|
import { Request, Response, NextFunction } from "express";
|
||||||
import { sql } from "drizzle-orm";
|
import { sql } from "drizzle-orm";
|
||||||
import { db } from "@server/db";
|
import { db, DB_TYPE } from "@server/db";
|
||||||
import logger from "@server/logger";
|
import logger from "@server/logger";
|
||||||
import createHttpError from "http-errors";
|
import createHttpError from "http-errors";
|
||||||
import HttpCode from "@server/types/HttpCode";
|
import HttpCode from "@server/types/HttpCode";
|
||||||
@@ -96,6 +96,10 @@ async function dbQueryRows<T extends Record<string, unknown>>(
|
|||||||
return (await anyDb.all(query)) as T[];
|
return (await anyDb.all(query)) as T[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function isSQLite(): boolean {
|
||||||
|
return DB_TYPE == "sqlite";
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Flush all accumulated site bandwidth data to the database.
|
* Flush all accumulated site bandwidth data to the database.
|
||||||
*
|
*
|
||||||
@@ -141,19 +145,37 @@ export async function flushSiteBandwidthToDb(): Promise<void> {
|
|||||||
const chunk = sortedEntries.slice(i, i + BATCH_CHUNK_SIZE);
|
const chunk = sortedEntries.slice(i, i + BATCH_CHUNK_SIZE);
|
||||||
const chunkEnd = i + chunk.length - 1;
|
const chunkEnd = i + chunk.length - 1;
|
||||||
|
|
||||||
// Build a parameterised VALUES list: (pubKey, bytesIn, bytesOut), ...
|
|
||||||
// Both PostgreSQL and SQLite (≥ 3.33.0, which better-sqlite3 bundles)
|
|
||||||
// support UPDATE … FROM (VALUES …), letting us update the whole chunk
|
|
||||||
// in a single query instead of N individual round-trips.
|
|
||||||
const valuesList = chunk.map(([publicKey, { bytesIn, bytesOut }]) =>
|
|
||||||
sql`(${publicKey}, ${bytesIn}, ${bytesOut})`
|
|
||||||
);
|
|
||||||
const valuesClause = sql.join(valuesList, sql`, `);
|
|
||||||
|
|
||||||
let rows: { orgId: string; pubKey: string }[] = [];
|
let rows: { orgId: string; pubKey: string }[] = [];
|
||||||
|
|
||||||
try {
|
try {
|
||||||
rows = await withDeadlockRetry(async () => {
|
rows = await withDeadlockRetry(async () => {
|
||||||
|
if (isSQLite()) {
|
||||||
|
// SQLite: one UPDATE per row — no need for batch efficiency here.
|
||||||
|
const results: { orgId: string; pubKey: string }[] = [];
|
||||||
|
for (const [publicKey, { bytesIn, bytesOut }] of chunk) {
|
||||||
|
const result = await dbQueryRows<{
|
||||||
|
orgId: string;
|
||||||
|
pubKey: string;
|
||||||
|
}>(sql`
|
||||||
|
UPDATE sites
|
||||||
|
SET
|
||||||
|
"bytesOut" = COALESCE("bytesOut", 0) + ${bytesIn},
|
||||||
|
"bytesIn" = COALESCE("bytesIn", 0) + ${bytesOut},
|
||||||
|
"lastBandwidthUpdate" = ${currentTime}
|
||||||
|
WHERE "pubKey" = ${publicKey}
|
||||||
|
RETURNING "orgId", "pubKey"
|
||||||
|
`);
|
||||||
|
results.push(...result);
|
||||||
|
}
|
||||||
|
return results;
|
||||||
|
}
|
||||||
|
|
||||||
|
// PostgreSQL: batch UPDATE … FROM (VALUES …) — single round-trip per chunk.
|
||||||
|
const valuesList = chunk.map(
|
||||||
|
([publicKey, { bytesIn, bytesOut }]) =>
|
||||||
|
sql`(${publicKey}, ${bytesIn}, ${bytesOut})`
|
||||||
|
);
|
||||||
|
const valuesClause = sql.join(valuesList, sql`, `);
|
||||||
return dbQueryRows<{ orgId: string; pubKey: string }>(sql`
|
return dbQueryRows<{ orgId: string; pubKey: string }>(sql`
|
||||||
UPDATE sites
|
UPDATE sites
|
||||||
SET
|
SET
|
||||||
|
|||||||
@@ -9,14 +9,6 @@ import { buildClientConfigurationForNewtClient } from "./buildConfiguration";
|
|||||||
import { convertTargetsIfNessicary } from "../client/targets";
|
import { convertTargetsIfNessicary } from "../client/targets";
|
||||||
import { canCompress } from "@server/lib/clientVersionChecks";
|
import { canCompress } from "@server/lib/clientVersionChecks";
|
||||||
|
|
||||||
const inputSchema = z.object({
|
|
||||||
publicKey: z.string(),
|
|
||||||
port: z.int().positive(),
|
|
||||||
chainId: z.string()
|
|
||||||
});
|
|
||||||
|
|
||||||
type Input = z.infer<typeof inputSchema>;
|
|
||||||
|
|
||||||
export const handleGetConfigMessage: MessageHandler = async (context) => {
|
export const handleGetConfigMessage: MessageHandler = async (context) => {
|
||||||
const { message, client, sendToClient } = context;
|
const { message, client, sendToClient } = context;
|
||||||
const newt = client as Newt;
|
const newt = client as Newt;
|
||||||
@@ -35,16 +27,7 @@ export const handleGetConfigMessage: MessageHandler = async (context) => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const parsed = inputSchema.safeParse(message.data);
|
const { publicKey, port, chainId } = message.data;
|
||||||
if (!parsed.success) {
|
|
||||||
logger.error(
|
|
||||||
"handleGetConfigMessage: Invalid input: " +
|
|
||||||
fromError(parsed.error).toString()
|
|
||||||
);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
const { publicKey, port, chainId } = message.data as Input;
|
|
||||||
const siteId = newt.siteId;
|
const siteId = newt.siteId;
|
||||||
|
|
||||||
// Get the current site data
|
// Get the current site data
|
||||||
|
|||||||
@@ -1,8 +1,11 @@
|
|||||||
import { db, newts, sites } from "@server/db";
|
import { db, newts, sites } from "@server/db";
|
||||||
import { hasActiveConnections, getClientConfigVersion } from "#dynamic/routers/ws";
|
import {
|
||||||
|
hasActiveConnections,
|
||||||
|
getClientConfigVersion
|
||||||
|
} from "#dynamic/routers/ws";
|
||||||
import { MessageHandler } from "@server/routers/ws";
|
import { MessageHandler } from "@server/routers/ws";
|
||||||
import { Newt } from "@server/db";
|
import { Newt } from "@server/db";
|
||||||
import { eq, lt, isNull, and, or } from "drizzle-orm";
|
import { eq, lt, isNull, and, or, ne, not } from "drizzle-orm";
|
||||||
import logger from "@server/logger";
|
import logger from "@server/logger";
|
||||||
import { sendNewtSyncMessage } from "./sync";
|
import { sendNewtSyncMessage } from "./sync";
|
||||||
import { recordPing } from "./pingAccumulator";
|
import { recordPing } from "./pingAccumulator";
|
||||||
@@ -11,6 +14,7 @@ import { recordPing } from "./pingAccumulator";
|
|||||||
let offlineCheckerInterval: NodeJS.Timeout | null = null;
|
let offlineCheckerInterval: NodeJS.Timeout | null = null;
|
||||||
const OFFLINE_CHECK_INTERVAL = 30 * 1000; // Check every 30 seconds
|
const OFFLINE_CHECK_INTERVAL = 30 * 1000; // Check every 30 seconds
|
||||||
const OFFLINE_THRESHOLD_MS = 2 * 60 * 1000; // 2 minutes
|
const OFFLINE_THRESHOLD_MS = 2 * 60 * 1000; // 2 minutes
|
||||||
|
const OFFLINE_THRESHOLD_BANDWIDTH_MS = 8 * 60 * 1000; // 8 minutes
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Starts the background interval that checks for newt sites that haven't
|
* Starts the background interval that checks for newt sites that haven't
|
||||||
@@ -56,7 +60,9 @@ export const startNewtOfflineChecker = (): void => {
|
|||||||
// Backward-compatibility check: if the newt still has an
|
// Backward-compatibility check: if the newt still has an
|
||||||
// active WebSocket connection (older clients that don't send
|
// active WebSocket connection (older clients that don't send
|
||||||
// pings), keep the site online.
|
// pings), keep the site online.
|
||||||
const isConnected = await hasActiveConnections(staleSite.newtId);
|
const isConnected = await hasActiveConnections(
|
||||||
|
staleSite.newtId
|
||||||
|
);
|
||||||
if (isConnected) {
|
if (isConnected) {
|
||||||
logger.debug(
|
logger.debug(
|
||||||
`Newt ${staleSite.newtId} has not pinged recently but is still connected via WebSocket — keeping site ${staleSite.siteId} online`
|
`Newt ${staleSite.newtId} has not pinged recently but is still connected via WebSocket — keeping site ${staleSite.siteId} online`
|
||||||
@@ -73,6 +79,56 @@ export const startNewtOfflineChecker = (): void => {
|
|||||||
.set({ online: false })
|
.set({ online: false })
|
||||||
.where(eq(sites.siteId, staleSite.siteId));
|
.where(eq(sites.siteId, staleSite.siteId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// this part only effects self hosted. Its not efficient but we dont expect people to have very many wireguard sites
|
||||||
|
// select all of the wireguard sites to evaluate if they need to be offline due to the last bandwidth update
|
||||||
|
const allWireguardSites = await db
|
||||||
|
.select({
|
||||||
|
siteId: sites.siteId,
|
||||||
|
online: sites.online,
|
||||||
|
lastBandwidthUpdate: sites.lastBandwidthUpdate
|
||||||
|
})
|
||||||
|
.from(sites)
|
||||||
|
.where(
|
||||||
|
and(
|
||||||
|
eq(sites.type, "wireguard"),
|
||||||
|
not(isNull(sites.lastBandwidthUpdate))
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
const wireguardOfflineThreshold = Math.floor(
|
||||||
|
(Date.now() - OFFLINE_THRESHOLD_BANDWIDTH_MS) / 1000
|
||||||
|
);
|
||||||
|
|
||||||
|
// loop over each one. If its offline and there is a new update then mark it online. If its online and there is no update then mark it offline
|
||||||
|
for (const site of allWireguardSites) {
|
||||||
|
const lastBandwidthUpdate = new Date(site.lastBandwidthUpdate!).getTime() / 1000;
|
||||||
|
if (
|
||||||
|
lastBandwidthUpdate < wireguardOfflineThreshold &&
|
||||||
|
site.online
|
||||||
|
) {
|
||||||
|
logger.info(
|
||||||
|
`Marking wireguard site ${site.siteId} offline: no bandwidth update in over ${OFFLINE_THRESHOLD_BANDWIDTH_MS / 60000} minutes`
|
||||||
|
);
|
||||||
|
|
||||||
|
await db
|
||||||
|
.update(sites)
|
||||||
|
.set({ online: false })
|
||||||
|
.where(eq(sites.siteId, site.siteId));
|
||||||
|
} else if (
|
||||||
|
lastBandwidthUpdate >= wireguardOfflineThreshold &&
|
||||||
|
!site.online
|
||||||
|
) {
|
||||||
|
logger.info(
|
||||||
|
`Marking wireguard site ${site.siteId} online: recent bandwidth update`
|
||||||
|
);
|
||||||
|
|
||||||
|
await db
|
||||||
|
.update(sites)
|
||||||
|
.set({ online: true })
|
||||||
|
.where(eq(sites.siteId, site.siteId));
|
||||||
|
}
|
||||||
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
logger.error("Error in newt offline checker interval", { error });
|
logger.error("Error in newt offline checker interval", { error });
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ export const handleNewtPingRequestMessage: MessageHandler = async (context) => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const { noCloud } = message.data;
|
const { noCloud, chainId } = message.data;
|
||||||
|
|
||||||
const exitNodesList = await listExitNodes(
|
const exitNodesList = await listExitNodes(
|
||||||
site.orgId,
|
site.orgId,
|
||||||
@@ -98,7 +98,8 @@ export const handleNewtPingRequestMessage: MessageHandler = async (context) => {
|
|||||||
message: {
|
message: {
|
||||||
type: "newt/ping/exitNodes",
|
type: "newt/ping/exitNodes",
|
||||||
data: {
|
data: {
|
||||||
exitNodes: filteredExitNodes
|
exitNodes: filteredExitNodes,
|
||||||
|
chainId: chainId
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
broadcast: false, // Send to all clients
|
broadcast: false, // Send to all clients
|
||||||
|
|||||||
@@ -30,7 +30,8 @@ import { INSPECT_MAX_BYTES } from "buffer";
|
|||||||
import { v } from "@faker-js/faker/dist/airline-Dz1uGqgJ";
|
import { v } from "@faker-js/faker/dist/airline-Dz1uGqgJ";
|
||||||
|
|
||||||
const bodySchema = z.object({
|
const bodySchema = z.object({
|
||||||
provisioningKey: z.string().nonempty()
|
provisioningKey: z.string().nonempty(),
|
||||||
|
name: z.string().optional()
|
||||||
});
|
});
|
||||||
|
|
||||||
export type RegisterNewtBody = z.infer<typeof bodySchema>;
|
export type RegisterNewtBody = z.infer<typeof bodySchema>;
|
||||||
@@ -56,7 +57,7 @@ export async function registerNewt(
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const { provisioningKey } = parsedBody.data;
|
const { provisioningKey, name } = parsedBody.data;
|
||||||
|
|
||||||
// Keys are in the format "siteProvisioningKeyId.secret"
|
// Keys are in the format "siteProvisioningKeyId.secret"
|
||||||
const dotIndex = provisioningKey.indexOf(".");
|
const dotIndex = provisioningKey.indexOf(".");
|
||||||
@@ -82,7 +83,8 @@ export async function registerNewt(
|
|||||||
orgId: siteProvisioningKeyOrg.orgId,
|
orgId: siteProvisioningKeyOrg.orgId,
|
||||||
maxBatchSize: siteProvisioningKeys.maxBatchSize,
|
maxBatchSize: siteProvisioningKeys.maxBatchSize,
|
||||||
numUsed: siteProvisioningKeys.numUsed,
|
numUsed: siteProvisioningKeys.numUsed,
|
||||||
validUntil: siteProvisioningKeys.validUntil
|
validUntil: siteProvisioningKeys.validUntil,
|
||||||
|
approveNewSites: siteProvisioningKeys.approveNewSites,
|
||||||
})
|
})
|
||||||
.from(siteProvisioningKeys)
|
.from(siteProvisioningKeys)
|
||||||
.innerJoin(
|
.innerJoin(
|
||||||
@@ -193,10 +195,11 @@ export async function registerNewt(
|
|||||||
.insert(sites)
|
.insert(sites)
|
||||||
.values({
|
.values({
|
||||||
orgId,
|
orgId,
|
||||||
name: niceId,
|
name: name || niceId,
|
||||||
niceId,
|
niceId,
|
||||||
type: "newt",
|
type: "newt",
|
||||||
dockerSocketEnabled: true
|
dockerSocketEnabled: true,
|
||||||
|
status: keyRecord.approveNewSites ? "approved" : "pending",
|
||||||
})
|
})
|
||||||
.returning();
|
.returning();
|
||||||
|
|
||||||
|
|||||||
@@ -34,6 +34,10 @@ const updateOrgBodySchema = z
|
|||||||
.min(build === "saas" ? 0 : -1)
|
.min(build === "saas" ? 0 : -1)
|
||||||
.optional(),
|
.optional(),
|
||||||
settingsLogRetentionDaysAction: z
|
settingsLogRetentionDaysAction: z
|
||||||
|
.number()
|
||||||
|
.min(build === "saas" ? 0 : -1)
|
||||||
|
.optional(),
|
||||||
|
settingsLogRetentionDaysConnection: z
|
||||||
.number()
|
.number()
|
||||||
.min(build === "saas" ? 0 : -1)
|
.min(build === "saas" ? 0 : -1)
|
||||||
.optional()
|
.optional()
|
||||||
@@ -164,6 +168,17 @@ export async function updateOrg(
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
if (
|
||||||
|
parsedBody.data.settingsLogRetentionDaysConnection !== undefined &&
|
||||||
|
parsedBody.data.settingsLogRetentionDaysConnection > maxRetentionDays
|
||||||
|
) {
|
||||||
|
return next(
|
||||||
|
createHttpError(
|
||||||
|
HttpCode.FORBIDDEN,
|
||||||
|
`You are not allowed to set log retention days greater than ${maxRetentionDays} with your current subscription`
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -179,7 +194,9 @@ export async function updateOrg(
|
|||||||
settingsLogRetentionDaysAccess:
|
settingsLogRetentionDaysAccess:
|
||||||
parsedBody.data.settingsLogRetentionDaysAccess,
|
parsedBody.data.settingsLogRetentionDaysAccess,
|
||||||
settingsLogRetentionDaysAction:
|
settingsLogRetentionDaysAction:
|
||||||
parsedBody.data.settingsLogRetentionDaysAction
|
parsedBody.data.settingsLogRetentionDaysAction,
|
||||||
|
settingsLogRetentionDaysConnection:
|
||||||
|
parsedBody.data.settingsLogRetentionDaysConnection
|
||||||
})
|
})
|
||||||
.where(eq(orgs.orgId, orgId))
|
.where(eq(orgs.orgId, orgId))
|
||||||
.returning();
|
.returning();
|
||||||
@@ -197,6 +214,7 @@ export async function updateOrg(
|
|||||||
await cache.del(`org_${orgId}_retentionDays`);
|
await cache.del(`org_${orgId}_retentionDays`);
|
||||||
await cache.del(`org_${orgId}_actionDays`);
|
await cache.del(`org_${orgId}_actionDays`);
|
||||||
await cache.del(`org_${orgId}_accessDays`);
|
await cache.del(`org_${orgId}_accessDays`);
|
||||||
|
await cache.del(`org_${orgId}_connectionDays`);
|
||||||
|
|
||||||
return response(res, {
|
return response(res, {
|
||||||
data: updatedOrg[0],
|
data: updatedOrg[0],
|
||||||
|
|||||||
@@ -14,10 +14,11 @@ import {
|
|||||||
isValidUrlGlobPattern
|
isValidUrlGlobPattern
|
||||||
} from "@server/lib/validators";
|
} from "@server/lib/validators";
|
||||||
import { OpenAPITags, registry } from "@server/openApi";
|
import { OpenAPITags, registry } from "@server/openApi";
|
||||||
|
import { isValidRegionId } from "@server/db/regions";
|
||||||
|
|
||||||
const createResourceRuleSchema = z.strictObject({
|
const createResourceRuleSchema = z.strictObject({
|
||||||
action: z.enum(["ACCEPT", "DROP", "PASS"]),
|
action: z.enum(["ACCEPT", "DROP", "PASS"]),
|
||||||
match: z.enum(["CIDR", "IP", "PATH", "COUNTRY", "ASN"]),
|
match: z.enum(["CIDR", "IP", "PATH", "COUNTRY", "ASN", "REGION"]),
|
||||||
value: z.string().min(1),
|
value: z.string().min(1),
|
||||||
priority: z.int(),
|
priority: z.int(),
|
||||||
enabled: z.boolean().optional()
|
enabled: z.boolean().optional()
|
||||||
@@ -126,6 +127,15 @@ export async function createResourceRule(
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
} else if (match === "REGION") {
|
||||||
|
if (!isValidRegionId(value)) {
|
||||||
|
return next(
|
||||||
|
createHttpError(
|
||||||
|
HttpCode.BAD_REQUEST,
|
||||||
|
"Invalid region ID provided"
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create the new resource rule
|
// Create the new resource rule
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ import {
|
|||||||
isValidUrlGlobPattern
|
isValidUrlGlobPattern
|
||||||
} from "@server/lib/validators";
|
} from "@server/lib/validators";
|
||||||
import { OpenAPITags, registry } from "@server/openApi";
|
import { OpenAPITags, registry } from "@server/openApi";
|
||||||
|
import { isValidRegionId } from "@server/db/regions";
|
||||||
|
|
||||||
// Define Zod schema for request parameters validation
|
// Define Zod schema for request parameters validation
|
||||||
const updateResourceRuleParamsSchema = z.strictObject({
|
const updateResourceRuleParamsSchema = z.strictObject({
|
||||||
@@ -25,7 +26,7 @@ const updateResourceRuleParamsSchema = z.strictObject({
|
|||||||
const updateResourceRuleSchema = z
|
const updateResourceRuleSchema = z
|
||||||
.strictObject({
|
.strictObject({
|
||||||
action: z.enum(["ACCEPT", "DROP", "PASS"]).optional(),
|
action: z.enum(["ACCEPT", "DROP", "PASS"]).optional(),
|
||||||
match: z.enum(["CIDR", "IP", "PATH", "COUNTRY", "ASN"]).optional(),
|
match: z.enum(["CIDR", "IP", "PATH", "COUNTRY", "ASN", "REGION"]).optional(),
|
||||||
value: z.string().min(1).optional(),
|
value: z.string().min(1).optional(),
|
||||||
priority: z.int(),
|
priority: z.int(),
|
||||||
enabled: z.boolean().optional()
|
enabled: z.boolean().optional()
|
||||||
@@ -166,6 +167,15 @@ export async function updateResourceRule(
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
} else if (match === "REGION") {
|
||||||
|
if (!isValidRegionId(value)) {
|
||||||
|
return next(
|
||||||
|
createHttpError(
|
||||||
|
HttpCode.BAD_REQUEST,
|
||||||
|
"Invalid region ID provided"
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -298,7 +298,8 @@ export async function createSite(
|
|||||||
niceId,
|
niceId,
|
||||||
address: updatedAddress || null,
|
address: updatedAddress || null,
|
||||||
type,
|
type,
|
||||||
dockerSocketEnabled: true
|
dockerSocketEnabled: true,
|
||||||
|
status: "approved"
|
||||||
})
|
})
|
||||||
.returning();
|
.returning();
|
||||||
} else if (type == "wireguard") {
|
} else if (type == "wireguard") {
|
||||||
@@ -355,7 +356,8 @@ export async function createSite(
|
|||||||
niceId,
|
niceId,
|
||||||
subnet,
|
subnet,
|
||||||
type,
|
type,
|
||||||
pubKey: pubKey || null
|
pubKey: pubKey || null,
|
||||||
|
status: "approved"
|
||||||
})
|
})
|
||||||
.returning();
|
.returning();
|
||||||
} else if (type == "local") {
|
} else if (type == "local") {
|
||||||
@@ -370,7 +372,8 @@ export async function createSite(
|
|||||||
type,
|
type,
|
||||||
dockerSocketEnabled: false,
|
dockerSocketEnabled: false,
|
||||||
online: true,
|
online: true,
|
||||||
subnet: "0.0.0.0/32"
|
subnet: "0.0.0.0/32",
|
||||||
|
status: "approved"
|
||||||
})
|
})
|
||||||
.returning();
|
.returning();
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -135,6 +135,15 @@ const listSitesSchema = z.object({
|
|||||||
.openapi({
|
.openapi({
|
||||||
type: "boolean",
|
type: "boolean",
|
||||||
description: "Filter by online status"
|
description: "Filter by online status"
|
||||||
|
}),
|
||||||
|
status: z
|
||||||
|
.enum(["pending", "approved"])
|
||||||
|
.optional()
|
||||||
|
.catch(undefined)
|
||||||
|
.openapi({
|
||||||
|
type: "string",
|
||||||
|
enum: ["pending", "approved"],
|
||||||
|
description: "Filter by site status"
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -156,7 +165,8 @@ function querySitesBase() {
|
|||||||
exitNodeId: sites.exitNodeId,
|
exitNodeId: sites.exitNodeId,
|
||||||
exitNodeName: exitNodes.name,
|
exitNodeName: exitNodes.name,
|
||||||
exitNodeEndpoint: exitNodes.endpoint,
|
exitNodeEndpoint: exitNodes.endpoint,
|
||||||
remoteExitNodeId: remoteExitNodes.remoteExitNodeId
|
remoteExitNodeId: remoteExitNodes.remoteExitNodeId,
|
||||||
|
status: sites.status
|
||||||
})
|
})
|
||||||
.from(sites)
|
.from(sites)
|
||||||
.leftJoin(orgs, eq(sites.orgId, orgs.orgId))
|
.leftJoin(orgs, eq(sites.orgId, orgs.orgId))
|
||||||
@@ -245,7 +255,7 @@ export async function listSites(
|
|||||||
.where(eq(sites.orgId, orgId));
|
.where(eq(sites.orgId, orgId));
|
||||||
}
|
}
|
||||||
|
|
||||||
const { pageSize, page, query, sort_by, order, online } =
|
const { pageSize, page, query, sort_by, order, online, status } =
|
||||||
parsedQuery.data;
|
parsedQuery.data;
|
||||||
|
|
||||||
const accessibleSiteIds = accessibleSites.map((site) => site.siteId);
|
const accessibleSiteIds = accessibleSites.map((site) => site.siteId);
|
||||||
@@ -273,6 +283,9 @@ export async function listSites(
|
|||||||
if (typeof online !== "undefined") {
|
if (typeof online !== "undefined") {
|
||||||
conditions.push(eq(sites.online, online));
|
conditions.push(eq(sites.online, online));
|
||||||
}
|
}
|
||||||
|
if (typeof status !== "undefined") {
|
||||||
|
conditions.push(eq(sites.status, status));
|
||||||
|
}
|
||||||
|
|
||||||
const baseQuery = querySitesBase().where(and(...conditions));
|
const baseQuery = querySitesBase().where(and(...conditions));
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,8 @@ const updateSiteBodySchema = z
|
|||||||
.strictObject({
|
.strictObject({
|
||||||
name: z.string().min(1).max(255).optional(),
|
name: z.string().min(1).max(255).optional(),
|
||||||
niceId: z.string().min(1).max(255).optional(),
|
niceId: z.string().min(1).max(255).optional(),
|
||||||
dockerSocketEnabled: z.boolean().optional()
|
dockerSocketEnabled: z.boolean().optional(),
|
||||||
|
status: z.enum(["pending", "approved"]).optional(),
|
||||||
// remoteSubnets: z.string().optional()
|
// remoteSubnets: z.string().optional()
|
||||||
// subdomain: z
|
// subdomain: z
|
||||||
// .string()
|
// .string()
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ export type SiteProvisioningKeyListItem = {
|
|||||||
maxBatchSize: number | null;
|
maxBatchSize: number | null;
|
||||||
numUsed: number;
|
numUsed: number;
|
||||||
validUntil: string | null;
|
validUntil: string | null;
|
||||||
|
approveNewSites: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type ListSiteProvisioningKeysResponse = {
|
export type ListSiteProvisioningKeysResponse = {
|
||||||
@@ -26,6 +27,7 @@ export type CreateSiteProvisioningKeyResponse = {
|
|||||||
maxBatchSize: number | null;
|
maxBatchSize: number | null;
|
||||||
numUsed: number;
|
numUsed: number;
|
||||||
validUntil: string | null;
|
validUntil: string | null;
|
||||||
|
approveNewSites: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type UpdateSiteProvisioningKeyResponse = {
|
export type UpdateSiteProvisioningKeyResponse = {
|
||||||
@@ -38,4 +40,5 @@ export type UpdateSiteProvisioningKeyResponse = {
|
|||||||
maxBatchSize: number | null;
|
maxBatchSize: number | null;
|
||||||
numUsed: number;
|
numUsed: number;
|
||||||
validUntil: string | null;
|
validUntil: string | null;
|
||||||
|
approveNewSites: boolean;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -188,6 +188,8 @@ export async function updateTarget(
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const pathMatchTypeRemoved = parsedBody.data.pathMatchType === null;
|
||||||
|
|
||||||
const [updatedTarget] = await db
|
const [updatedTarget] = await db
|
||||||
.update(targets)
|
.update(targets)
|
||||||
.set({
|
.set({
|
||||||
@@ -200,8 +202,8 @@ export async function updateTarget(
|
|||||||
path: parsedBody.data.path,
|
path: parsedBody.data.path,
|
||||||
pathMatchType: parsedBody.data.pathMatchType,
|
pathMatchType: parsedBody.data.pathMatchType,
|
||||||
priority: parsedBody.data.priority,
|
priority: parsedBody.data.priority,
|
||||||
rewritePath: parsedBody.data.rewritePath,
|
rewritePath: pathMatchTypeRemoved ? null : parsedBody.data.rewritePath,
|
||||||
rewritePathType: parsedBody.data.rewritePathType
|
rewritePathType: pathMatchTypeRemoved ? null : parsedBody.data.rewritePathType
|
||||||
})
|
})
|
||||||
.where(eq(targets.targetId, targetId))
|
.where(eq(targets.targetId, targetId))
|
||||||
.returning();
|
.returning();
|
||||||
|
|||||||
@@ -20,7 +20,8 @@ async function queryUser(userId: string) {
|
|||||||
emailVerified: users.emailVerified,
|
emailVerified: users.emailVerified,
|
||||||
serverAdmin: users.serverAdmin,
|
serverAdmin: users.serverAdmin,
|
||||||
idpName: idp.name,
|
idpName: idp.name,
|
||||||
idpId: users.idpId
|
idpId: users.idpId,
|
||||||
|
locale: users.locale
|
||||||
})
|
})
|
||||||
.from(users)
|
.from(users)
|
||||||
.leftJoin(idp, eq(users.idpId, idp.idpId))
|
.leftJoin(idp, eq(users.idpId, idp.idpId))
|
||||||
|
|||||||
@@ -17,4 +17,5 @@ export * from "./createOrgUser";
|
|||||||
export * from "./adminUpdateUser2FA";
|
export * from "./adminUpdateUser2FA";
|
||||||
export * from "./adminGetUser";
|
export * from "./adminGetUser";
|
||||||
export * from "./updateOrgUser";
|
export * from "./updateOrgUser";
|
||||||
|
export * from "./updateUserLocale";
|
||||||
export * from "./myDevice";
|
export * from "./myDevice";
|
||||||
|
|||||||
@@ -63,7 +63,8 @@ export async function myDevice(
|
|||||||
emailVerified: users.emailVerified,
|
emailVerified: users.emailVerified,
|
||||||
serverAdmin: users.serverAdmin,
|
serverAdmin: users.serverAdmin,
|
||||||
idpName: idp.name,
|
idpName: idp.name,
|
||||||
idpId: users.idpId
|
idpId: users.idpId,
|
||||||
|
locale: users.locale
|
||||||
})
|
})
|
||||||
.from(users)
|
.from(users)
|
||||||
.leftJoin(idp, eq(users.idpId, idp.idpId))
|
.leftJoin(idp, eq(users.idpId, idp.idpId))
|
||||||
|
|||||||
57
server/routers/user/updateUserLocale.ts
Normal file
57
server/routers/user/updateUserLocale.ts
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
import { Request, Response, NextFunction } from "express";
|
||||||
|
import { z } from "zod";
|
||||||
|
import { db } from "@server/db";
|
||||||
|
import { users } from "@server/db";
|
||||||
|
import { eq } from "drizzle-orm";
|
||||||
|
import response from "@server/lib/response";
|
||||||
|
import HttpCode from "@server/types/HttpCode";
|
||||||
|
import createHttpError from "http-errors";
|
||||||
|
import logger from "@server/logger";
|
||||||
|
import { fromError } from "zod-validation-error";
|
||||||
|
|
||||||
|
const bodySchema = z.strictObject({
|
||||||
|
locale: z.string().min(2).max(10)
|
||||||
|
});
|
||||||
|
|
||||||
|
export async function updateUserLocale(
|
||||||
|
req: Request,
|
||||||
|
res: Response,
|
||||||
|
next: NextFunction
|
||||||
|
): Promise<any> {
|
||||||
|
try {
|
||||||
|
const userId = req.user?.userId;
|
||||||
|
|
||||||
|
if (!userId) {
|
||||||
|
return next(
|
||||||
|
createHttpError(HttpCode.UNAUTHORIZED, "User not found")
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
const parsedBody = bodySchema.safeParse(req.body);
|
||||||
|
if (!parsedBody.success) {
|
||||||
|
return next(
|
||||||
|
createHttpError(
|
||||||
|
HttpCode.BAD_REQUEST,
|
||||||
|
fromError(parsedBody.error).toString()
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
const { locale } = parsedBody.data;
|
||||||
|
|
||||||
|
await db.update(users).set({ locale }).where(eq(users.userId, userId));
|
||||||
|
|
||||||
|
return response(res, {
|
||||||
|
data: null,
|
||||||
|
success: true,
|
||||||
|
error: false,
|
||||||
|
message: "User locale updated successfully",
|
||||||
|
status: HttpCode.OK
|
||||||
|
});
|
||||||
|
} catch (error) {
|
||||||
|
logger.error(error);
|
||||||
|
return next(
|
||||||
|
createHttpError(HttpCode.INTERNAL_SERVER_ERROR, "An error occurred")
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -20,9 +20,82 @@ export default async function migration() {
|
|||||||
`Found ${existingUserOrgRoles.length} existing userOrgs role assignment(s) to migrate`
|
`Found ${existingUserOrgRoles.length} existing userOrgs role assignment(s) to migrate`
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Query existing roleId data from userInvites before the transaction destroys it
|
||||||
|
const existingInviteRolesQuery = await db.execute(
|
||||||
|
sql`SELECT "inviteId", "roleId" FROM "userInvites" WHERE "roleId" IS NOT NULL`
|
||||||
|
);
|
||||||
|
const existingUserInviteRoles = existingInviteRolesQuery.rows as {
|
||||||
|
inviteId: string;
|
||||||
|
roleId: number;
|
||||||
|
}[];
|
||||||
|
|
||||||
|
console.log(
|
||||||
|
`Found ${existingUserInviteRoles.length} existing userInvites role assignment(s) to migrate`
|
||||||
|
);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await db.execute(sql`BEGIN`);
|
await db.execute(sql`BEGIN`);
|
||||||
|
|
||||||
|
await db.execute(sql`
|
||||||
|
CREATE TABLE "bannedEmails" (
|
||||||
|
"email" varchar(255) PRIMARY KEY NOT NULL
|
||||||
|
);
|
||||||
|
`);
|
||||||
|
|
||||||
|
await db.execute(sql`
|
||||||
|
CREATE TABLE "bannedIps" (
|
||||||
|
"ip" varchar(255) PRIMARY KEY NOT NULL
|
||||||
|
);
|
||||||
|
`);
|
||||||
|
|
||||||
|
await db.execute(sql`
|
||||||
|
CREATE TABLE "connectionAuditLog" (
|
||||||
|
"id" serial PRIMARY KEY NOT NULL,
|
||||||
|
"sessionId" text NOT NULL,
|
||||||
|
"siteResourceId" integer,
|
||||||
|
"orgId" text,
|
||||||
|
"siteId" integer,
|
||||||
|
"clientId" integer,
|
||||||
|
"userId" text,
|
||||||
|
"sourceAddr" text NOT NULL,
|
||||||
|
"destAddr" text NOT NULL,
|
||||||
|
"protocol" text NOT NULL,
|
||||||
|
"startedAt" integer NOT NULL,
|
||||||
|
"endedAt" integer,
|
||||||
|
"bytesTx" integer,
|
||||||
|
"bytesRx" integer
|
||||||
|
);
|
||||||
|
`);
|
||||||
|
|
||||||
|
await db.execute(sql`
|
||||||
|
CREATE TABLE "siteProvisioningKeyOrg" (
|
||||||
|
"siteProvisioningKeyId" varchar(255) NOT NULL,
|
||||||
|
"orgId" varchar(255) NOT NULL,
|
||||||
|
CONSTRAINT "siteProvisioningKeyOrg_siteProvisioningKeyId_orgId_pk" PRIMARY KEY("siteProvisioningKeyId","orgId")
|
||||||
|
);
|
||||||
|
`);
|
||||||
|
await db.execute(sql`
|
||||||
|
CREATE TABLE "siteProvisioningKeys" (
|
||||||
|
"siteProvisioningKeyId" varchar(255) PRIMARY KEY NOT NULL,
|
||||||
|
"name" varchar(255) NOT NULL,
|
||||||
|
"siteProvisioningKeyHash" text NOT NULL,
|
||||||
|
"lastChars" varchar(4) NOT NULL,
|
||||||
|
"dateCreated" varchar(255) NOT NULL,
|
||||||
|
"lastUsed" varchar(255),
|
||||||
|
"maxBatchSize" integer,
|
||||||
|
"numUsed" integer DEFAULT 0 NOT NULL,
|
||||||
|
"validUntil" varchar(255)
|
||||||
|
);
|
||||||
|
`);
|
||||||
|
|
||||||
|
await db.execute(sql`
|
||||||
|
CREATE TABLE "userInviteRoles" (
|
||||||
|
"inviteId" varchar NOT NULL,
|
||||||
|
"roleId" integer NOT NULL,
|
||||||
|
CONSTRAINT "userInviteRoles_inviteId_roleId_pk" PRIMARY KEY("inviteId","roleId")
|
||||||
|
);
|
||||||
|
`);
|
||||||
|
|
||||||
await db.execute(sql`
|
await db.execute(sql`
|
||||||
CREATE TABLE "userOrgRoles" (
|
CREATE TABLE "userOrgRoles" (
|
||||||
"userId" varchar NOT NULL,
|
"userId" varchar NOT NULL,
|
||||||
@@ -31,12 +104,82 @@ export default async function migration() {
|
|||||||
CONSTRAINT "userOrgRoles_userId_orgId_roleId_unique" UNIQUE("userId","orgId","roleId")
|
CONSTRAINT "userOrgRoles_userId_orgId_roleId_unique" UNIQUE("userId","orgId","roleId")
|
||||||
);
|
);
|
||||||
`);
|
`);
|
||||||
await db.execute(sql`ALTER TABLE "userOrgs" DROP CONSTRAINT "userOrgs_roleId_roles_roleId_fk";`);
|
await db.execute(
|
||||||
await db.execute(sql`ALTER TABLE "userOrgRoles" ADD CONSTRAINT "userOrgRoles_userId_user_id_fk" FOREIGN KEY ("userId") REFERENCES "public"."user"("id") ON DELETE cascade ON UPDATE no action;`);
|
sql`ALTER TABLE "userOrgs" DROP CONSTRAINT "userOrgs_roleId_roles_roleId_fk";`
|
||||||
await db.execute(sql`ALTER TABLE "userOrgRoles" ADD CONSTRAINT "userOrgRoles_orgId_orgs_orgId_fk" FOREIGN KEY ("orgId") REFERENCES "public"."orgs"("orgId") ON DELETE cascade ON UPDATE no action;`);
|
);
|
||||||
await db.execute(sql`ALTER TABLE "userOrgRoles" ADD CONSTRAINT "userOrgRoles_roleId_roles_roleId_fk" FOREIGN KEY ("roleId") REFERENCES "public"."roles"("roleId") ON DELETE cascade ON UPDATE no action;`);
|
await db.execute(
|
||||||
|
sql`ALTER TABLE "userOrgRoles" ADD CONSTRAINT "userOrgRoles_userId_user_id_fk" FOREIGN KEY ("userId") REFERENCES "public"."user"("id") ON DELETE cascade ON UPDATE no action;`
|
||||||
|
);
|
||||||
|
await db.execute(
|
||||||
|
sql`ALTER TABLE "userOrgRoles" ADD CONSTRAINT "userOrgRoles_orgId_orgs_orgId_fk" FOREIGN KEY ("orgId") REFERENCES "public"."orgs"("orgId") ON DELETE cascade ON UPDATE no action;`
|
||||||
|
);
|
||||||
|
await db.execute(
|
||||||
|
sql`ALTER TABLE "userOrgRoles" ADD CONSTRAINT "userOrgRoles_roleId_roles_roleId_fk" FOREIGN KEY ("roleId") REFERENCES "public"."roles"("roleId") ON DELETE cascade ON UPDATE no action;`
|
||||||
|
);
|
||||||
await db.execute(sql`ALTER TABLE "userOrgs" DROP COLUMN "roleId";`);
|
await db.execute(sql`ALTER TABLE "userOrgs" DROP COLUMN "roleId";`);
|
||||||
|
|
||||||
|
await db.execute(
|
||||||
|
sql`ALTER TABLE "userInvites" DROP CONSTRAINT "userInvites_roleId_roles_roleId_fk";`
|
||||||
|
);
|
||||||
|
await db.execute(
|
||||||
|
sql`ALTER TABLE "accessAuditLog" ADD COLUMN "siteResourceId" integer;`
|
||||||
|
);
|
||||||
|
await db.execute(
|
||||||
|
sql`ALTER TABLE "clientSitesAssociationsCache" ADD COLUMN "isJitMode" boolean DEFAULT false NOT NULL;`
|
||||||
|
);
|
||||||
|
await db.execute(
|
||||||
|
sql`ALTER TABLE "domains" ADD COLUMN "errorMessage" text;`
|
||||||
|
);
|
||||||
|
await db.execute(
|
||||||
|
sql`ALTER TABLE "orgs" ADD COLUMN "settingsLogRetentionDaysConnection" integer DEFAULT 0 NOT NULL;`
|
||||||
|
);
|
||||||
|
await db.execute(
|
||||||
|
sql`ALTER TABLE "sites" ADD COLUMN "lastPing" integer;`
|
||||||
|
);
|
||||||
|
await db.execute(
|
||||||
|
sql`ALTER TABLE "user" ADD COLUMN "marketingEmailConsent" boolean DEFAULT false;`
|
||||||
|
);
|
||||||
|
await db.execute(sql`ALTER TABLE "user" ADD COLUMN "locale" varchar;`);
|
||||||
|
await db.execute(
|
||||||
|
sql`ALTER TABLE "connectionAuditLog" ADD CONSTRAINT "connectionAuditLog_siteResourceId_siteResources_siteResourceId_fk" FOREIGN KEY ("siteResourceId") REFERENCES "public"."siteResources"("siteResourceId") ON DELETE cascade ON UPDATE no action;`
|
||||||
|
);
|
||||||
|
await db.execute(
|
||||||
|
sql`ALTER TABLE "connectionAuditLog" ADD CONSTRAINT "connectionAuditLog_orgId_orgs_orgId_fk" FOREIGN KEY ("orgId") REFERENCES "public"."orgs"("orgId") ON DELETE cascade ON UPDATE no action;`
|
||||||
|
);
|
||||||
|
await db.execute(
|
||||||
|
sql`ALTER TABLE "connectionAuditLog" ADD CONSTRAINT "connectionAuditLog_siteId_sites_siteId_fk" FOREIGN KEY ("siteId") REFERENCES "public"."sites"("siteId") ON DELETE cascade ON UPDATE no action;`
|
||||||
|
);
|
||||||
|
await db.execute(
|
||||||
|
sql`ALTER TABLE "connectionAuditLog" ADD CONSTRAINT "connectionAuditLog_clientId_clients_clientId_fk" FOREIGN KEY ("clientId") REFERENCES "public"."clients"("clientId") ON DELETE cascade ON UPDATE no action;`
|
||||||
|
);
|
||||||
|
await db.execute(
|
||||||
|
sql`ALTER TABLE "connectionAuditLog" ADD CONSTRAINT "connectionAuditLog_userId_user_id_fk" FOREIGN KEY ("userId") REFERENCES "public"."user"("id") ON DELETE cascade ON UPDATE no action;`
|
||||||
|
);
|
||||||
|
await db.execute(
|
||||||
|
sql`ALTER TABLE "siteProvisioningKeyOrg" ADD CONSTRAINT "siteProvisioningKeyOrg_siteProvisioningKeyId_siteProvisioningKeys_siteProvisioningKeyId_fk" FOREIGN KEY ("siteProvisioningKeyId") REFERENCES "public"."siteProvisioningKeys"("siteProvisioningKeyId") ON DELETE cascade ON UPDATE no action;`
|
||||||
|
);
|
||||||
|
await db.execute(
|
||||||
|
sql`ALTER TABLE "siteProvisioningKeyOrg" ADD CONSTRAINT "siteProvisioningKeyOrg_orgId_orgs_orgId_fk" FOREIGN KEY ("orgId") REFERENCES "public"."orgs"("orgId") ON DELETE cascade ON UPDATE no action;`
|
||||||
|
);
|
||||||
|
await db.execute(
|
||||||
|
sql`ALTER TABLE "userInviteRoles" ADD CONSTRAINT "userInviteRoles_inviteId_userInvites_inviteId_fk" FOREIGN KEY ("inviteId") REFERENCES "public"."userInvites"("inviteId") ON DELETE cascade ON UPDATE no action;`
|
||||||
|
);
|
||||||
|
await db.execute(
|
||||||
|
sql`ALTER TABLE "userInviteRoles" ADD CONSTRAINT "userInviteRoles_roleId_roles_roleId_fk" FOREIGN KEY ("roleId") REFERENCES "public"."roles"("roleId") ON DELETE cascade ON UPDATE no action;`
|
||||||
|
);
|
||||||
|
await db.execute(
|
||||||
|
sql`CREATE INDEX "idx_accessAuditLog_startedAt" ON "connectionAuditLog" USING btree ("startedAt");`
|
||||||
|
);
|
||||||
|
await db.execute(
|
||||||
|
sql`CREATE INDEX "idx_accessAuditLog_org_startedAt" ON "connectionAuditLog" USING btree ("orgId","startedAt");`
|
||||||
|
);
|
||||||
|
await db.execute(
|
||||||
|
sql`CREATE INDEX "idx_accessAuditLog_siteResourceId" ON "connectionAuditLog" USING btree ("siteResourceId");`
|
||||||
|
);
|
||||||
|
await db.execute(sql`ALTER TABLE "userInvites" DROP COLUMN "roleId";`);
|
||||||
|
await db.execute(sql`ALTER TABLE "siteProvisioningKeys" ADD COLUMN "approveNewSites" boolean DEFAULT true NOT NULL;`);
|
||||||
|
await db.execute(sql`ALTER TABLE "sites" ADD COLUMN "status" varchar DEFAULT 'approved';`);
|
||||||
|
|
||||||
await db.execute(sql`COMMIT`);
|
await db.execute(sql`COMMIT`);
|
||||||
console.log("Migrated database");
|
console.log("Migrated database");
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
@@ -46,6 +189,29 @@ export default async function migration() {
|
|||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Re-insert the preserved invite role assignments into the new userInviteRoles table
|
||||||
|
if (existingUserInviteRoles.length > 0) {
|
||||||
|
try {
|
||||||
|
for (const row of existingUserInviteRoles) {
|
||||||
|
await db.execute(sql`
|
||||||
|
INSERT INTO "userInviteRoles" ("inviteId", "roleId")
|
||||||
|
VALUES (${row.inviteId}, ${row.roleId})
|
||||||
|
ON CONFLICT DO NOTHING
|
||||||
|
`);
|
||||||
|
}
|
||||||
|
|
||||||
|
console.log(
|
||||||
|
`Migrated ${existingUserInviteRoles.length} role assignment(s) into userInviteRoles`
|
||||||
|
);
|
||||||
|
} catch (e) {
|
||||||
|
console.error(
|
||||||
|
"Error while migrating role assignments into userInviteRoles:",
|
||||||
|
e
|
||||||
|
);
|
||||||
|
throw e;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Re-insert the preserved role assignments into the new userOrgRoles table
|
// Re-insert the preserved role assignments into the new userOrgRoles table
|
||||||
if (existingUserOrgRoles.length > 0) {
|
if (existingUserOrgRoles.length > 0) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -24,7 +24,89 @@ export default async function migration() {
|
|||||||
`Found ${existingUserOrgRoles.length} existing userOrgs role assignment(s) to migrate`
|
`Found ${existingUserOrgRoles.length} existing userOrgs role assignment(s) to migrate`
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Query existing roleId data from userInvites before the transaction destroys it
|
||||||
|
const existingUserInviteRoles = db
|
||||||
|
.prepare(
|
||||||
|
`SELECT "inviteId", "roleId" FROM 'userInvites' WHERE "roleId" IS NOT NULL`
|
||||||
|
)
|
||||||
|
.all() as { inviteId: string; roleId: number }[];
|
||||||
|
|
||||||
|
console.log(
|
||||||
|
`Found ${existingUserInviteRoles.length} existing userInvites role assignment(s) to migrate`
|
||||||
|
);
|
||||||
|
|
||||||
db.transaction(() => {
|
db.transaction(() => {
|
||||||
|
db.prepare(
|
||||||
|
`
|
||||||
|
CREATE TABLE 'bannedEmails' (
|
||||||
|
'email' text PRIMARY KEY NOT NULL
|
||||||
|
);
|
||||||
|
`
|
||||||
|
).run();
|
||||||
|
db.prepare(
|
||||||
|
`
|
||||||
|
CREATE TABLE 'bannedIps' (
|
||||||
|
'ip' text PRIMARY KEY NOT NULL
|
||||||
|
);
|
||||||
|
`
|
||||||
|
).run();
|
||||||
|
db.prepare(
|
||||||
|
`
|
||||||
|
CREATE TABLE 'connectionAuditLog' (
|
||||||
|
'id' integer PRIMARY KEY AUTOINCREMENT NOT NULL,
|
||||||
|
'sessionId' text NOT NULL,
|
||||||
|
'siteResourceId' integer,
|
||||||
|
'orgId' text,
|
||||||
|
'siteId' integer,
|
||||||
|
'clientId' integer,
|
||||||
|
'userId' text,
|
||||||
|
'sourceAddr' text NOT NULL,
|
||||||
|
'destAddr' text NOT NULL,
|
||||||
|
'protocol' text NOT NULL,
|
||||||
|
'startedAt' integer NOT NULL,
|
||||||
|
'endedAt' integer,
|
||||||
|
'bytesTx' integer,
|
||||||
|
'bytesRx' integer,
|
||||||
|
FOREIGN KEY ('siteResourceId') REFERENCES 'siteResources'('siteResourceId') ON UPDATE no action ON DELETE cascade,
|
||||||
|
FOREIGN KEY ('orgId') REFERENCES 'orgs'('orgId') ON UPDATE no action ON DELETE cascade,
|
||||||
|
FOREIGN KEY ('siteId') REFERENCES 'sites'('siteId') ON UPDATE no action ON DELETE cascade,
|
||||||
|
FOREIGN KEY ('clientId') REFERENCES 'clients'('clientId') ON UPDATE no action ON DELETE cascade,
|
||||||
|
FOREIGN KEY ('userId') REFERENCES 'user'('id') ON UPDATE no action ON DELETE cascade
|
||||||
|
);
|
||||||
|
`
|
||||||
|
).run();
|
||||||
|
|
||||||
|
db.prepare(`CREATE INDEX 'idx_accessAuditLog_startedAt' ON 'connectionAuditLog' ('startedAt');`).run();
|
||||||
|
db.prepare(`CREATE INDEX 'idx_accessAuditLog_org_startedAt' ON 'connectionAuditLog' ('orgId','startedAt');`).run();
|
||||||
|
db.prepare(`CREATE INDEX 'idx_accessAuditLog_siteResourceId' ON 'connectionAuditLog' ('siteResourceId');`).run();
|
||||||
|
|
||||||
|
db.prepare(
|
||||||
|
`
|
||||||
|
CREATE TABLE 'siteProvisioningKeyOrg' (
|
||||||
|
'siteProvisioningKeyId' text NOT NULL,
|
||||||
|
'orgId' text NOT NULL,
|
||||||
|
PRIMARY KEY('siteProvisioningKeyId', 'orgId'),
|
||||||
|
FOREIGN KEY ('siteProvisioningKeyId') REFERENCES 'siteProvisioningKeys'('siteProvisioningKeyId') ON UPDATE no action ON DELETE cascade,
|
||||||
|
FOREIGN KEY ('orgId') REFERENCES 'orgs'('orgId') ON UPDATE no action ON DELETE cascade
|
||||||
|
);
|
||||||
|
`
|
||||||
|
).run();
|
||||||
|
db.prepare(
|
||||||
|
`
|
||||||
|
CREATE TABLE 'siteProvisioningKeys' (
|
||||||
|
'siteProvisioningKeyId' text PRIMARY KEY NOT NULL,
|
||||||
|
'name' text NOT NULL,
|
||||||
|
'siteProvisioningKeyHash' text NOT NULL,
|
||||||
|
'lastChars' text NOT NULL,
|
||||||
|
'dateCreated' text NOT NULL,
|
||||||
|
'lastUsed' text,
|
||||||
|
'maxBatchSize' integer,
|
||||||
|
'numUsed' integer DEFAULT 0 NOT NULL,
|
||||||
|
'validUntil' text
|
||||||
|
);
|
||||||
|
`
|
||||||
|
).run();
|
||||||
|
|
||||||
db.prepare(
|
db.prepare(
|
||||||
`
|
`
|
||||||
CREATE TABLE 'userOrgRoles' (
|
CREATE TABLE 'userOrgRoles' (
|
||||||
@@ -63,10 +145,77 @@ export default async function migration() {
|
|||||||
db.prepare(
|
db.prepare(
|
||||||
`ALTER TABLE '__new_userOrgs' RENAME TO 'userOrgs';`
|
`ALTER TABLE '__new_userOrgs' RENAME TO 'userOrgs';`
|
||||||
).run();
|
).run();
|
||||||
|
db.prepare(
|
||||||
|
`
|
||||||
|
CREATE TABLE 'userInviteRoles' (
|
||||||
|
'inviteId' text NOT NULL,
|
||||||
|
'roleId' integer NOT NULL,
|
||||||
|
PRIMARY KEY('inviteId', 'roleId'),
|
||||||
|
FOREIGN KEY ('inviteId') REFERENCES 'userInvites'('inviteId') ON UPDATE no action ON DELETE cascade,
|
||||||
|
FOREIGN KEY ('roleId') REFERENCES 'roles'('roleId') ON UPDATE no action ON DELETE cascade
|
||||||
|
);
|
||||||
|
`
|
||||||
|
).run();
|
||||||
|
db.prepare(
|
||||||
|
`
|
||||||
|
CREATE TABLE '__new_userInvites' (
|
||||||
|
'inviteId' text PRIMARY KEY NOT NULL,
|
||||||
|
'orgId' text NOT NULL,
|
||||||
|
'email' text NOT NULL,
|
||||||
|
'expiresAt' integer NOT NULL,
|
||||||
|
'token' text NOT NULL,
|
||||||
|
FOREIGN KEY ('orgId') REFERENCES 'orgs'('orgId') ON UPDATE no action ON DELETE cascade
|
||||||
|
);
|
||||||
|
`
|
||||||
|
).run();
|
||||||
|
db.prepare(
|
||||||
|
`INSERT INTO '__new_userInvites'("inviteId", "orgId", "email", "expiresAt", "token") SELECT "inviteId", "orgId", "email", "expiresAt", "token" FROM 'userInvites';`
|
||||||
|
).run();
|
||||||
|
db.prepare(`DROP TABLE 'userInvites';`).run();
|
||||||
|
db.prepare(
|
||||||
|
`ALTER TABLE '__new_userInvites' RENAME TO 'userInvites';`
|
||||||
|
).run();
|
||||||
|
|
||||||
|
db.prepare(
|
||||||
|
`ALTER TABLE 'accessAuditLog' ADD 'siteResourceId' integer;`
|
||||||
|
).run();
|
||||||
|
db.prepare(
|
||||||
|
`ALTER TABLE 'clientSitesAssociationsCache' ADD 'isJitMode' integer DEFAULT false NOT NULL;`
|
||||||
|
).run();
|
||||||
|
db.prepare(`ALTER TABLE 'domains' ADD 'errorMessage' text;`).run();
|
||||||
|
db.prepare(
|
||||||
|
`ALTER TABLE 'orgs' ADD 'settingsLogRetentionDaysConnection' integer DEFAULT 0 NOT NULL;`
|
||||||
|
).run();
|
||||||
|
db.prepare(`ALTER TABLE 'sites' ADD 'lastPing' integer;`).run();
|
||||||
|
db.prepare(
|
||||||
|
`ALTER TABLE 'user' ADD 'marketingEmailConsent' integer DEFAULT false;`
|
||||||
|
).run();
|
||||||
|
db.prepare(`ALTER TABLE 'user' ADD 'locale' text;`).run();
|
||||||
|
db.prepare(`ALTER TABLE 'siteProvisioningKeys' ADD COLUMN 'approveNewSites' integer DEFAULT 1 NOT NULL;`).run();
|
||||||
|
db.prepare(`ALTER TABLE 'sites' ADD COLUMN 'status' text DEFAULT 'approved';`).run();
|
||||||
})();
|
})();
|
||||||
|
|
||||||
db.pragma("foreign_keys = ON");
|
db.pragma("foreign_keys = ON");
|
||||||
|
|
||||||
|
// Re-insert the preserved invite role assignments into the new userInviteRoles table
|
||||||
|
if (existingUserInviteRoles.length > 0) {
|
||||||
|
const insertUserInviteRole = db.prepare(
|
||||||
|
`INSERT OR IGNORE INTO 'userInviteRoles' ("inviteId", "roleId") VALUES (?, ?)`
|
||||||
|
);
|
||||||
|
|
||||||
|
const insertAll = db.transaction(() => {
|
||||||
|
for (const row of existingUserInviteRoles) {
|
||||||
|
insertUserInviteRole.run(row.inviteId, row.roleId);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
insertAll();
|
||||||
|
|
||||||
|
console.log(
|
||||||
|
`Migrated ${existingUserInviteRoles.length} role assignment(s) into userInviteRoles`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
// Re-insert the preserved role assignments into the new userOrgRoles table
|
// Re-insert the preserved role assignments into the new userOrgRoles table
|
||||||
if (existingUserOrgRoles.length > 0) {
|
if (existingUserOrgRoles.length > 0) {
|
||||||
const insertUserOrgRole = db.prepare(
|
const insertUserOrgRole = db.prepare(
|
||||||
|
|||||||
@@ -3,13 +3,12 @@ import { authCookieHeader } from "@app/lib/api/cookies";
|
|||||||
import { AxiosResponse } from "axios";
|
import { AxiosResponse } from "axios";
|
||||||
import InvitationsTable, {
|
import InvitationsTable, {
|
||||||
InvitationRow
|
InvitationRow
|
||||||
} from "../../../../../components/InvitationsTable";
|
} from "@app/components/InvitationsTable";
|
||||||
import { GetOrgResponse } from "@server/routers/org";
|
import { GetOrgResponse } from "@server/routers/org";
|
||||||
import { cache } from "react";
|
import { cache } from "react";
|
||||||
import OrgProvider from "@app/providers/OrgProvider";
|
import OrgProvider from "@app/providers/OrgProvider";
|
||||||
import UserProvider from "@app/providers/UserProvider";
|
import UserProvider from "@app/providers/UserProvider";
|
||||||
import { verifySession } from "@app/lib/auth/verifySession";
|
import { verifySession } from "@app/lib/auth/verifySession";
|
||||||
import AccessPageHeaderAndNav from "../../../../../components/AccessPageHeaderAndNav";
|
|
||||||
import SettingsSectionTitle from "@app/components/SettingsSectionTitle";
|
import SettingsSectionTitle from "@app/components/SettingsSectionTitle";
|
||||||
import { getTranslations } from "next-intl/server";
|
import { getTranslations } from "next-intl/server";
|
||||||
|
|
||||||
|
|||||||
@@ -340,16 +340,15 @@ export default function Page() {
|
|||||||
|
|
||||||
const roleIds = values.roles.map((r) => parseInt(r.id, 10));
|
const roleIds = values.roles.map((r) => parseInt(r.id, 10));
|
||||||
|
|
||||||
const res = await api
|
const res = await api.post<AxiosResponse<InviteUserResponse>>(
|
||||||
.post<AxiosResponse<InviteUserResponse>>(
|
`/org/${orgId}/create-invite`,
|
||||||
`/org/${orgId}/create-invite`,
|
{
|
||||||
{
|
email: values.email,
|
||||||
email: values.email,
|
roleIds,
|
||||||
roleIds,
|
validHours: parseInt(values.validForHours),
|
||||||
validHours: parseInt(values.validForHours),
|
sendEmail
|
||||||
sendEmail
|
}
|
||||||
}
|
)
|
||||||
)
|
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
if (e.response?.status === 409) {
|
if (e.response?.status === 409) {
|
||||||
toast({
|
toast({
|
||||||
|
|||||||
@@ -3,13 +3,12 @@ import { authCookieHeader } from "@app/lib/api/cookies";
|
|||||||
import { getUserDisplayName } from "@app/lib/getUserDisplayName";
|
import { getUserDisplayName } from "@app/lib/getUserDisplayName";
|
||||||
import { ListUsersResponse } from "@server/routers/user";
|
import { ListUsersResponse } from "@server/routers/user";
|
||||||
import { AxiosResponse } from "axios";
|
import { AxiosResponse } from "axios";
|
||||||
import UsersTable, { UserRow } from "../../../../../components/UsersTable";
|
import UsersTable, { UserRow } from "@app/components/UsersTable";
|
||||||
import { GetOrgResponse } from "@server/routers/org";
|
import { GetOrgResponse } from "@server/routers/org";
|
||||||
import { cache } from "react";
|
import { cache } from "react";
|
||||||
import OrgProvider from "@app/providers/OrgProvider";
|
import OrgProvider from "@app/providers/OrgProvider";
|
||||||
import UserProvider from "@app/providers/UserProvider";
|
import UserProvider from "@app/providers/UserProvider";
|
||||||
import { verifySession } from "@app/lib/auth/verifySession";
|
import { verifySession } from "@app/lib/auth/verifySession";
|
||||||
import AccessPageHeaderAndNav from "../../../../../components/AccessPageHeaderAndNav";
|
|
||||||
import SettingsSectionTitle from "@app/components/SettingsSectionTitle";
|
import SettingsSectionTitle from "@app/components/SettingsSectionTitle";
|
||||||
import { getTranslations } from "next-intl/server";
|
import { getTranslations } from "next-intl/server";
|
||||||
|
|
||||||
|
|||||||
@@ -1,52 +0,0 @@
|
|||||||
"use client";
|
|
||||||
|
|
||||||
import AlertRuleGraphEditor from "@app/components/alert-rule-editor/AlertRuleGraphEditor";
|
|
||||||
import { ruleToFormValues } from "@app/lib/alertRuleForm";
|
|
||||||
import type { AlertRule } from "@app/lib/alertRulesLocalStorage";
|
|
||||||
import { getRule } from "@app/lib/alertRulesLocalStorage";
|
|
||||||
import { useParams, useRouter } from "next/navigation";
|
|
||||||
import { useTranslations } from "next-intl";
|
|
||||||
import { useEffect, useState } from "react";
|
|
||||||
|
|
||||||
export default function EditAlertRulePage() {
|
|
||||||
const t = useTranslations();
|
|
||||||
const params = useParams();
|
|
||||||
const router = useRouter();
|
|
||||||
const orgId = params.orgId as string;
|
|
||||||
const ruleId = params.ruleId as string;
|
|
||||||
const [rule, setRule] = useState<AlertRule | null | undefined>(undefined);
|
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
const r = getRule(orgId, ruleId);
|
|
||||||
setRule(r ?? null);
|
|
||||||
}, [orgId, ruleId]);
|
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
if (rule === null) {
|
|
||||||
router.replace(`/${orgId}/settings/alerting`);
|
|
||||||
}
|
|
||||||
}, [rule, orgId, router]);
|
|
||||||
|
|
||||||
if (rule === undefined) {
|
|
||||||
return (
|
|
||||||
<div className="min-h-[12rem] flex items-center justify-center text-muted-foreground text-sm">
|
|
||||||
{t("loading")}
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (rule === null) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
|
||||||
<AlertRuleGraphEditor
|
|
||||||
key={rule.id}
|
|
||||||
orgId={orgId}
|
|
||||||
ruleId={rule.id}
|
|
||||||
createdAt={rule.createdAt}
|
|
||||||
initialValues={ruleToFormValues(rule)}
|
|
||||||
isNew={false}
|
|
||||||
/>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
"use client";
|
|
||||||
|
|
||||||
import AlertRuleGraphEditor from "@app/components/alert-rule-editor/AlertRuleGraphEditor";
|
|
||||||
import { defaultFormValues } from "@app/lib/alertRuleForm";
|
|
||||||
import { isoNow, newRuleId } from "@app/lib/alertRulesLocalStorage";
|
|
||||||
import { useParams } from "next/navigation";
|
|
||||||
import { useTranslations } from "next-intl";
|
|
||||||
import { useEffect, useState } from "react";
|
|
||||||
|
|
||||||
export default function NewAlertRulePage() {
|
|
||||||
const t = useTranslations();
|
|
||||||
const params = useParams();
|
|
||||||
const orgId = params.orgId as string;
|
|
||||||
const [meta, setMeta] = useState<{ id: string; createdAt: string } | null>(
|
|
||||||
null
|
|
||||||
);
|
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
setMeta({ id: newRuleId(), createdAt: isoNow() });
|
|
||||||
}, []);
|
|
||||||
|
|
||||||
if (!meta) {
|
|
||||||
return (
|
|
||||||
<div className="min-h-[12rem] flex items-center justify-center text-muted-foreground text-sm">
|
|
||||||
{t("loading")}
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
|
||||||
<AlertRuleGraphEditor
|
|
||||||
key={meta.id}
|
|
||||||
orgId={orgId}
|
|
||||||
ruleId={meta.id}
|
|
||||||
createdAt={meta.createdAt}
|
|
||||||
initialValues={defaultFormValues()}
|
|
||||||
isNew
|
|
||||||
/>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
import SettingsSectionTitle from "@app/components/SettingsSectionTitle";
|
|
||||||
import AlertingRulesTable from "@app/components/AlertingRulesTable";
|
|
||||||
import { getTranslations } from "next-intl/server";
|
|
||||||
|
|
||||||
type AlertingPageProps = {
|
|
||||||
params: Promise<{ orgId: string }>;
|
|
||||||
};
|
|
||||||
|
|
||||||
export const dynamic = "force-dynamic";
|
|
||||||
|
|
||||||
export default async function AlertingPage(props: AlertingPageProps) {
|
|
||||||
const params = await props.params;
|
|
||||||
const t = await getTranslations();
|
|
||||||
|
|
||||||
return (
|
|
||||||
<>
|
|
||||||
<SettingsSectionTitle
|
|
||||||
title={t("alertingTitle")}
|
|
||||||
description={t("alertingDescription")}
|
|
||||||
/>
|
|
||||||
<AlertingRulesTable orgId={params.orgId} />
|
|
||||||
</>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -4,7 +4,7 @@ import { AxiosResponse } from "axios";
|
|||||||
import SettingsSectionTitle from "@app/components/SettingsSectionTitle";
|
import SettingsSectionTitle from "@app/components/SettingsSectionTitle";
|
||||||
import OrgApiKeysTable, {
|
import OrgApiKeysTable, {
|
||||||
OrgApiKeyRow
|
OrgApiKeyRow
|
||||||
} from "../../../../components/OrgApiKeysTable";
|
} from "@app/components/OrgApiKeysTable";
|
||||||
import { ListOrgApiKeysResponse } from "@server/routers/apiKeys";
|
import { ListOrgApiKeysResponse } from "@server/routers/apiKeys";
|
||||||
import { getTranslations } from "next-intl/server";
|
import { getTranslations } from "next-intl/server";
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import { internal } from "@app/lib/api";
|
|||||||
import { authCookieHeader } from "@app/lib/api/cookies";
|
import { authCookieHeader } from "@app/lib/api/cookies";
|
||||||
import { AxiosResponse } from "axios";
|
import { AxiosResponse } from "axios";
|
||||||
import SettingsSectionTitle from "@app/components/SettingsSectionTitle";
|
import SettingsSectionTitle from "@app/components/SettingsSectionTitle";
|
||||||
import DomainsTable, { DomainRow } from "../../../../components/DomainsTable";
|
import DomainsTable, { DomainRow } from "@app/components/DomainsTable";
|
||||||
import { getTranslations } from "next-intl/server";
|
import { getTranslations } from "next-intl/server";
|
||||||
import { cache } from "react";
|
import { cache } from "react";
|
||||||
import { GetOrgResponse } from "@server/routers/org";
|
import { GetOrgResponse } from "@server/routers/org";
|
||||||
|
|||||||
@@ -79,7 +79,8 @@ const SecurityFormSchema = z.object({
|
|||||||
passwordExpiryDays: z.number().nullable().optional(),
|
passwordExpiryDays: z.number().nullable().optional(),
|
||||||
settingsLogRetentionDaysRequest: z.number(),
|
settingsLogRetentionDaysRequest: z.number(),
|
||||||
settingsLogRetentionDaysAccess: z.number(),
|
settingsLogRetentionDaysAccess: z.number(),
|
||||||
settingsLogRetentionDaysAction: z.number()
|
settingsLogRetentionDaysAction: z.number(),
|
||||||
|
settingsLogRetentionDaysConnection: z.number()
|
||||||
});
|
});
|
||||||
|
|
||||||
const LOG_RETENTION_OPTIONS = [
|
const LOG_RETENTION_OPTIONS = [
|
||||||
@@ -120,7 +121,8 @@ function LogRetentionSectionForm({ org }: SectionFormProps) {
|
|||||||
SecurityFormSchema.pick({
|
SecurityFormSchema.pick({
|
||||||
settingsLogRetentionDaysRequest: true,
|
settingsLogRetentionDaysRequest: true,
|
||||||
settingsLogRetentionDaysAccess: true,
|
settingsLogRetentionDaysAccess: true,
|
||||||
settingsLogRetentionDaysAction: true
|
settingsLogRetentionDaysAction: true,
|
||||||
|
settingsLogRetentionDaysConnection: true
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
defaultValues: {
|
defaultValues: {
|
||||||
@@ -129,7 +131,9 @@ function LogRetentionSectionForm({ org }: SectionFormProps) {
|
|||||||
settingsLogRetentionDaysAccess:
|
settingsLogRetentionDaysAccess:
|
||||||
org.settingsLogRetentionDaysAccess ?? 15,
|
org.settingsLogRetentionDaysAccess ?? 15,
|
||||||
settingsLogRetentionDaysAction:
|
settingsLogRetentionDaysAction:
|
||||||
org.settingsLogRetentionDaysAction ?? 15
|
org.settingsLogRetentionDaysAction ?? 15,
|
||||||
|
settingsLogRetentionDaysConnection:
|
||||||
|
org.settingsLogRetentionDaysConnection ?? 15
|
||||||
},
|
},
|
||||||
mode: "onChange"
|
mode: "onChange"
|
||||||
});
|
});
|
||||||
@@ -155,7 +159,9 @@ function LogRetentionSectionForm({ org }: SectionFormProps) {
|
|||||||
settingsLogRetentionDaysAccess:
|
settingsLogRetentionDaysAccess:
|
||||||
data.settingsLogRetentionDaysAccess,
|
data.settingsLogRetentionDaysAccess,
|
||||||
settingsLogRetentionDaysAction:
|
settingsLogRetentionDaysAction:
|
||||||
data.settingsLogRetentionDaysAction
|
data.settingsLogRetentionDaysAction,
|
||||||
|
settingsLogRetentionDaysConnection:
|
||||||
|
data.settingsLogRetentionDaysConnection
|
||||||
} as any;
|
} as any;
|
||||||
|
|
||||||
// Update organization
|
// Update organization
|
||||||
@@ -473,6 +479,107 @@ function LogRetentionSectionForm({ org }: SectionFormProps) {
|
|||||||
);
|
);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
<FormField
|
||||||
|
control={form.control}
|
||||||
|
name="settingsLogRetentionDaysConnection"
|
||||||
|
render={({ field }) => {
|
||||||
|
const isDisabled = !isPaidUser(
|
||||||
|
tierMatrix.connectionLogs
|
||||||
|
);
|
||||||
|
|
||||||
|
return (
|
||||||
|
<FormItem>
|
||||||
|
<FormLabel>
|
||||||
|
{t(
|
||||||
|
"logRetentionConnectionLabel"
|
||||||
|
)}
|
||||||
|
</FormLabel>
|
||||||
|
<FormControl>
|
||||||
|
<Select
|
||||||
|
value={field.value.toString()}
|
||||||
|
onValueChange={(
|
||||||
|
value
|
||||||
|
) => {
|
||||||
|
if (
|
||||||
|
!isDisabled
|
||||||
|
) {
|
||||||
|
field.onChange(
|
||||||
|
parseInt(
|
||||||
|
value,
|
||||||
|
10
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}}
|
||||||
|
disabled={
|
||||||
|
isDisabled
|
||||||
|
}
|
||||||
|
>
|
||||||
|
<SelectTrigger>
|
||||||
|
<SelectValue
|
||||||
|
placeholder={t(
|
||||||
|
"selectLogRetention"
|
||||||
|
)}
|
||||||
|
/>
|
||||||
|
</SelectTrigger>
|
||||||
|
<SelectContent>
|
||||||
|
{LOG_RETENTION_OPTIONS.filter(
|
||||||
|
(option) => {
|
||||||
|
if (build != "saas") {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
let maxDays: number;
|
||||||
|
|
||||||
|
if (!subscriptionTier) {
|
||||||
|
// No tier
|
||||||
|
maxDays = 3;
|
||||||
|
} else if (subscriptionTier == "enterprise") {
|
||||||
|
// Enterprise - no limit
|
||||||
|
return true;
|
||||||
|
} else if (subscriptionTier == "tier3") {
|
||||||
|
maxDays = 90;
|
||||||
|
} else if (subscriptionTier == "tier2") {
|
||||||
|
maxDays = 30;
|
||||||
|
} else if (subscriptionTier == "tier1") {
|
||||||
|
maxDays = 7;
|
||||||
|
} else {
|
||||||
|
// Default to most restrictive
|
||||||
|
maxDays = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Filter out options that exceed the max
|
||||||
|
// Special values: -1 (forever) and 9001 (end of year) should be filtered
|
||||||
|
if (option.value < 0 || option.value > maxDays) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
).map(
|
||||||
|
(
|
||||||
|
option
|
||||||
|
) => (
|
||||||
|
<SelectItem
|
||||||
|
key={
|
||||||
|
option.value
|
||||||
|
}
|
||||||
|
value={option.value.toString()}
|
||||||
|
>
|
||||||
|
{t(
|
||||||
|
option.label
|
||||||
|
)}
|
||||||
|
</SelectItem>
|
||||||
|
)
|
||||||
|
)}
|
||||||
|
</SelectContent>
|
||||||
|
</Select>
|
||||||
|
</FormControl>
|
||||||
|
<FormMessage />
|
||||||
|
</FormItem>
|
||||||
|
);
|
||||||
|
}}
|
||||||
|
/>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@@ -465,7 +465,11 @@ export default function GeneralPage() {
|
|||||||
cell: ({ row }) => {
|
cell: ({ row }) => {
|
||||||
return (
|
return (
|
||||||
<Link
|
<Link
|
||||||
href={`/${row.original.orgId}/settings/resources/proxy/${row.original.resourceNiceId}`}
|
href={
|
||||||
|
row.original.type === "ssh"
|
||||||
|
? `/${row.original.orgId}/settings/resources/client?query=${row.original.resourceNiceId}`
|
||||||
|
: `/${row.original.orgId}/settings/resources/proxy/${row.original.resourceNiceId}`
|
||||||
|
}
|
||||||
>
|
>
|
||||||
<Button
|
<Button
|
||||||
variant="outline"
|
variant="outline"
|
||||||
|
|||||||
481
src/app/[orgId]/settings/logs/streaming/page.tsx
Normal file
481
src/app/[orgId]/settings/logs/streaming/page.tsx
Normal file
@@ -0,0 +1,481 @@
|
|||||||
|
"use client";
|
||||||
|
|
||||||
|
import { useState, useEffect, useCallback } from "react";
|
||||||
|
import { useParams } from "next/navigation";
|
||||||
|
import { createApiClient, formatAxiosError } from "@app/lib/api";
|
||||||
|
import { useEnvContext } from "@app/hooks/useEnvContext";
|
||||||
|
import { toast } from "@app/hooks/useToast";
|
||||||
|
import { usePaidStatus } from "@app/hooks/usePaidStatus";
|
||||||
|
import { PaidFeaturesAlert } from "@app/components/PaidFeaturesAlert";
|
||||||
|
import ConfirmDeleteDialog from "@app/components/ConfirmDeleteDialog";
|
||||||
|
import { tierMatrix, TierFeature } from "@server/lib/billing/tierMatrix";
|
||||||
|
import SettingsSectionTitle from "@app/components/SettingsSectionTitle";
|
||||||
|
import {
|
||||||
|
Credenza,
|
||||||
|
CredenzaBody,
|
||||||
|
CredenzaClose,
|
||||||
|
CredenzaContent,
|
||||||
|
CredenzaDescription,
|
||||||
|
CredenzaFooter,
|
||||||
|
CredenzaHeader,
|
||||||
|
CredenzaTitle
|
||||||
|
} from "@app/components/Credenza";
|
||||||
|
import { Button } from "@app/components/ui/button";
|
||||||
|
import { Switch } from "@app/components/ui/switch";
|
||||||
|
import { Globe, MoreHorizontal, Plus } from "lucide-react";
|
||||||
|
import { AxiosResponse } from "axios";
|
||||||
|
import { build } from "@server/build";
|
||||||
|
import Image from "next/image";
|
||||||
|
import { StrategySelect, StrategyOption } from "@app/components/StrategySelect";
|
||||||
|
import {
|
||||||
|
DropdownMenu,
|
||||||
|
DropdownMenuContent,
|
||||||
|
DropdownMenuItem,
|
||||||
|
DropdownMenuTrigger
|
||||||
|
} from "@app/components/ui/dropdown-menu";
|
||||||
|
import {
|
||||||
|
Destination,
|
||||||
|
HttpDestinationCredenza,
|
||||||
|
parseHttpConfig
|
||||||
|
} from "@app/components/HttpDestinationCredenza";
|
||||||
|
import { useTranslations } from "next-intl";
|
||||||
|
|
||||||
|
// ── Re-export Destination so the rest of the file can use it ──────────────────
|
||||||
|
|
||||||
|
interface ListDestinationsResponse {
|
||||||
|
destinations: Destination[];
|
||||||
|
pagination: {
|
||||||
|
total: number;
|
||||||
|
limit: number;
|
||||||
|
offset: number;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
// ── Destination card ───────────────────────────────────────────────────────────
|
||||||
|
|
||||||
|
interface DestinationCardProps {
|
||||||
|
destination: Destination;
|
||||||
|
onToggle: (id: number, enabled: boolean) => void;
|
||||||
|
onEdit: (destination: Destination) => void;
|
||||||
|
onDelete: (destination: Destination) => void;
|
||||||
|
isToggling: boolean;
|
||||||
|
disabled?: boolean;
|
||||||
|
}
|
||||||
|
|
||||||
|
function DestinationCard({
|
||||||
|
destination,
|
||||||
|
onToggle,
|
||||||
|
onEdit,
|
||||||
|
onDelete,
|
||||||
|
isToggling,
|
||||||
|
disabled = false
|
||||||
|
}: DestinationCardProps) {
|
||||||
|
const t = useTranslations();
|
||||||
|
const cfg = parseHttpConfig(destination.config);
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div className="relative flex flex-col rounded-lg border bg-card text-card-foreground p-5 gap-3">
|
||||||
|
{/* Top row: icon + name/type + toggle */}
|
||||||
|
<div className="flex items-start justify-between gap-3">
|
||||||
|
<div className="flex items-center gap-3 min-w-0">
|
||||||
|
{/* Squirkle icon: gray outer → white inner → black globe */}
|
||||||
|
<div className="shrink-0 flex items-center justify-center w-10 h-10 rounded-2xl bg-muted">
|
||||||
|
<div className="flex items-center justify-center w-6 h-6 rounded-xl bg-white shadow-sm">
|
||||||
|
<Globe className="h-3.5 w-3.5 text-black" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className="min-w-0">
|
||||||
|
<p className="font-semibold text-sm leading-tight truncate">
|
||||||
|
{cfg.name || t("streamingUnnamedDestination")}
|
||||||
|
</p>
|
||||||
|
<p className="text-xs text-muted-foreground truncate mt-0.5">
|
||||||
|
HTTP
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<Switch
|
||||||
|
checked={destination.enabled}
|
||||||
|
onCheckedChange={(v) =>
|
||||||
|
onToggle(destination.destinationId, v)
|
||||||
|
}
|
||||||
|
disabled={isToggling || disabled}
|
||||||
|
className="shrink-0 mt-0.5"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* URL preview */}
|
||||||
|
<p className="text-xs text-muted-foreground truncate">
|
||||||
|
{cfg.url || (
|
||||||
|
<span className="italic">{t("streamingNoUrlConfigured")}</span>
|
||||||
|
)}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
{/* Footer: edit button + three-dots menu */}
|
||||||
|
<div className="mt-auto pt-5 flex gap-2">
|
||||||
|
<Button
|
||||||
|
variant="outline"
|
||||||
|
onClick={() => onEdit(destination)}
|
||||||
|
disabled={disabled}
|
||||||
|
className="flex-1"
|
||||||
|
>
|
||||||
|
{t("edit")}
|
||||||
|
</Button>
|
||||||
|
<DropdownMenu>
|
||||||
|
<DropdownMenuTrigger asChild>
|
||||||
|
<Button
|
||||||
|
variant="outline"
|
||||||
|
size="icon"
|
||||||
|
className="h-9 w-9 shrink-0"
|
||||||
|
disabled={disabled}
|
||||||
|
>
|
||||||
|
<MoreHorizontal className="h-4 w-4" />
|
||||||
|
</Button>
|
||||||
|
</DropdownMenuTrigger>
|
||||||
|
<DropdownMenuContent align="end">
|
||||||
|
<DropdownMenuItem
|
||||||
|
className="text-destructive focus:text-destructive"
|
||||||
|
onClick={() => onDelete(destination)}
|
||||||
|
>
|
||||||
|
{t("delete")}
|
||||||
|
</DropdownMenuItem>
|
||||||
|
</DropdownMenuContent>
|
||||||
|
</DropdownMenu>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
// ── Add destination card ───────────────────────────────────────────────────────
|
||||||
|
|
||||||
|
function AddDestinationCard({ onClick }: { onClick: () => void }) {
|
||||||
|
const t = useTranslations();
|
||||||
|
|
||||||
|
return (
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
onClick={onClick}
|
||||||
|
className="flex flex-col items-center justify-center rounded-lg border-2 border-dashed border-border bg-transparent transition-colors p-5 min-h-35 w-full text-muted-foreground hover:border-primary hover:text-primary hover:bg-primary/5 cursor-pointer"
|
||||||
|
>
|
||||||
|
<div className="flex flex-col items-center gap-2">
|
||||||
|
<div className="flex items-center justify-center w-9 h-9 rounded-md border-2 border-dashed border-current">
|
||||||
|
<Plus className="h-4 w-4" />
|
||||||
|
</div>
|
||||||
|
<span className="text-sm font-medium">{t("streamingAddDestination")}</span>
|
||||||
|
</div>
|
||||||
|
</button>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
// ── Destination type picker ────────────────────────────────────────────────────
|
||||||
|
|
||||||
|
type DestinationType = "http" | "s3" | "datadog";
|
||||||
|
|
||||||
|
interface DestinationTypePickerProps {
|
||||||
|
open: boolean;
|
||||||
|
onOpenChange: (open: boolean) => void;
|
||||||
|
onSelect: (type: DestinationType) => void;
|
||||||
|
isPaywalled?: boolean;
|
||||||
|
}
|
||||||
|
|
||||||
|
function DestinationTypePicker({
|
||||||
|
open,
|
||||||
|
onOpenChange,
|
||||||
|
onSelect,
|
||||||
|
isPaywalled = false
|
||||||
|
}: DestinationTypePickerProps) {
|
||||||
|
const t = useTranslations();
|
||||||
|
const [selected, setSelected] = useState<DestinationType>("http");
|
||||||
|
|
||||||
|
const destinationTypeOptions: ReadonlyArray<StrategyOption<DestinationType>> = [
|
||||||
|
{
|
||||||
|
id: "http",
|
||||||
|
title: t("streamingHttpWebhookTitle"),
|
||||||
|
description: t("streamingHttpWebhookDescription"),
|
||||||
|
icon: <Globe className="h-6 w-6" />
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: "s3",
|
||||||
|
title: t("streamingS3Title"),
|
||||||
|
description: t("streamingS3Description"),
|
||||||
|
disabled: true,
|
||||||
|
icon: (
|
||||||
|
<Image
|
||||||
|
src="/third-party/s3.png"
|
||||||
|
alt={t("streamingS3Title")}
|
||||||
|
width={24}
|
||||||
|
height={24}
|
||||||
|
className="rounded-sm"
|
||||||
|
/>
|
||||||
|
)
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: "datadog",
|
||||||
|
title: t("streamingDatadogTitle"),
|
||||||
|
description: t("streamingDatadogDescription"),
|
||||||
|
disabled: true,
|
||||||
|
icon: (
|
||||||
|
<Image
|
||||||
|
src="/third-party/dd.png"
|
||||||
|
alt={t("streamingDatadogTitle")}
|
||||||
|
width={24}
|
||||||
|
height={24}
|
||||||
|
className="rounded-sm"
|
||||||
|
/>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
if (open) setSelected("http");
|
||||||
|
}, [open]);
|
||||||
|
|
||||||
|
return (
|
||||||
|
<Credenza open={open} onOpenChange={onOpenChange}>
|
||||||
|
<CredenzaContent className="sm:max-w-lg">
|
||||||
|
<CredenzaHeader>
|
||||||
|
<CredenzaTitle>{t("streamingAddDestination")}</CredenzaTitle>
|
||||||
|
<CredenzaDescription>
|
||||||
|
{t("streamingTypePickerDescription")}
|
||||||
|
</CredenzaDescription>
|
||||||
|
</CredenzaHeader>
|
||||||
|
<CredenzaBody>
|
||||||
|
<div className={isPaywalled ? "pointer-events-none opacity-50" : ""}>
|
||||||
|
<StrategySelect
|
||||||
|
options={destinationTypeOptions}
|
||||||
|
value={selected}
|
||||||
|
onChange={setSelected}
|
||||||
|
cols={1}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</CredenzaBody>
|
||||||
|
<CredenzaFooter>
|
||||||
|
<CredenzaClose asChild>
|
||||||
|
<Button variant="outline">{t("cancel")}</Button>
|
||||||
|
</CredenzaClose>
|
||||||
|
<Button
|
||||||
|
onClick={() => onSelect(selected)}
|
||||||
|
disabled={isPaywalled}
|
||||||
|
>
|
||||||
|
{t("continue")}
|
||||||
|
</Button>
|
||||||
|
</CredenzaFooter>
|
||||||
|
</CredenzaContent>
|
||||||
|
</Credenza>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
// ── Main page ──────────────────────────────────────────────────────────────────
|
||||||
|
|
||||||
|
export default function StreamingDestinationsPage() {
|
||||||
|
const { orgId } = useParams() as { orgId: string };
|
||||||
|
const api = createApiClient(useEnvContext());
|
||||||
|
const { isPaidUser } = usePaidStatus();
|
||||||
|
const isEnterprise = isPaidUser(tierMatrix[TierFeature.SIEM]);
|
||||||
|
const t = useTranslations();
|
||||||
|
|
||||||
|
const [destinations, setDestinations] = useState<Destination[]>([]);
|
||||||
|
const [loading, setLoading] = useState(true);
|
||||||
|
const [modalOpen, setModalOpen] = useState(false);
|
||||||
|
const [typePickerOpen, setTypePickerOpen] = useState(false);
|
||||||
|
const [editingDestination, setEditingDestination] =
|
||||||
|
useState<Destination | null>(null);
|
||||||
|
const [togglingIds, setTogglingIds] = useState<Set<number>>(new Set());
|
||||||
|
|
||||||
|
// Delete state
|
||||||
|
const [deleteTarget, setDeleteTarget] = useState<Destination | null>(null);
|
||||||
|
const [deleteDialogOpen, setDeleteDialogOpen] = useState(false);
|
||||||
|
const [deleting, setDeleting] = useState(false);
|
||||||
|
|
||||||
|
const loadDestinations = useCallback(async () => {
|
||||||
|
if (build == "oss") {
|
||||||
|
setDestinations([]);
|
||||||
|
setLoading(false);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
const res = await api.get<AxiosResponse<ListDestinationsResponse>>(
|
||||||
|
`/org/${orgId}/event-streaming-destinations`
|
||||||
|
);
|
||||||
|
setDestinations(res.data.data.destinations ?? []);
|
||||||
|
} catch (e) {
|
||||||
|
toast({
|
||||||
|
variant: "destructive",
|
||||||
|
title: t("streamingFailedToLoad"),
|
||||||
|
description: formatAxiosError(
|
||||||
|
e,
|
||||||
|
t("streamingUnexpectedError")
|
||||||
|
)
|
||||||
|
});
|
||||||
|
} finally {
|
||||||
|
setLoading(false);
|
||||||
|
}
|
||||||
|
}, [orgId]);
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
loadDestinations();
|
||||||
|
}, [loadDestinations]);
|
||||||
|
|
||||||
|
const handleToggle = async (destinationId: number, enabled: boolean) => {
|
||||||
|
// Optimistic update
|
||||||
|
setDestinations((prev) =>
|
||||||
|
prev.map((d) =>
|
||||||
|
d.destinationId === destinationId ? { ...d, enabled } : d
|
||||||
|
)
|
||||||
|
);
|
||||||
|
setTogglingIds((prev) => new Set(prev).add(destinationId));
|
||||||
|
|
||||||
|
try {
|
||||||
|
await api.post(
|
||||||
|
`/org/${orgId}/event-streaming-destination/${destinationId}`,
|
||||||
|
{ enabled }
|
||||||
|
);
|
||||||
|
} catch (e) {
|
||||||
|
// Revert on failure
|
||||||
|
setDestinations((prev) =>
|
||||||
|
prev.map((d) =>
|
||||||
|
d.destinationId === destinationId
|
||||||
|
? { ...d, enabled: !enabled }
|
||||||
|
: d
|
||||||
|
)
|
||||||
|
);
|
||||||
|
toast({
|
||||||
|
variant: "destructive",
|
||||||
|
title: t("streamingFailedToUpdate"),
|
||||||
|
description: formatAxiosError(
|
||||||
|
e,
|
||||||
|
t("streamingUnexpectedError")
|
||||||
|
)
|
||||||
|
});
|
||||||
|
} finally {
|
||||||
|
setTogglingIds((prev) => {
|
||||||
|
const next = new Set(prev);
|
||||||
|
next.delete(destinationId);
|
||||||
|
return next;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
const handleDeleteCard = (destination: Destination) => {
|
||||||
|
setDeleteTarget(destination);
|
||||||
|
setDeleteDialogOpen(true);
|
||||||
|
};
|
||||||
|
|
||||||
|
const handleDeleteConfirm = async () => {
|
||||||
|
if (!deleteTarget) return;
|
||||||
|
setDeleting(true);
|
||||||
|
try {
|
||||||
|
await api.delete(
|
||||||
|
`/org/${orgId}/event-streaming-destination/${deleteTarget.destinationId}`
|
||||||
|
);
|
||||||
|
toast({ title: t("streamingDeletedSuccess") });
|
||||||
|
setDeleteDialogOpen(false);
|
||||||
|
setDeleteTarget(null);
|
||||||
|
loadDestinations();
|
||||||
|
} catch (e) {
|
||||||
|
toast({
|
||||||
|
variant: "destructive",
|
||||||
|
title: t("streamingFailedToDelete"),
|
||||||
|
description: formatAxiosError(
|
||||||
|
e,
|
||||||
|
t("streamingUnexpectedError")
|
||||||
|
)
|
||||||
|
});
|
||||||
|
} finally {
|
||||||
|
setDeleting(false);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
const openCreate = () => {
|
||||||
|
setTypePickerOpen(true);
|
||||||
|
};
|
||||||
|
|
||||||
|
const handleTypePicked = (_type: DestinationType) => {
|
||||||
|
setTypePickerOpen(false);
|
||||||
|
setEditingDestination(null);
|
||||||
|
setModalOpen(true);
|
||||||
|
};
|
||||||
|
|
||||||
|
const openEdit = (destination: Destination) => {
|
||||||
|
setEditingDestination(destination);
|
||||||
|
setModalOpen(true);
|
||||||
|
};
|
||||||
|
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<SettingsSectionTitle
|
||||||
|
title={t("streamingTitle")}
|
||||||
|
description={t("streamingDescription")}
|
||||||
|
/>
|
||||||
|
|
||||||
|
<PaidFeaturesAlert tiers={tierMatrix[TierFeature.SIEM]} />
|
||||||
|
|
||||||
|
{loading ? (
|
||||||
|
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4">
|
||||||
|
{Array.from({ length: 4 }).map((_, i) => (
|
||||||
|
<div
|
||||||
|
key={i}
|
||||||
|
className="rounded-lg border bg-card p-5 min-h-36 animate-pulse"
|
||||||
|
/>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
) : (
|
||||||
|
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4">
|
||||||
|
{destinations.map((dest) => (
|
||||||
|
<DestinationCard
|
||||||
|
key={dest.destinationId}
|
||||||
|
destination={dest}
|
||||||
|
onToggle={handleToggle}
|
||||||
|
onEdit={openEdit}
|
||||||
|
onDelete={handleDeleteCard}
|
||||||
|
isToggling={togglingIds.has(dest.destinationId)}
|
||||||
|
disabled={!isEnterprise}
|
||||||
|
/>
|
||||||
|
))}
|
||||||
|
{/* Add card is always clickable — paywall is enforced inside the picker */}
|
||||||
|
<AddDestinationCard onClick={openCreate} />
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
|
||||||
|
<DestinationTypePicker
|
||||||
|
open={typePickerOpen}
|
||||||
|
onOpenChange={setTypePickerOpen}
|
||||||
|
onSelect={handleTypePicked}
|
||||||
|
isPaywalled={!isEnterprise}
|
||||||
|
/>
|
||||||
|
|
||||||
|
<HttpDestinationCredenza
|
||||||
|
open={modalOpen}
|
||||||
|
onOpenChange={setModalOpen}
|
||||||
|
editing={editingDestination}
|
||||||
|
orgId={orgId}
|
||||||
|
onSaved={loadDestinations}
|
||||||
|
/>
|
||||||
|
|
||||||
|
{deleteTarget && (
|
||||||
|
<ConfirmDeleteDialog
|
||||||
|
open={deleteDialogOpen}
|
||||||
|
setOpen={(v) => {
|
||||||
|
setDeleteDialogOpen(v);
|
||||||
|
if (!v) setDeleteTarget(null);
|
||||||
|
}}
|
||||||
|
string={
|
||||||
|
parseHttpConfig(deleteTarget.config).name || t("streamingDeleteDialogThisDestination")
|
||||||
|
}
|
||||||
|
title={t("streamingDeleteTitle")}
|
||||||
|
dialog={
|
||||||
|
<p className="text-sm text-muted-foreground">
|
||||||
|
{t("streamingDeleteDialogAreYouSure")}{" "}
|
||||||
|
<span className="font-semibold text-foreground">
|
||||||
|
{parseHttpConfig(deleteTarget.config).name ||
|
||||||
|
t("streamingDeleteDialogThisDestination")}
|
||||||
|
</span>
|
||||||
|
{t("streamingDeleteDialogPermanentlyRemoved")}
|
||||||
|
</p>
|
||||||
|
}
|
||||||
|
buttonText={t("streamingDeleteButtonText")}
|
||||||
|
onConfirm={handleDeleteConfirm}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
84
src/app/[orgId]/settings/provisioning/keys/page.tsx
Normal file
84
src/app/[orgId]/settings/provisioning/keys/page.tsx
Normal file
@@ -0,0 +1,84 @@
|
|||||||
|
import { internal } from "@app/lib/api";
|
||||||
|
import { authCookieHeader } from "@app/lib/api/cookies";
|
||||||
|
import { AxiosResponse } from "axios";
|
||||||
|
import { PaidFeaturesAlert } from "@app/components/PaidFeaturesAlert";
|
||||||
|
import SiteProvisioningKeysTable, {
|
||||||
|
SiteProvisioningKeyRow
|
||||||
|
} from "@app/components/SiteProvisioningKeysTable";
|
||||||
|
import { ListSiteProvisioningKeysResponse } from "@server/routers/siteProvisioning/types";
|
||||||
|
import { getTranslations } from "next-intl/server";
|
||||||
|
import { TierFeature, tierMatrix } from "@server/lib/billing/tierMatrix";
|
||||||
|
import DismissableBanner from "@app/components/DismissableBanner";
|
||||||
|
import Link from "next/link";
|
||||||
|
import { Button } from "@app/components/ui/button";
|
||||||
|
import { ArrowRight, Plug } from "lucide-react";
|
||||||
|
|
||||||
|
type ProvisioningKeysPageProps = {
|
||||||
|
params: Promise<{ orgId: string }>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export const dynamic = "force-dynamic";
|
||||||
|
|
||||||
|
export default async function ProvisioningKeysPage(
|
||||||
|
props: ProvisioningKeysPageProps
|
||||||
|
) {
|
||||||
|
const params = await props.params;
|
||||||
|
const t = await getTranslations();
|
||||||
|
|
||||||
|
let siteProvisioningKeys: ListSiteProvisioningKeysResponse["siteProvisioningKeys"] =
|
||||||
|
[];
|
||||||
|
try {
|
||||||
|
const res = await internal.get<
|
||||||
|
AxiosResponse<ListSiteProvisioningKeysResponse>
|
||||||
|
>(
|
||||||
|
`/org/${params.orgId}/site-provisioning-keys`,
|
||||||
|
await authCookieHeader()
|
||||||
|
);
|
||||||
|
siteProvisioningKeys = res.data.data.siteProvisioningKeys;
|
||||||
|
} catch (e) {}
|
||||||
|
|
||||||
|
const rows: SiteProvisioningKeyRow[] = siteProvisioningKeys.map((k) => ({
|
||||||
|
name: k.name,
|
||||||
|
id: k.siteProvisioningKeyId,
|
||||||
|
key: `${k.siteProvisioningKeyId}••••••••••••••••••••${k.lastChars}`,
|
||||||
|
createdAt: k.createdAt,
|
||||||
|
lastUsed: k.lastUsed,
|
||||||
|
maxBatchSize: k.maxBatchSize,
|
||||||
|
numUsed: k.numUsed,
|
||||||
|
validUntil: k.validUntil,
|
||||||
|
approveNewSites: k.approveNewSites
|
||||||
|
}));
|
||||||
|
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<DismissableBanner
|
||||||
|
storageKey="sites-banner-dismissed"
|
||||||
|
version={1}
|
||||||
|
title={t("provisioningKeysBannerTitle")}
|
||||||
|
titleIcon={<Plug className="w-5 h-5 text-primary" />}
|
||||||
|
description={t("provisioningKeysBannerDescription")}
|
||||||
|
>
|
||||||
|
<Link
|
||||||
|
href="https://docs.pangolin.net/manage/sites/install-site"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
>
|
||||||
|
<Button
|
||||||
|
variant="outline"
|
||||||
|
size="sm"
|
||||||
|
className="gap-2 hover:bg-primary/10 hover:border-primary/50 transition-colors"
|
||||||
|
>
|
||||||
|
{t("provisioningKeysBannerButtonText")}
|
||||||
|
<ArrowRight className="w-4 h-4" />
|
||||||
|
</Button>
|
||||||
|
</Link>
|
||||||
|
</DismissableBanner>
|
||||||
|
|
||||||
|
<PaidFeaturesAlert
|
||||||
|
tiers={tierMatrix[TierFeature.SiteProvisioningKeys]}
|
||||||
|
/>
|
||||||
|
|
||||||
|
<SiteProvisioningKeysTable keys={rows} orgId={params.orgId} />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user