Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
afe11a85a1 | ||
|
|
4648cb8b41 |
@@ -1,6 +1,6 @@
|
||||
# Maintainer: Stirling PDF Inc <contact@stirlingpdf.com>
|
||||
pkgname=stirling-pdf-desktop
|
||||
pkgver=2.14.2
|
||||
pkgver=2.14.1
|
||||
pkgrel=1
|
||||
pkgdesc="Locally hosted, web-based PDF manipulation tool (Tauri desktop app, official Stirling PDF Inc build)"
|
||||
arch=('x86_64')
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Maintainer: Stirling PDF Inc <contact@stirlingpdf.com>
|
||||
pkgname=stirling-pdf-server-bin
|
||||
pkgver=2.14.2
|
||||
pkgver=2.14.1
|
||||
pkgrel=1
|
||||
pkgdesc="Locally hosted, web-based PDF manipulation tool (server JAR, prebuilt)"
|
||||
arch=('any')
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
build: &build
|
||||
- build.gradle
|
||||
- app/(common|core|proprietary|saas)/build.gradle
|
||||
- app/(common|core|proprietary)/build.gradle
|
||||
- Taskfile.yml
|
||||
- .taskfiles/backend.yml
|
||||
|
||||
openapi: &openapi
|
||||
- *build
|
||||
- app/(common|core|proprietary|saas)/src/main/java/**
|
||||
- app/(common|core|proprietary)/src/main/java/**
|
||||
|
||||
docker-base: &docker-base
|
||||
- docker/base/Dockerfile
|
||||
@@ -23,9 +23,9 @@ docker: &docker
|
||||
- *docker-base
|
||||
|
||||
project: &project
|
||||
- app/(common|core|proprietary|saas)/src/(main|test)/java/**
|
||||
- app/(common|core|proprietary)/src/(main|test)/java/**
|
||||
- *build
|
||||
- "app/(common|core|proprietary|saas)/src/(main|test)/resources/**/!(messages_*.properties|*.md)*"
|
||||
- "app/(common|core|proprietary)/src/(main|test)/resources/**/!(messages_*.properties|*.md)*"
|
||||
- exampleYmlFiles/**
|
||||
- gradle/**
|
||||
- libs/**
|
||||
@@ -82,7 +82,7 @@ tauri: &tauri
|
||||
# tool surfaces it generates models from.
|
||||
engine: &engine
|
||||
- engine/**
|
||||
- app/(common|core|proprietary|saas)/src/main/java/**
|
||||
- app/(common|core|proprietary)/src/main/java/**
|
||||
- .github/workflows/ai-engine.yml
|
||||
- Taskfile.yml
|
||||
- .taskfiles/engine.yml
|
||||
|
||||
@@ -63,7 +63,6 @@ labels:
|
||||
files:
|
||||
- 'app/core/src/main/resources/static/.*'
|
||||
- 'app/proprietary/src/main/resources/static/.*'
|
||||
- 'app/saas/src/main/resources/static/.*'
|
||||
- 'frontend/**'
|
||||
- 'frontend/.*'
|
||||
- 'frontend/**/.*'
|
||||
@@ -84,7 +83,6 @@ labels:
|
||||
- 'app/common/src/main/java/.*.java'
|
||||
- 'app/proprietary/src/main/java/.*.java'
|
||||
- 'app/core/src/main/java/.*.java'
|
||||
- 'app/saas/src/main/java/.*.java'
|
||||
|
||||
- label: 'Back End'
|
||||
files:
|
||||
@@ -92,9 +90,6 @@ labels:
|
||||
- 'app/core/src/main/java/stirling/software/SPDF/controller/.*'
|
||||
- 'app/core/src/main/resources/settings.yml.template'
|
||||
- 'app/core/src/main/resources/application.properties'
|
||||
- 'app/proprietary/src/main/resources/application-proprietary.properties'
|
||||
- 'app/saas/src/main/resources/application-dev.properties'
|
||||
- 'app/saas/src/main/resources/application-saas.properties'
|
||||
- 'app/core/src/main/resources/banner.txt'
|
||||
- 'app/core/src/main/resources/static/python/png_to_webp.py'
|
||||
- 'app/core/src/main/resources/static/python/split_photos.py'
|
||||
@@ -158,7 +153,6 @@ labels:
|
||||
- 'app/common/src/test/.*'
|
||||
- 'app/proprietary/src/test/.*'
|
||||
- 'app/core/src/test/.*'
|
||||
- 'app/saas/src/test/.*'
|
||||
- 'testing/.*'
|
||||
- '.github/workflows/scorecards.yml'
|
||||
- 'exampleYmlFiles/test_cicd.yml'
|
||||
@@ -177,4 +171,3 @@ labels:
|
||||
- 'app/common/build.gradle'
|
||||
- 'app/proprietary/build.gradle'
|
||||
- 'app/core/build.gradle'
|
||||
- 'app/saas/build.gradle'
|
||||
|
||||
@@ -256,7 +256,7 @@ jobs:
|
||||
|
||||
- name: Build and push V2 image (Docker fork fallback)
|
||||
if: env.USE_DEPOT != 'true' && steps.check-image.outputs.exists == 'false'
|
||||
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
|
||||
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
|
||||
with:
|
||||
context: .
|
||||
file: ./docker/embedded/Dockerfile
|
||||
|
||||
@@ -270,7 +270,7 @@ jobs:
|
||||
|
||||
- name: Build and push PR-specific image (Docker fork fallback)
|
||||
if: env.USE_DEPOT != 'true'
|
||||
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
|
||||
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
|
||||
with:
|
||||
context: .
|
||||
file: ./docker/embedded/Dockerfile
|
||||
@@ -296,7 +296,7 @@ jobs:
|
||||
|
||||
- name: Build and push engine image (Docker fork fallback)
|
||||
if: env.USE_DEPOT != 'true' && needs.check-comment.outputs.enable_prototypes == 'true'
|
||||
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
|
||||
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
|
||||
with:
|
||||
context: ./engine
|
||||
file: ./engine/Dockerfile
|
||||
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
distribution: "temurin"
|
||||
|
||||
- name: Cache Gradle dependency artifacts
|
||||
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
||||
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/wrapper
|
||||
|
||||
@@ -308,70 +308,3 @@ jobs:
|
||||
name: playwright-report-enterprise-${{ github.run_id }}
|
||||
path: frontend/playwright-report/
|
||||
retention-days: 7
|
||||
|
||||
# Multi-node regression: builds + seeds the clustered stack (testing/compose/docker-compose-multinode.yml)
|
||||
# and runs behave features/multinode. Licence-gated, so it runs after the Playwright job (not in parallel).
|
||||
multinode-e2e:
|
||||
needs: [pick, playwright-e2e-enterprise]
|
||||
# Nightly cron + manual dispatch only (heavy build), fork-gated for the licence secret.
|
||||
if: >-
|
||||
always() && needs.pick.outputs.is_fork != 'true'
|
||||
&& (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
|
||||
runs-on: ${{ needs.pick.outputs.is_fork == 'true' && 'ubuntu-latest' || format('depot-ubuntu-24.04-{0}', inputs.depot_cores || '8') }}
|
||||
timeout-minutes: 60
|
||||
env:
|
||||
PREMIUM_KEY: ${{ secrets.PREMIUM_KEY_ENTERPRISE }}
|
||||
PREMIUM_ENABLED: "true"
|
||||
SYSTEM_ENABLEANALYTICS: "false"
|
||||
DEPOT_TOKEN: ${{ secrets.DEPOT_TOKEN }}
|
||||
MN_COMPOSE: docker-compose-multinode.yml
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@ab7a9404c0f3da075243ca237b5fac12c98deaa5 # v2.19.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
|
||||
with:
|
||||
python-version: "3.12"
|
||||
cache: "pip"
|
||||
cache-dependency-path: ./testing/cucumber/requirements.txt
|
||||
- name: Install behave test deps
|
||||
run: |
|
||||
pip install --require-hashes --only-binary=:all: -r ./testing/cucumber/requirements.txt
|
||||
- name: Build the multi-node image
|
||||
working-directory: testing/compose
|
||||
run: docker compose -f "$MN_COMPOSE" build
|
||||
- name: Bring up the cluster and wait for both nodes healthy
|
||||
working-directory: testing/compose
|
||||
run: |
|
||||
docker compose -f "$MN_COMPOSE" up -d
|
||||
for i in $(seq 1 90); do
|
||||
h1=$(docker inspect -f '{{.State.Health.Status}}' multinode-stirling-1 2>/dev/null || echo starting)
|
||||
h2=$(docker inspect -f '{{.State.Health.Status}}' multinode-stirling-2 2>/dev/null || echo starting)
|
||||
if [ "$h1" = healthy ] && [ "$h2" = healthy ]; then echo "both nodes healthy"; exit 0; fi
|
||||
sleep 5
|
||||
done
|
||||
echo "::error::nodes did not become healthy"
|
||||
docker compose -f "$MN_COMPOSE" logs --tail=200 stirling-1 stirling-2
|
||||
exit 1
|
||||
- name: Seed the cluster (teams, users, S3 connection, policy)
|
||||
working-directory: testing/compose
|
||||
run: docker compose -f "$MN_COMPOSE" --profile seed run --rm seed
|
||||
- name: Run multi-node regression (implemented guarantees)
|
||||
working-directory: testing/cucumber
|
||||
# -e overrides behave.ini's exclusion of features/multinode; ~@known_gap skips any tracked-gap scenarios.
|
||||
run: python -m behave features/multinode -e "features/enterprise" --tags="~@known_gap ~@destructive" --no-capture -f plain
|
||||
- name: Run multi-node failover (destructive)
|
||||
working-directory: testing/cucumber
|
||||
run: python -m behave features/multinode -e "features/enterprise" --tags="@destructive ~@known_gap" --no-capture -f plain
|
||||
- name: Dump node logs on failure
|
||||
if: failure()
|
||||
working-directory: testing/compose
|
||||
run: docker compose -f "$MN_COMPOSE" logs --tail=400 stirling-1 stirling-2
|
||||
- name: Tear down
|
||||
if: always()
|
||||
working-directory: testing/compose
|
||||
run: docker compose -f "$MN_COMPOSE" --profile seed down -v --remove-orphans
|
||||
|
||||
@@ -29,7 +29,7 @@ jobs:
|
||||
distribution: "temurin"
|
||||
|
||||
- name: Cache Gradle dependency artifacts
|
||||
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
||||
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/wrapper
|
||||
|
||||
@@ -34,7 +34,7 @@ jobs:
|
||||
distribution: "temurin"
|
||||
|
||||
- name: Cache Gradle dependency artifacts
|
||||
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
||||
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/wrapper
|
||||
|
||||
@@ -51,7 +51,7 @@ jobs:
|
||||
distribution: "temurin"
|
||||
|
||||
- name: Cache Gradle dependency artifacts
|
||||
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
||||
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/wrapper
|
||||
|
||||
@@ -37,7 +37,7 @@ jobs:
|
||||
distribution: temurin
|
||||
|
||||
- name: Cache Gradle dependency artifacts
|
||||
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
||||
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/wrapper
|
||||
|
||||
@@ -121,7 +121,7 @@ jobs:
|
||||
|
||||
- name: Build and push frontend image (Docker fork fallback)
|
||||
if: env.USE_DEPOT != 'true' && steps.check-frontend.outputs.exists == 'false'
|
||||
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
|
||||
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
|
||||
with:
|
||||
context: .
|
||||
file: ./docker/frontend/Dockerfile
|
||||
@@ -150,7 +150,7 @@ jobs:
|
||||
|
||||
- name: Build and push backend image (Docker fork fallback)
|
||||
if: env.USE_DEPOT != 'true' && steps.check-backend.outputs.exists == 'false'
|
||||
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
|
||||
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
|
||||
with:
|
||||
context: .
|
||||
file: ./docker/backend/Dockerfile
|
||||
|
||||
@@ -50,7 +50,7 @@ jobs:
|
||||
distribution: "temurin"
|
||||
|
||||
- name: Cache Gradle dependency artifacts
|
||||
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
||||
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/wrapper
|
||||
|
||||
@@ -61,7 +61,7 @@ jobs:
|
||||
distribution: "temurin"
|
||||
|
||||
- name: Cache Gradle dependencies
|
||||
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
||||
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
@@ -510,7 +510,6 @@ jobs:
|
||||
# cargo output unsigned, so checking it produces false negatives.
|
||||
- name: Verify Windows Code Signature
|
||||
if: ${{ matrix.platform == 'windows-latest' && env.SM_API_KEY != '' && (github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && github.event.inputs.sign != 'false') || github.ref == 'refs/heads/V2-master') }}
|
||||
timeout-minutes: 15
|
||||
shell: pwsh
|
||||
run: |
|
||||
$allSigned = $true
|
||||
@@ -532,26 +531,11 @@ jobs:
|
||||
|
||||
# Extract MSI and verify the inner exe (the file that actually gets installed).
|
||||
# This is the critical check - AV flags the installed exe at runtime.
|
||||
# Use lessmsi, not `msiexec /a`: msiexec serializes on the global
|
||||
# _MSIExecute mutex and hangs forever on hosted runners when another
|
||||
# installer is busy. lessmsi reads MSI tables directly - no mutex, no service.
|
||||
$msi = $msiFiles[0].FullName
|
||||
$extractDir = Join-Path $env:RUNNER_TEMP "msi-verify"
|
||||
if (Test-Path $extractDir) { Remove-Item $extractDir -Recurse -Force }
|
||||
New-Item -ItemType Directory -Force -Path $extractDir | Out-Null
|
||||
|
||||
choco install lessmsi -y --no-progress --limit-output | Out-Null
|
||||
|
||||
# Bound the extraction and kill on hang (defence in depth over timeout-minutes).
|
||||
$proc = Start-Process lessmsi -ArgumentList 'x', "`"$msi`"", "`"$extractDir\`"" -PassThru -NoNewWindow
|
||||
if (-not $proc.WaitForExit(120000)) {
|
||||
try { $proc.Kill() } catch {}
|
||||
Write-Host "[ERROR] MSI extraction timed out after 120s"
|
||||
$allSigned = $false
|
||||
} elseif ($proc.ExitCode -ne 0) {
|
||||
Write-Host "[ERROR] Failed to extract MSI for verification (exit code: $($proc.ExitCode))"
|
||||
$allSigned = $false
|
||||
} else {
|
||||
$proc = Start-Process msiexec.exe -ArgumentList '/a', $msi, '/qn', "TARGETDIR=$extractDir" -Wait -PassThru -NoNewWindow
|
||||
if ($proc.ExitCode -eq 0) {
|
||||
$innerExe = Get-ChildItem -Path $extractDir -Filter "stirling-pdf.exe" -Recurse -File | Select-Object -First 1
|
||||
if ($innerExe) {
|
||||
$sig = Get-AuthenticodeSignature -FilePath $innerExe.FullName
|
||||
@@ -564,6 +548,9 @@ jobs:
|
||||
Write-Host "[ERROR] Could not find stirling-pdf.exe inside MSI"
|
||||
$allSigned = $false
|
||||
}
|
||||
} else {
|
||||
Write-Host "[ERROR] Failed to extract MSI for verification (exit code: $($proc.ExitCode))"
|
||||
$allSigned = $false
|
||||
}
|
||||
|
||||
if (-not $allSigned) {
|
||||
@@ -813,11 +800,7 @@ jobs:
|
||||
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0
|
||||
with:
|
||||
tag_name: v${{ needs.determine-matrix.outputs.version }}
|
||||
# Don't regenerate/append notes on re-runs, and don't force this into the
|
||||
# "Latest" slot - leave the release body and latest marker as they are.
|
||||
generate_release_notes: false
|
||||
append_body: false
|
||||
make_latest: false
|
||||
generate_release_notes: true
|
||||
fail_on_unmatched_files: true
|
||||
# Installers + updater payloads + manifest. .sig contents are embedded
|
||||
# in latest.json so the .sig files themselves are not uploaded.
|
||||
|
||||
@@ -85,7 +85,7 @@ jobs:
|
||||
|
||||
- name: Build and push base image
|
||||
id: build-push-base
|
||||
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
|
||||
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
|
||||
with:
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
context: docker/base
|
||||
|
||||
@@ -66,7 +66,7 @@ jobs:
|
||||
distribution: "temurin"
|
||||
|
||||
- name: Cache Gradle dependencies
|
||||
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
||||
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
@@ -145,7 +145,7 @@ jobs:
|
||||
id: build-push-latest
|
||||
# Empty-tag guard: build-push-action errors when asked to push with no tags.
|
||||
if: env.RUN_MAIN_APP == 'true' && steps.meta.outputs.tags != ''
|
||||
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
|
||||
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
|
||||
with:
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
context: .
|
||||
@@ -192,7 +192,7 @@ jobs:
|
||||
|
||||
- name: Build and push Unified Dockerfile (fat variant)
|
||||
id: build-push-fat
|
||||
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
|
||||
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
|
||||
if: env.RUN_MAIN_APP == 'true' && github.ref != 'refs/heads/main' && github.ref != 'refs/heads/testMain' && steps.meta-fat.outputs.tags != ''
|
||||
with:
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
@@ -236,7 +236,7 @@ jobs:
|
||||
|
||||
- name: Build and push Unified Dockerfile (ultra-lite variant)
|
||||
id: build-push-lite
|
||||
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
|
||||
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
|
||||
if: env.RUN_MAIN_APP == 'true' && github.ref != 'refs/heads/main' && github.ref != 'refs/heads/testMain' && steps.meta-lite.outputs.tags != ''
|
||||
with:
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
@@ -365,7 +365,7 @@ jobs:
|
||||
- name: Build and push unoserver image
|
||||
id: build-push-unoserver
|
||||
if: env.RUN_UNOSERVER == 'true' && steps.unoserverDecision.outputs.mode != 'skip'
|
||||
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
|
||||
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
|
||||
with:
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
context: .
|
||||
|
||||
@@ -95,7 +95,7 @@ jobs:
|
||||
distribution: "temurin"
|
||||
|
||||
- name: Cache Gradle dependency artifacts
|
||||
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
||||
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/wrapper
|
||||
@@ -186,7 +186,7 @@ jobs:
|
||||
# (multi-platform + gha cache) against the published base image.
|
||||
- name: Build ${{ matrix.docker-rev }} (Docker fork fallback)
|
||||
if: env.USE_DEPOT != 'true' && inputs.docker-base-changed != 'true'
|
||||
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
|
||||
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
|
||||
with:
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
context: .
|
||||
@@ -259,7 +259,7 @@ jobs:
|
||||
|
||||
- name: Build docker/unoserver/Dockerfile (Docker fork fallback)
|
||||
if: env.USE_DEPOT != 'true'
|
||||
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
|
||||
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
|
||||
with:
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
context: .
|
||||
|
||||
@@ -95,7 +95,7 @@ jobs:
|
||||
|
||||
- name: Build and push test image (Docker fork fallback)
|
||||
if: env.USE_DEPOT != 'true'
|
||||
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
|
||||
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
|
||||
with:
|
||||
context: .
|
||||
file: ./docker/embedded/Dockerfile
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"ignoredFiles": [
|
||||
"frontend/editor/src-tauri/icons/icon.png"
|
||||
]
|
||||
}
|
||||
@@ -80,12 +80,6 @@ tasks:
|
||||
OPEN: '{{.OPEN | default ""}}'
|
||||
env:
|
||||
BACKEND_URL: '{{.BACKEND_URL}}'
|
||||
# Dev-only browser-tab label so concurrent worktrees are distinguishable.
|
||||
# Only the worktree folder basename (e.g. "wt1") is exposed — never the
|
||||
# full path, hostname, or user. Consumed at dev-serve time by vite.config
|
||||
# and dropped from production builds.
|
||||
STIRLING_DEV_LABEL:
|
||||
sh: basename "$(git rev-parse --show-toplevel 2>/dev/null || pwd)"
|
||||
cmds:
|
||||
- npx vite editor --mode {{.MODE}} --port {{.PORT}}{{if .OPEN}} --open{{end}}
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@ import java.nio.file.Files;
|
||||
import java.time.Duration;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import org.slf4j.MDC;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.core.env.Environment;
|
||||
import org.springframework.core.io.FileSystemResource;
|
||||
@@ -61,17 +60,6 @@ public class InternalApiClient {
|
||||
*/
|
||||
public static final String AUTOMATION_HEADER = "X-Stirling-Automation";
|
||||
|
||||
/**
|
||||
* Header carrying the parent policy's name onto each sub-step dispatch, read from MDC key
|
||||
* {@link #POLICY_NAME_MDC_KEY} (set by the policy runner on the worker thread). Lets the audit
|
||||
* layer attribute a tool step to the policy that ran it, instead of showing it as a bare direct
|
||||
* call.
|
||||
*/
|
||||
public static final String POLICY_NAME_HEADER = "X-Stirling-Policy-Name";
|
||||
|
||||
/** MDC key the policy runner stamps with the running policy's name; forwarded as a header. */
|
||||
public static final String POLICY_NAME_MDC_KEY = "auditPolicyName";
|
||||
|
||||
private final ServletContext servletContext;
|
||||
private final UserServiceInterface userService;
|
||||
private final TempFileManager tempFileManager;
|
||||
@@ -132,19 +120,6 @@ public class InternalApiClient {
|
||||
headers.add(AutomationRunContext.RUN_ID_HEADER, runId);
|
||||
}
|
||||
|
||||
// Forward the parent policy name (set in MDC by the policy runner) so the audited sub-step
|
||||
// ties back to its policy. Single-line, length-capped: it becomes an HTTP header value.
|
||||
String policyName = MDC.get(POLICY_NAME_MDC_KEY);
|
||||
if (policyName != null && !policyName.isBlank()) {
|
||||
String safe = policyName.replaceAll("[\\r\\n]", " ").trim();
|
||||
if (safe.length() > 200) {
|
||||
safe = safe.substring(0, 200);
|
||||
}
|
||||
if (!safe.isEmpty()) {
|
||||
headers.add(POLICY_NAME_HEADER, safe);
|
||||
}
|
||||
}
|
||||
|
||||
// A no-file ai/tools call (e.g. create-pdf-from-html-agent) sends only string params, so
|
||||
// without this RestTemplate would use urlencoded instead of the multipart the controller
|
||||
// expects. File-bearing calls get the right multipart content-type from RestTemplate.
|
||||
|
||||
@@ -144,10 +144,8 @@ public class TempFileCleanupService {
|
||||
int directoriesDeletedCount = 0;
|
||||
for (Path directory : registry.getTempDirectories()) {
|
||||
try {
|
||||
if (Files.exists(directory)
|
||||
&& shouldDeleteRegisteredDirectory(directory, maxAgeMillis)) {
|
||||
if (Files.exists(directory)) {
|
||||
GeneralUtils.deleteDirectory(directory);
|
||||
registry.unregisterDirectory(directory);
|
||||
directoriesDeletedCount++;
|
||||
log.debug("Cleaned up temporary directory: {}", directory);
|
||||
}
|
||||
@@ -277,21 +275,6 @@ public class TempFileCleanupService {
|
||||
return totalDeletedCount.get();
|
||||
}
|
||||
|
||||
private boolean shouldDeleteRegisteredDirectory(Path directory, long maxAgeMillis) {
|
||||
if (maxAgeMillis <= 0) {
|
||||
return true;
|
||||
}
|
||||
|
||||
try {
|
||||
long currentTime = System.currentTimeMillis();
|
||||
long lastModified = Files.getLastModifiedTime(directory).toMillis();
|
||||
return (currentTime - lastModified) > maxAgeMillis;
|
||||
} catch (IOException e) {
|
||||
log.debug("Could not check directory age, skipping cleanup: {}", directory, e);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/** Get the system temp directory path based on configuration or system property. */
|
||||
private Path getSystemTempPath() {
|
||||
String systemTempDir =
|
||||
|
||||
@@ -155,7 +155,6 @@ public class TempFileManager {
|
||||
if (directory != null && Files.isDirectory(directory)) {
|
||||
try {
|
||||
GeneralUtils.deleteDirectory(directory);
|
||||
registry.unregisterDirectory(directory);
|
||||
log.debug("Deleted temp directory: {}", directory.toString());
|
||||
} catch (IOException e) {
|
||||
log.warn("Failed to delete temp directory: {}", directory.toString(), e);
|
||||
|
||||
@@ -85,18 +85,6 @@ public class TempFileRegistry {
|
||||
return directory;
|
||||
}
|
||||
|
||||
/**
|
||||
* Unregister a temporary directory from the registry.
|
||||
*
|
||||
* @param directory The directory to unregister
|
||||
*/
|
||||
public void unregisterDirectory(Path directory) {
|
||||
if (directory != null) {
|
||||
tempDirectories.remove(directory);
|
||||
log.debug("Unregistered temp directory: {}", directory.toString());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Register a third-party temporary file that requires special handling.
|
||||
*
|
||||
|
||||
@@ -176,13 +176,11 @@ class TempFileCleanupServiceMoreTest {
|
||||
class ScheduledCleanup {
|
||||
|
||||
@Test
|
||||
@DisplayName("deletes stale registered temp directories and reports counts")
|
||||
@DisplayName("deletes registered temp directories and reports counts")
|
||||
void deletesRegisteredDirectories() throws IOException {
|
||||
when(tempFileManager.cleanupOldTempFiles(anyLong())).thenReturn(2);
|
||||
Path regDir = Files.createDirectories(tempDir.resolve("registeredDir"));
|
||||
Files.createFile(regDir.resolve("inside.txt"));
|
||||
Files.setLastModifiedTime(
|
||||
regDir, FileTime.fromMillis(System.currentTimeMillis() - 2L * 60 * 60 * 1000));
|
||||
Set<Path> dirs = new HashSet<>();
|
||||
dirs.add(regDir);
|
||||
when(registry.getTempDirectories()).thenReturn(dirs);
|
||||
@@ -195,22 +193,6 @@ class TempFileCleanupServiceMoreTest {
|
||||
verify(tempFileManager).cleanupOldTempFiles(anyLong());
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("keeps a fresh registered temp directory")
|
||||
void keepsFreshRegisteredDirectory() throws IOException {
|
||||
when(tempFileManager.cleanupOldTempFiles(anyLong())).thenReturn(0);
|
||||
Path regDir = Files.createDirectories(tempDir.resolve("freshRegisteredDir"));
|
||||
Files.createFile(regDir.resolve("inside.txt"));
|
||||
Set<Path> dirs = new HashSet<>();
|
||||
dirs.add(regDir);
|
||||
when(registry.getTempDirectories()).thenReturn(dirs);
|
||||
lenient().when(registry.contains(any(File.class))).thenReturn(false);
|
||||
|
||||
withIsolatedUserHome(cleanupService::scheduledCleanup);
|
||||
|
||||
assertThat(Files.exists(regDir)).isTrue();
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("skips a registered directory that no longer exists")
|
||||
void skipsMissingRegisteredDirectory() {
|
||||
|
||||
@@ -136,17 +136,11 @@ public class RedactController {
|
||||
+ "Users can provide text patterns to redact, with options for regex and whole word matching. "
|
||||
+ "Input:PDF Output:PDF Type:SISO")
|
||||
public ResponseEntity<Resource> redactPdf(@ModelAttribute RedactPdfRequest request) {
|
||||
String rawListOfText = request.getListOfText();
|
||||
String[] listOfText = request.getListOfText().split("\n");
|
||||
boolean useRegex = Boolean.TRUE.equals(request.getUseRegex());
|
||||
boolean wholeWordSearchBool = Boolean.TRUE.equals(request.getWholeWordSearch());
|
||||
|
||||
if (rawListOfText == null || rawListOfText.trim().isEmpty()) {
|
||||
throw ExceptionUtils.createIllegalArgumentException(
|
||||
"error.redaction.no.patterns", "No text patterns provided for redaction");
|
||||
}
|
||||
|
||||
String[] listOfText = rawListOfText.split("\n");
|
||||
if (listOfText.length == 1 && listOfText[0].trim().isEmpty()) {
|
||||
if (listOfText.length == 0 || (listOfText.length == 1 && listOfText[0].trim().isEmpty())) {
|
||||
throw ExceptionUtils.createIllegalArgumentException(
|
||||
"error.redaction.no.patterns", "No text patterns provided for redaction");
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.4 KiB |
@@ -1 +1,18 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 24 24"><symbol id="icon-redact-auto" viewBox="0 0 24 24"><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><rect width="24" height="24" style="fill:none"/><g><path d="M17.541,15.64258a.91793.91793,0,0,1,.55469-.18555h1.1084a.91586.91586,0,0,1,.55469.18555,1.30889,1.30889,0,0,1,.40429.499,1.57206,1.57206,0,0,1,.15039.68457v5.47754H19.2041V20.21094H18.0957v2.09277H16.9873V16.82617a1.55843,1.55843,0,0,1,.15039-.68457A1.2979,1.2979,0,0,1,17.541,15.64258Zm1.66309,1.10547H18.0957v2.17187h1.1084Z" style="fill:currentColor"/><path d="M5.68653,22.30351a2.00588,2.00588,0,0,1-2-2v-16A1.92585,1.92585,0,0,1,4.274,2.891a1.92585,1.92585,0,0,1,1.4125-.5875h8l6,6v5.66931h-2V9.30351h-5v-5h-7v16h9.74021v2Z" style="fill:currentColor"/><rect width="4.338" height=".795" x="7.698" y="10.432" style="fill:currentColor"/><rect width="7.312" height="1.213" x="7.698" y="12.169" style="fill:currentColor"/><rect width="7.312" height="1.213" x="7.698" y="17.146" style="fill:currentColor"/><rect width="7.312" height=".575" x="7.698" y="14.324" style="fill:currentColor"/><rect width="5.256" height=".448" x="7.698" y="15.798" style="fill:currentColor"/></g></g></g></symbol></svg>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24">
|
||||
<symbol id="icon-redact-auto" viewBox="0 0 24 24"> <g id="Layer_2" data-name="Layer 2">
|
||||
<g id="Layer_1-2" data-name="Layer 1">
|
||||
<rect width="24" height="24" style="fill: none"/>
|
||||
<g>
|
||||
<path d="M17.541,15.64258a.91793.91793,0,0,1,.55469-.18555h1.1084a.91586.91586,0,0,1,.55469.18555,1.30889,1.30889,0,0,1,.40429.499,1.57206,1.57206,0,0,1,.15039.68457v5.47754H19.2041V20.21094H18.0957v2.09277H16.9873V16.82617a1.55843,1.55843,0,0,1,.15039-.68457A1.2979,1.2979,0,0,1,17.541,15.64258Zm1.66309,1.10547H18.0957v2.17187h1.1084Z" style="fill: currentColor"/>
|
||||
<path d="M5.68653,22.30351a2.00588,2.00588,0,0,1-2-2v-16A1.92585,1.92585,0,0,1,4.274,2.891a1.92585,1.92585,0,0,1,1.4125-.5875h8l6,6v5.66931h-2V9.30351h-5v-5h-7v16h9.74021v2Z" style="fill: currentColor"/>
|
||||
<rect x="7.69809" y="10.43189" width="4.33778" height="0.79501" style="fill: currentColor"/>
|
||||
<rect x="7.69809" y="12.16889" width="7.31192" height="1.21288" style="fill: currentColor"/>
|
||||
<rect x="7.69809" y="17.14555" width="7.31192" height="1.21288" style="fill: currentColor"/>
|
||||
<rect x="7.69809" y="14.32375" width="7.31192" height="0.57517" style="fill: currentColor"/>
|
||||
<rect x="7.69809" y="15.79848" width="5.25578" height="0.4475" style="fill: currentColor"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</symbol>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.5 KiB |
@@ -1 +1,13 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="800" height="800" version="1.1" viewBox="0 0 512 512"><title>rename</title><symbol id="icon-rename" viewBox="0 0 512 512"><g id="Page-1" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><g id="Combined-Shape" fill="currentColor"><path d="M362.666667,1.42108547e-14 L362.666667,21.3333333 L320,21.333 L320,362.666 L362.666667,362.666667 L362.666667,384 L320,383.999 L320,384 L298.666667,384 L298.666,383.999 L256,384 L256,362.666667 L298.666,362.666 L298.666,21.333 L256,21.3333333 L256,1.42108547e-14 L362.666667,1.42108547e-14 Z M426.666667,64 L426.666667,320 L341.333333,320 L341.333333,277.333333 L384,277.333333 L384,106.666667 L341.333333,106.666667 L341.333333,64 L426.666667,64 Z M277.333333,64 L277.333333,320 L3.55271368e-14,320 L3.55271368e-14,64 L277.333333,64 Z M179.2,89.6 L149.333333,89.6 L149.333333,234.666667 C149.333333,248 148.5,256.333333 147.875,264.354167 L147.792993,265.422171 L147.792993,265.422171 L147.714003,266.48894 C147.417695,270.579012 147.2,274.696296 147.2,279.466667 L147.2,279.466667 L177.066667,279.466667 L177.066667,260.266667 C184.941497,273.926888 199.708077,282.130544 215.466667,281.6 C229.540046,281.805757 242.921593,275.508559 251.733333,264.533333 C263.162478,248.989677 269.832496,230.461848 270.933333,211.2 C270.933333,170.666667 249.6,142.933333 217.6,142.933333 C202.507405,142.999748 188.308689,150.099106 179.2,162.133333 L179.2,162.133333 L179.2,89.6 Z M119.466667,162.133333 C107.961824,149.843793 91.4322333,143.546807 74.6666667,145.066667 C57.6785115,144.485924 40.8138255,148.15216 25.6,155.733333 L25.6,155.733333 L34.1333333,177.066667 C45.3979052,171.147831 57.7246848,167.522308 70.4,166.4 C78.5613135,165.511423 86.6853595,168.371259 92.4903835,174.176283 C98.2954074,179.981307 101.155244,188.105353 100.266667,196.266667 L100.266667,196.266667 L100.266667,198.4 L78.9333333,198.4 C65.8181975,197.679203 52.705771,199.864608 40.5333333,204.8 C26.2806563,210.950309 17.6507691,225.621117 19.2,241.066667 C19.0625857,252.057651 23.6679763,262.574827 31.8381493,269.927982 C40.0083223,277.281138 50.9508304,280.757072 61.8666667,279.466667 C77.2795695,280.291768 92.2192911,274.001359 102.4,262.4 L102.4,262.4 L102.4,277.333333 L130.133333,277.333333 C128.292479,266.054406 127.577851,254.620365 128,243.2 L128,243.2 L128,204.8 C129.999138,190.023932 126.995128,175.003882 119.466667,162.133333 Z M98.1333333,213.333333 L98.1333333,238.933333 C92.082572,249.988391 80.836024,257.218314 68.2666667,258.133333 C63.0655139,258.520242 57.9538681,256.621996 54.2659359,252.934064 C50.5780036,249.246132 48.6797582,244.134486 49.0666667,238.933333 C49.0666667,224 59.7333333,215.466667 85.3333333,213.333333 L85.3333333,213.333333 L98.1333333,213.333333 Z M209.066667,166.4 C226.133333,166.4 238.933333,183.466667 238.933333,211.2 C238.933333,238.933333 228.266667,256 211.2,256 C197.298049,255.69869 184.825037,247.383349 179.2,234.666667 L179.2,234.666667 L179.2,187.733333 C185.154203,176.240507 196.263981,168.304951 209.066667,166.4 Z" transform="translate(42.666667, 64.000000)"/></g></g></symbol></svg>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
||||
<svg width="800px" height="800px" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>rename</title>
|
||||
<symbol id="icon-rename" viewBox="0 0 512 512">
|
||||
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="Combined-Shape" fill="currentColor" transform="translate(42.666667, 64.000000)">
|
||||
<path d="M362.666667,1.42108547e-14 L362.666667,21.3333333 L320,21.333 L320,362.666 L362.666667,362.666667 L362.666667,384 L320,383.999 L320,384 L298.666667,384 L298.666,383.999 L256,384 L256,362.666667 L298.666,362.666 L298.666,21.333 L256,21.3333333 L256,1.42108547e-14 L362.666667,1.42108547e-14 Z M426.666667,64 L426.666667,320 L341.333333,320 L341.333333,277.333333 L384,277.333333 L384,106.666667 L341.333333,106.666667 L341.333333,64 L426.666667,64 Z M277.333333,64 L277.333333,320 L3.55271368e-14,320 L3.55271368e-14,64 L277.333333,64 Z M179.2,89.6 L149.333333,89.6 L149.333333,234.666667 C149.333333,248 148.5,256.333333 147.875,264.354167 L147.792993,265.422171 L147.792993,265.422171 L147.714003,266.48894 C147.417695,270.579012 147.2,274.696296 147.2,279.466667 L147.2,279.466667 L177.066667,279.466667 L177.066667,260.266667 C184.941497,273.926888 199.708077,282.130544 215.466667,281.6 C229.540046,281.805757 242.921593,275.508559 251.733333,264.533333 C263.162478,248.989677 269.832496,230.461848 270.933333,211.2 C270.933333,170.666667 249.6,142.933333 217.6,142.933333 C202.507405,142.999748 188.308689,150.099106 179.2,162.133333 L179.2,162.133333 L179.2,89.6 Z M119.466667,162.133333 C107.961824,149.843793 91.4322333,143.546807 74.6666667,145.066667 C57.6785115,144.485924 40.8138255,148.15216 25.6,155.733333 L25.6,155.733333 L34.1333333,177.066667 C45.3979052,171.147831 57.7246848,167.522308 70.4,166.4 C78.5613135,165.511423 86.6853595,168.371259 92.4903835,174.176283 C98.2954074,179.981307 101.155244,188.105353 100.266667,196.266667 L100.266667,196.266667 L100.266667,198.4 L78.9333333,198.4 C65.8181975,197.679203 52.705771,199.864608 40.5333333,204.8 C26.2806563,210.950309 17.6507691,225.621117 19.2,241.066667 C19.0625857,252.057651 23.6679763,262.574827 31.8381493,269.927982 C40.0083223,277.281138 50.9508304,280.757072 61.8666667,279.466667 C77.2795695,280.291768 92.2192911,274.001359 102.4,262.4 L102.4,262.4 L102.4,277.333333 L130.133333,277.333333 C128.292479,266.054406 127.577851,254.620365 128,243.2 L128,243.2 L128,204.8 C129.999138,190.023932 126.995128,175.003882 119.466667,162.133333 Z M98.1333333,213.333333 L98.1333333,238.933333 C92.082572,249.988391 80.836024,257.218314 68.2666667,258.133333 C63.0655139,258.520242 57.9538681,256.621996 54.2659359,252.934064 C50.5780036,249.246132 48.6797582,244.134486 49.0666667,238.933333 C49.0666667,224 59.7333333,215.466667 85.3333333,213.333333 L85.3333333,213.333333 L98.1333333,213.333333 Z M209.066667,166.4 C226.133333,166.4 238.933333,183.466667 238.933333,211.2 C238.933333,238.933333 228.266667,256 211.2,256 C197.298049,255.69869 184.825037,247.383349 179.2,234.666667 L179.2,234.666667 L179.2,187.733333 C185.154203,176.240507 196.263981,168.304951 209.066667,166.4 Z">
|
||||
</path>
|
||||
</g>
|
||||
</g>
|
||||
</symbol>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 6.1 KiB |
@@ -299,18 +299,6 @@ class RedactControllerMoreTest {
|
||||
verify(pdfDocumentFactory, never()).load(any(MultipartFile.class));
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("null listOfText throws an illegal-argument error before any load")
|
||||
void nullPatternsThrows() throws Exception {
|
||||
RedactPdfRequest request = new RedactPdfRequest();
|
||||
request.setFileInput(pdfFile(new byte[] {1, 2, 3}));
|
||||
request.setListOfText(null);
|
||||
|
||||
assertThatThrownBy(() -> controller.redactPdf(request))
|
||||
.isInstanceOf(RuntimeException.class);
|
||||
verify(pdfDocumentFactory, never()).load(any(MultipartFile.class));
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("null file input is reported as a failure")
|
||||
void nullFileThrows() {
|
||||
|
||||
@@ -142,9 +142,6 @@ public class AuditAspect {
|
||||
auditService.addTimingData(
|
||||
auditData, startTime, resp, auditedAnnotation.level(), isHttpRequest);
|
||||
|
||||
// Merge controller-set policy context + the internal-automation marker onto the event.
|
||||
auditService.addAutomationContext(auditData, req);
|
||||
|
||||
// Resolve the event type based on annotation and context
|
||||
String httpMethod = null;
|
||||
String path = null;
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
package stirling.software.proprietary.audit;
|
||||
|
||||
/**
|
||||
* Request-scoped keys a controller can set to enrich its own audit event with context the generic
|
||||
* aspect can't infer from the HTTP request alone (e.g. the policy a pipeline run belongs to). The
|
||||
* aspect copies these into the audit data in its {@code finally} block, after the controller body
|
||||
* has run. See {@code AuditService#addAutomationContext}.
|
||||
*/
|
||||
public final class AuditContext {
|
||||
|
||||
/** Request attribute: the name of the policy/pipeline a run executes. */
|
||||
public static final String REQ_ATTR_POLICY_NAME = "stirling.audit.policyName";
|
||||
|
||||
/** Request attribute: the ordered tool endpoint paths a run executes. */
|
||||
public static final String REQ_ATTR_POLICY_STEPS = "stirling.audit.policySteps";
|
||||
|
||||
private AuditContext() {}
|
||||
}
|
||||
@@ -205,10 +205,6 @@ public class ControllerAuditAspect {
|
||||
// Call auditService but with isHttpRequest=true to skip additional timing
|
||||
auditService.addTimingData(data, start, resp, level, true);
|
||||
|
||||
// Merge controller-set policy context + the internal-automation marker (set after
|
||||
// the body ran, so it must happen here rather than with the pre-proceed HTTP data).
|
||||
auditService.addAutomationContext(data, req);
|
||||
|
||||
// Resolve the event type using the unified method
|
||||
AuditEventType eventType =
|
||||
auditService.resolveEventType(
|
||||
|
||||
@@ -43,10 +43,6 @@ public class IntegrationConfigService {
|
||||
private final OwnershipService ownership;
|
||||
private final SecretMasker secretMasker;
|
||||
private final ResourceGrantRepository grantRepository;
|
||||
// Bean-discovered extension points: features that understand a type contribute its config
|
||||
// schema and report what still references a config, without this module depending on them.
|
||||
private final List<IntegrationConfigValidator> validators;
|
||||
private final List<IntegrationConfigUsageCheck> usageChecks;
|
||||
|
||||
// ---- commands ----
|
||||
|
||||
@@ -70,21 +66,13 @@ public class IntegrationConfigService {
|
||||
? DefaultAccessPolicy.EXPLICIT_ONLY
|
||||
: request.defaultAccess());
|
||||
|
||||
// TEAM scope may omit the team id: default to the caller's own team so clients (the
|
||||
// portal) need not know it. assignOwnership still enforces admin-or-leader of that team.
|
||||
Long ownerTeamId = request.ownerTeamId();
|
||||
if (ownerTeamId == null && scope == OwnerScope.TEAM && currentUser.getTeam() != null) {
|
||||
ownerTeamId = currentUser.getTeam().getId();
|
||||
}
|
||||
ownership.assignOwnership(
|
||||
cfg,
|
||||
scope,
|
||||
ownerTeamId,
|
||||
request.ownerTeamId(),
|
||||
currentUser,
|
||||
() -> lockedServerExists(cfg.getIntegrationType()));
|
||||
Map<String, Object> config = secretMasker.sanitize(request.config());
|
||||
validateConfig(cfg.getIntegrationType(), config);
|
||||
cfg.setConfig(writeJson(config));
|
||||
cfg.setConfig(writeJson(secretMasker.sanitize(request.config())));
|
||||
return repository.save(cfg);
|
||||
}
|
||||
|
||||
@@ -113,10 +101,8 @@ public class IntegrationConfigService {
|
||||
cfg.setDefaultAccess(request.defaultAccess());
|
||||
}
|
||||
if (request.config() != null) {
|
||||
Map<String, Object> merged =
|
||||
secretMasker.merge(readJson(cfg.getConfig()), request.config());
|
||||
validateConfig(cfg.getIntegrationType(), merged);
|
||||
cfg.setConfig(writeJson(merged));
|
||||
cfg.setConfig(
|
||||
writeJson(secretMasker.merge(readJson(cfg.getConfig()), request.config())));
|
||||
}
|
||||
return repository.save(cfg);
|
||||
}
|
||||
@@ -127,15 +113,6 @@ public class IntegrationConfigService {
|
||||
if (!ownership.canManage(TYPE, cfg, currentUser)) {
|
||||
throw forbidden("You cannot manage this integration");
|
||||
}
|
||||
// Refuse to pull a connection out from under whatever still references it.
|
||||
List<String> usages =
|
||||
usageChecks.stream()
|
||||
.flatMap(check -> check.usagesOf(cfg.getId()).stream())
|
||||
.toList();
|
||||
if (!usages.isEmpty()) {
|
||||
throw new ResponseStatusException(
|
||||
HttpStatus.CONFLICT, "Integration is in use by: " + String.join(", ", usages));
|
||||
}
|
||||
// Drop grants sharing this config so they do not dangle as dead rows.
|
||||
grantRepository.deleteByResourceTypeAndResourceId(TYPE, String.valueOf(cfg.getId()));
|
||||
repository.delete(cfg);
|
||||
@@ -211,19 +188,6 @@ public class IntegrationConfigService {
|
||||
|
||||
// ---- integration-specific glue ----
|
||||
|
||||
/** Runs every registered validator for the type; unknown types save free-form. */
|
||||
private void validateConfig(IntegrationType type, Map<String, Object> config) {
|
||||
for (IntegrationConfigValidator validator : validators) {
|
||||
if (validator.type() == type) {
|
||||
try {
|
||||
validator.validate(config == null ? Map.of() : config);
|
||||
} catch (IllegalArgumentException e) {
|
||||
throw new ResponseStatusException(HttpStatus.BAD_REQUEST, e.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/** A non-admin can't create a personal config of a type an admin has locked at server scope. */
|
||||
private boolean lockedServerExists(IntegrationType type) {
|
||||
return repository.findByScope(OwnerScope.SERVER).stream()
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
package stirling.software.proprietary.integration.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Reports what still references an integration config, so deletion can be refused instead of
|
||||
* pulling a connection out from under a live consumer. Implementations are beans discovered by
|
||||
* {@link IntegrationConfigService} (e.g. the policy subsystem reporting sources and pipelines that
|
||||
* reference a connection).
|
||||
*/
|
||||
public interface IntegrationConfigUsageCheck {
|
||||
|
||||
/** Human-readable labels of everything still using the config; empty when unreferenced. */
|
||||
List<String> usagesOf(long configId);
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
package stirling.software.proprietary.integration.service;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import stirling.software.proprietary.integration.model.IntegrationType;
|
||||
|
||||
/**
|
||||
* Validates one integration type's config map at save time. Implementations are beans discovered by
|
||||
* {@link IntegrationConfigService}, so the feature that understands a type (e.g. the policy S3
|
||||
* backend) owns its schema without the integration module depending on it. Types with no registered
|
||||
* validator save free-form.
|
||||
*/
|
||||
public interface IntegrationConfigValidator {
|
||||
|
||||
/** The type this validator understands. */
|
||||
IntegrationType type();
|
||||
|
||||
/**
|
||||
* Validates the config as it will be stored (secrets already sanitized/merged, so values are
|
||||
* real, never the redaction mask). Throws {@link IllegalArgumentException} on bad config.
|
||||
*/
|
||||
void validate(Map<String, Object> config);
|
||||
}
|
||||
@@ -17,9 +17,6 @@ public class InfraAuditSummary {
|
||||
@Schema(description = "Total events in the returned window", example = "40")
|
||||
private int totalEvents;
|
||||
|
||||
@Schema(description = "Policy-run events", example = "3")
|
||||
private int policy;
|
||||
|
||||
@Schema(description = "Processing-category events", example = "24")
|
||||
private int processing;
|
||||
|
||||
|
||||
@@ -23,8 +23,6 @@ import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestPart;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.context.request.RequestContextHolder;
|
||||
import org.springframework.web.context.request.ServletRequestAttributes;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
import org.springframework.web.server.ResponseStatusException;
|
||||
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;
|
||||
@@ -34,7 +32,6 @@ import io.swagger.v3.oas.annotations.Hidden;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
|
||||
import jakarta.servlet.http.HttpServletRequest;
|
||||
import jakarta.validation.Valid;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
@@ -45,7 +42,6 @@ import stirling.software.common.model.job.JobResponse;
|
||||
import stirling.software.common.service.JobOwnershipService;
|
||||
import stirling.software.common.util.TempFile;
|
||||
import stirling.software.common.util.TempFileManager;
|
||||
import stirling.software.proprietary.audit.AuditContext;
|
||||
import stirling.software.proprietary.policy.config.PolicyAccessGuard;
|
||||
import stirling.software.proprietary.policy.config.PolicyManagementAuthority;
|
||||
import stirling.software.proprietary.policy.engine.PolicyRunHandle;
|
||||
@@ -56,7 +52,6 @@ import stirling.software.proprietary.policy.engine.SweepOutcome;
|
||||
import stirling.software.proprietary.policy.ledger.ProcessedLedger;
|
||||
import stirling.software.proprietary.policy.model.OutputSpec;
|
||||
import stirling.software.proprietary.policy.model.PipelineDefinition;
|
||||
import stirling.software.proprietary.policy.model.PipelineStep;
|
||||
import stirling.software.proprietary.policy.model.Policy;
|
||||
import stirling.software.proprietary.policy.model.PolicyInputs;
|
||||
import stirling.software.proprietary.policy.model.PolicyRun;
|
||||
@@ -118,9 +113,7 @@ public class PolicyController {
|
||||
@RequestPart("json") PipelineDefinition definition,
|
||||
@Valid @ModelAttribute PolicyRunFiles files)
|
||||
throws IOException {
|
||||
stampPolicyAudit(definition);
|
||||
requireRunnable(definition);
|
||||
validateAdHocOutput(definition);
|
||||
PolicyInputs inputs = toInputs(files);
|
||||
PolicyRunHandle handle =
|
||||
policyRunner.runAdHoc(definition, inputs, PolicyProgressListener.NOOP);
|
||||
@@ -139,9 +132,7 @@ public class PolicyController {
|
||||
@RequestPart("json") PipelineDefinition definition,
|
||||
@Valid @ModelAttribute PolicyRunFiles files)
|
||||
throws IOException {
|
||||
stampPolicyAudit(definition);
|
||||
requireRunnable(definition);
|
||||
validateAdHocOutput(definition);
|
||||
PolicyInputs inputs = toInputs(files);
|
||||
|
||||
SseEmitter emitter =
|
||||
@@ -473,7 +464,6 @@ public class PolicyController {
|
||||
() ->
|
||||
new ResponseStatusException(
|
||||
HttpStatus.NOT_FOUND, "No policy: " + policyId));
|
||||
stampPolicyAudit(policy.toDefinition());
|
||||
PolicyInputs inputs = toInputs(files);
|
||||
String runId = policyRunner.runWith(policy, inputs, PolicyProgressListener.NOOP).runId();
|
||||
return ResponseEntity.accepted().body(new JobResponse<>(true, runId, null));
|
||||
@@ -507,49 +497,6 @@ public class PolicyController {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Stamp this run's policy name and step endpoints onto the current request so the audit aspect
|
||||
* can label the event as the policy it ran (rather than the generic {@code /run} endpoint) and
|
||||
* record which tools it executed. No-op outside a web request.
|
||||
*/
|
||||
private static void stampPolicyAudit(PipelineDefinition definition) {
|
||||
if (definition == null
|
||||
|| !(RequestContextHolder.getRequestAttributes()
|
||||
instanceof ServletRequestAttributes attrs)) {
|
||||
return;
|
||||
}
|
||||
HttpServletRequest request = attrs.getRequest();
|
||||
if (definition.name() != null && !definition.name().isBlank()) {
|
||||
request.setAttribute(AuditContext.REQ_ATTR_POLICY_NAME, definition.name());
|
||||
}
|
||||
List<String> steps =
|
||||
definition.steps().stream()
|
||||
.map(PipelineStep::operation)
|
||||
.filter(op -> op != null && !op.isBlank())
|
||||
.toList();
|
||||
if (!steps.isEmpty()) {
|
||||
request.setAttribute(AuditContext.REQ_ATTR_POLICY_STEPS, steps);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Authorization-check an ad-hoc run's output while the caller's principal is present (this
|
||||
* request thread). The worker thread that later delivers carries no security context, so an S3
|
||||
* output's connection-access check would be skipped there; without this gate a caller could
|
||||
* reference another tenant's connection by id and write to it (confused deputy). Stored
|
||||
* policies are covered by save-time {@link PolicyValidator#validate} instead.
|
||||
*/
|
||||
private void validateAdHocOutput(PipelineDefinition definition) {
|
||||
if (definition.output() == null) {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
policyValidator.validateOutput(definition.output());
|
||||
} catch (IllegalArgumentException e) {
|
||||
throw new ResponseStatusException(HttpStatus.BAD_REQUEST, e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Ad-hoc runs (AI / one-off pipelines) are still editor activity, so their supplied documents
|
||||
* feed the same virtual editor source as stored editor policies, counted against the caller's
|
||||
|
||||
@@ -23,7 +23,6 @@ import lombok.extern.slf4j.Slf4j;
|
||||
import stirling.software.common.model.job.ResultFile;
|
||||
import stirling.software.common.service.AutomationRunContext;
|
||||
import stirling.software.common.service.FileStorage;
|
||||
import stirling.software.common.service.InternalApiClient;
|
||||
import stirling.software.common.service.InternalApiTimeoutException;
|
||||
import stirling.software.common.service.JobOwnershipService;
|
||||
import stirling.software.common.service.JobQueue;
|
||||
@@ -150,7 +149,6 @@ public class PolicyEngine {
|
||||
runAsPrincipal(
|
||||
billingPrincipal,
|
||||
fileOwner,
|
||||
definition.name(),
|
||||
() -> runToCompletion(run, inputs, tracking, completion));
|
||||
|
||||
// One admission unit per run; steps run synchronously within it, so this gates heavy work
|
||||
@@ -379,26 +377,18 @@ public class PolicyEngine {
|
||||
* dispatch attributes (and charges) usage to that user. A null/blank principal runs as-is.
|
||||
* Restores the previous MDC value afterward (defensive — worker threads aren't pooled).
|
||||
*/
|
||||
private static void runAsPrincipal(
|
||||
String billingPrincipal, String fileOwner, String policyName, Runnable body) {
|
||||
private static void runAsPrincipal(String billingPrincipal, String fileOwner, Runnable body) {
|
||||
// Billing identity (MDC auditPrincipal) and output-file ownership (JobContext owner) are
|
||||
// set
|
||||
// independently: usage is charged to billingPrincipal, but stored output files are owned by
|
||||
// fileOwner — the user who triggered an org-wide policy — so they can fetch their results.
|
||||
// Either may be null (e.g. login disabled, or a trigger-fired run); each is applied only
|
||||
// when present and restored afterward (defensive — worker threads aren't pooled). The
|
||||
// policy
|
||||
// name rides MDC too so each tool step's loopback dispatch (InternalApiClient) can forward
|
||||
// it as a header, letting the audit tie the step back to its policy.
|
||||
// when present and restored afterward (defensive — worker threads aren't pooled).
|
||||
String previousPrincipal = MDC.get(AUDIT_PRINCIPAL_MDC_KEY);
|
||||
String previousPolicyName = MDC.get(InternalApiClient.POLICY_NAME_MDC_KEY);
|
||||
String previousOwner = JobContext.getOwner();
|
||||
if (billingPrincipal != null && !billingPrincipal.isBlank()) {
|
||||
MDC.put(AUDIT_PRINCIPAL_MDC_KEY, billingPrincipal);
|
||||
}
|
||||
if (policyName != null && !policyName.isBlank()) {
|
||||
MDC.put(InternalApiClient.POLICY_NAME_MDC_KEY, policyName);
|
||||
}
|
||||
if (fileOwner != null && !fileOwner.isBlank()) {
|
||||
JobContext.setOwner(fileOwner);
|
||||
}
|
||||
@@ -410,11 +400,6 @@ public class PolicyEngine {
|
||||
} else {
|
||||
MDC.remove(AUDIT_PRINCIPAL_MDC_KEY);
|
||||
}
|
||||
if (previousPolicyName != null) {
|
||||
MDC.put(InternalApiClient.POLICY_NAME_MDC_KEY, previousPolicyName);
|
||||
} else {
|
||||
MDC.remove(InternalApiClient.POLICY_NAME_MDC_KEY);
|
||||
}
|
||||
JobContext.setOwner(previousOwner);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -52,19 +52,7 @@ public class PolicyValidator {
|
||||
InputSpec spec = source.toInputSpec();
|
||||
inputSourceFor(spec).validate(spec);
|
||||
}
|
||||
validateOutput(policy.output());
|
||||
}
|
||||
|
||||
/**
|
||||
* Validate an output spec against its sink. Must be called on a request thread (caller's
|
||||
* principal present) so an S3 output's connection is authorization-checked against the caller -
|
||||
* ad-hoc runs are never persisted and so never hit {@link #validate(Policy)}, and the worker
|
||||
* thread that later delivers has no principal, so this is their only access gate.
|
||||
*
|
||||
* @throws IllegalArgumentException if the type is unknown or the config is invalid/inaccessible
|
||||
*/
|
||||
public void validateOutput(OutputSpec output) {
|
||||
outputSinkFor(output).validate(output);
|
||||
outputSinkFor(policy.output()).validate(policy.output());
|
||||
}
|
||||
|
||||
private PolicyTrigger triggerFor(TriggerConfig config) {
|
||||
|
||||
@@ -18,7 +18,6 @@ import stirling.software.proprietary.policy.model.InputSpec;
|
||||
import stirling.software.proprietary.policy.model.PolicyInputs;
|
||||
import stirling.software.proprietary.policy.s3.S3Config;
|
||||
import stirling.software.proprietary.policy.s3.S3ConnectionPool;
|
||||
import stirling.software.proprietary.policy.s3.S3ConnectionResolver;
|
||||
import stirling.software.proprietary.policy.s3.S3Identities;
|
||||
|
||||
import software.amazon.awssdk.core.exception.SdkException;
|
||||
@@ -37,14 +36,15 @@ import software.amazon.awssdk.services.s3.model.S3Object;
|
||||
* Reads input files from an Amazon S3 (or S3-compatible) bucket; each listed object is its own unit
|
||||
* of work, claimed through the {@link ResolveContext} ledger and tracked in place. Identity and
|
||||
* version gate come from {@link S3Identities}, so the steady-state sweep never downloads content.
|
||||
* Options: "connectionId" references the stored S3 connection (an {@code IntegrationConfig} owning
|
||||
* bucket, region, endpoint, and credentials - resolved by {@link S3ConnectionResolver}); "prefix"
|
||||
* (only keys starting with it are read) and "mode" are per-source, where mode is "consume"
|
||||
* (default: a processed object is deleted once every policy that claimed it has settled
|
||||
* successfully and it is still the version that ran; failures stay in place and are not retried
|
||||
* until they change) or "snapshot" (stateless, every run sees the full set). Keys ending in "/"
|
||||
* (folder placeholders) and keys with a dot-prefixed path segment are never picked up, mirroring
|
||||
* the folder source's hidden-file rule.
|
||||
* Options (see {@link S3Config}): "bucket" (required), "region" (default us-east-1), "prefix" (only
|
||||
* keys starting with it are read), "endpoint" (S3-compatible stores such as MinIO; path-style
|
||||
* addressing is used automatically), "accessKeyId" and "secretAccessKey" (required; requests are
|
||||
* never signed with the server's own AWS identity), and "mode" which is "consume" (default: a
|
||||
* processed object is deleted once every policy that claimed it has settled successfully and it is
|
||||
* still the version that ran; failures stay in place and are not retried until they change) or
|
||||
* "snapshot" (stateless, every run sees the full set). Keys ending in "/" (folder placeholders) and
|
||||
* keys with a dot-prefixed path segment are never picked up, mirroring the folder source's
|
||||
* hidden-file rule.
|
||||
*/
|
||||
@Slf4j
|
||||
@Service
|
||||
@@ -55,7 +55,6 @@ public class S3InputSource implements InputSource {
|
||||
private static final String TYPE = "s3";
|
||||
|
||||
private final S3ConnectionPool connectionPool;
|
||||
private final S3ConnectionResolver connectionResolver;
|
||||
|
||||
@Override
|
||||
public String type() {
|
||||
@@ -68,12 +67,12 @@ public class S3InputSource implements InputSource {
|
||||
}
|
||||
|
||||
/**
|
||||
* Fails fast at save time: an unknown/disabled/unusable connection, bad config shape, a private
|
||||
* endpoint without the operator opt-in, or a bucket the connection cannot list.
|
||||
* Fails fast at save time: bad config shape, a private endpoint without the operator opt-in, or
|
||||
* a bucket the supplied credentials cannot list.
|
||||
*/
|
||||
@Override
|
||||
public void validate(InputSpec spec) {
|
||||
S3Config config = connectionResolver.resolve(spec.options());
|
||||
S3Config config = S3Config.from(spec.options());
|
||||
try {
|
||||
connectionPool.clientFor(config).listObjectsV2(listRequest(config).maxKeys(1).build());
|
||||
} catch (SdkException e) {
|
||||
@@ -90,7 +89,7 @@ public class S3InputSource implements InputSource {
|
||||
|
||||
@Override
|
||||
public List<ResolvedInput> resolve(InputSpec spec, ResolveContext ctx) throws IOException {
|
||||
S3Config config = connectionResolver.resolve(spec.options());
|
||||
S3Config config = S3Config.from(spec.options());
|
||||
S3Client client = connectionPool.clientFor(config);
|
||||
// A listing failure propagates so the sweep reads it as "could not list" (which vetoes
|
||||
// presence cleanup), never as "verifiably no objects".
|
||||
|
||||
@@ -27,7 +27,6 @@ import stirling.software.proprietary.policy.ledger.ProcessedLedger;
|
||||
import stirling.software.proprietary.policy.model.OutputSpec;
|
||||
import stirling.software.proprietary.policy.s3.S3Config;
|
||||
import stirling.software.proprietary.policy.s3.S3ConnectionPool;
|
||||
import stirling.software.proprietary.policy.s3.S3ConnectionResolver;
|
||||
import stirling.software.proprietary.policy.s3.S3Identities;
|
||||
|
||||
import software.amazon.awssdk.core.exception.SdkException;
|
||||
@@ -60,7 +59,6 @@ public class S3OutputSink implements PolicyOutputSink {
|
||||
private static final String TYPE = "s3";
|
||||
|
||||
private final S3ConnectionPool connectionPool;
|
||||
private final S3ConnectionResolver connectionResolver;
|
||||
private final ProcessedLedger processedLedger;
|
||||
|
||||
@Override
|
||||
@@ -74,19 +72,19 @@ public class S3OutputSink implements PolicyOutputSink {
|
||||
}
|
||||
|
||||
/**
|
||||
* Connection resolution (including the saving user's right to use it) and endpoint guard only -
|
||||
* no network probe, since write-only credentials (s3:PutObject without s3:ListBucket) are a
|
||||
* legitimate setup for an output bucket and a listing probe would wrongly reject them.
|
||||
* Config shape and endpoint guard only - no network probe, since write-only credentials
|
||||
* (s3:PutObject without s3:ListBucket) are a legitimate setup for an output bucket and a
|
||||
* listing probe would wrongly reject them.
|
||||
*/
|
||||
@Override
|
||||
public void validate(OutputSpec spec) {
|
||||
connectionPool.clientFor(connectionResolver.resolve(spec.options()));
|
||||
connectionPool.clientFor(S3Config.from(spec.options()));
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ResultFile> deliver(
|
||||
OutputDelivery delivery, List<Resource> outputs, OutputSpec spec) throws IOException {
|
||||
S3Config config = connectionResolver.resolve(spec.options());
|
||||
S3Config config = S3Config.from(spec.options());
|
||||
S3Client client = connectionPool.clientFor(config);
|
||||
|
||||
List<ResultFile> results = new ArrayList<>();
|
||||
|
||||
@@ -1,212 +0,0 @@
|
||||
package stirling.software.proprietary.policy.s3;
|
||||
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnBooleanProperty;
|
||||
import org.springframework.boot.context.event.ApplicationReadyEvent;
|
||||
import org.springframework.context.event.EventListener;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import stirling.software.proprietary.access.model.DefaultAccessPolicy;
|
||||
import stirling.software.proprietary.access.model.OwnerScope;
|
||||
import stirling.software.proprietary.integration.model.IntegrationConfig;
|
||||
import stirling.software.proprietary.integration.model.IntegrationType;
|
||||
import stirling.software.proprietary.integration.repository.IntegrationConfigRepository;
|
||||
import stirling.software.proprietary.model.Team;
|
||||
import stirling.software.proprietary.policy.model.OutputSpec;
|
||||
import stirling.software.proprietary.policy.model.Policy;
|
||||
import stirling.software.proprietary.policy.source.Source;
|
||||
import stirling.software.proprietary.policy.source.SourceStore;
|
||||
import stirling.software.proprietary.policy.store.PolicyStore;
|
||||
import stirling.software.proprietary.security.repository.TeamRepository;
|
||||
|
||||
import tools.jackson.databind.ObjectMapper;
|
||||
|
||||
/**
|
||||
* One-time, idempotent extraction of legacy embedded S3 credentials into stored connections:
|
||||
* sources and policy outputs written before connections shipped carry bucket/credentials in their
|
||||
* own options; this rewrites each to reference a (deduplicated) S3 {@link IntegrationConfig} and
|
||||
* keeps only per-use options (prefix, mode). MUST be programmatic - the option JSON is encrypted at
|
||||
* the application layer, so no SQL migration can read it.
|
||||
*
|
||||
* <p>Idempotent by construction: rewritten rows no longer embed credentials, so re-runs find
|
||||
* nothing to do. Connections are deduplicated against both this run's extractions and existing S3
|
||||
* connections; a concurrent multi-node boot can at worst create a redundant connection row, never
|
||||
* corrupt a source. Ownership follows the owning row: team-scoped when the source/policy has a
|
||||
* team, server-scoped otherwise (single-operator self-hosted).
|
||||
*/
|
||||
@Slf4j
|
||||
@Component
|
||||
@RequiredArgsConstructor
|
||||
@ConditionalOnBooleanProperty(name = "policies.enabled")
|
||||
public class EmbeddedS3CredentialMigration {
|
||||
|
||||
private static final ObjectMapper OBJECT_MAPPER = new ObjectMapper();
|
||||
private static final List<String> CONNECTION_OPTIONS =
|
||||
List.of("bucket", "region", "endpoint", "accessKeyId", "secretAccessKey");
|
||||
// Field separator for the dedup key: a unit-separator control char that cannot appear in a
|
||||
// bucket/region/endpoint/credential, so distinct field sets can never collide.
|
||||
private static final char DELIMITER = '\u001f';
|
||||
|
||||
private final SourceStore sourceStore;
|
||||
private final PolicyStore policyStore;
|
||||
private final IntegrationConfigRepository connections;
|
||||
private final TeamRepository teamRepository;
|
||||
|
||||
@EventListener(ApplicationReadyEvent.class)
|
||||
@Transactional
|
||||
public void migrate() {
|
||||
Map<String, IntegrationConfig> byCredentialKey = indexExistingConnections();
|
||||
int migrated = 0;
|
||||
for (Source source : sourceStore.all()) {
|
||||
if (!"s3".equals(source.type()) || !embedsCredentials(source.options())) {
|
||||
continue;
|
||||
}
|
||||
IntegrationConfig connection =
|
||||
connectionFor(source.options(), source.teamId(), byCredentialKey);
|
||||
sourceStore.save(withOptions(source, referencing(connection, source.options(), true)));
|
||||
migrated++;
|
||||
}
|
||||
for (Policy policy : policyStore.all()) {
|
||||
OutputSpec output = policy.output();
|
||||
if (!"s3".equals(output.type()) || !embedsCredentials(output.options())) {
|
||||
continue;
|
||||
}
|
||||
IntegrationConfig connection =
|
||||
connectionFor(output.options(), policy.teamId(), byCredentialKey);
|
||||
policyStore.save(
|
||||
withOutput(
|
||||
policy,
|
||||
new OutputSpec(
|
||||
output.type(),
|
||||
referencing(connection, output.options(), false))));
|
||||
migrated++;
|
||||
}
|
||||
if (migrated > 0) {
|
||||
log.info("Extracted embedded S3 credentials from {} row(s) into connections", migrated);
|
||||
}
|
||||
}
|
||||
|
||||
private static boolean embedsCredentials(Map<String, Object> options) {
|
||||
return options.get("accessKeyId") != null;
|
||||
}
|
||||
|
||||
/** Reuses an existing connection with identical coordinates+credentials, else creates one. */
|
||||
private IntegrationConfig connectionFor(
|
||||
Map<String, Object> options, Long teamId, Map<String, IntegrationConfig> byKey) {
|
||||
String key = credentialKey(options);
|
||||
IntegrationConfig existing = byKey.get(key);
|
||||
if (existing != null) {
|
||||
return existing;
|
||||
}
|
||||
IntegrationConfig connection = new IntegrationConfig();
|
||||
connection.setIntegrationType(IntegrationType.S3);
|
||||
connection.setName(connectionName(options, byKey));
|
||||
connection.setEnabled(true);
|
||||
connection.setLocked(false);
|
||||
connection.setDefaultAccess(DefaultAccessPolicy.EXPLICIT_ONLY);
|
||||
Team team = teamId == null ? null : teamRepository.findById(teamId).orElse(null);
|
||||
if (team != null) {
|
||||
connection.setScope(OwnerScope.TEAM);
|
||||
connection.setOwnerTeam(team);
|
||||
} else {
|
||||
// No team (teamless self-hosted, or a source whose team was since deleted): server
|
||||
// scope, i.e. admin-owned. An orphaned-team source's non-admin editor would then need
|
||||
// an admin to re-share the connection - acceptable for the narrow orphaned case.
|
||||
connection.setScope(OwnerScope.SERVER);
|
||||
}
|
||||
Map<String, Object> config = new LinkedHashMap<>();
|
||||
for (String option : CONNECTION_OPTIONS) {
|
||||
Object value = options.get(option);
|
||||
if (value != null && !value.toString().isBlank()) {
|
||||
config.put(option, value);
|
||||
}
|
||||
}
|
||||
connection.setConfig(OBJECT_MAPPER.writeValueAsString(config));
|
||||
IntegrationConfig saved = connections.save(connection);
|
||||
byKey.put(key, saved);
|
||||
return saved;
|
||||
}
|
||||
|
||||
/** The rewritten options: the connection reference plus per-use settings only. */
|
||||
private static Map<String, Object> referencing(
|
||||
IntegrationConfig connection, Map<String, Object> legacy, boolean keepMode) {
|
||||
Map<String, Object> options = new LinkedHashMap<>();
|
||||
options.put(S3ConnectionResolver.CONNECTION_ID_OPTION, connection.getId());
|
||||
Object prefix = legacy.get("prefix");
|
||||
if (prefix != null && !prefix.toString().isBlank()) {
|
||||
options.put("prefix", prefix);
|
||||
}
|
||||
Object mode = legacy.get("mode");
|
||||
if (keepMode && mode != null && !mode.toString().isBlank()) {
|
||||
options.put("mode", mode);
|
||||
}
|
||||
return options;
|
||||
}
|
||||
|
||||
private Map<String, IntegrationConfig> indexExistingConnections() {
|
||||
Map<String, IntegrationConfig> byKey = new LinkedHashMap<>();
|
||||
for (IntegrationConfig connection : connections.findAll()) {
|
||||
if (connection.getIntegrationType() != IntegrationType.S3) {
|
||||
continue;
|
||||
}
|
||||
try {
|
||||
Map<String, Object> config =
|
||||
OBJECT_MAPPER.readValue(connection.getConfig(), Map.class);
|
||||
byKey.putIfAbsent(credentialKey(config), connection);
|
||||
} catch (Exception e) {
|
||||
log.debug(
|
||||
"Skipping unreadable S3 connection {} while indexing: {}",
|
||||
connection.getId(),
|
||||
e.getMessage());
|
||||
}
|
||||
}
|
||||
return byKey;
|
||||
}
|
||||
|
||||
private static String credentialKey(Map<String, Object> options) {
|
||||
StringBuilder key = new StringBuilder();
|
||||
for (String option : CONNECTION_OPTIONS) {
|
||||
Object value = options.get(option);
|
||||
key.append(value == null ? "" : value.toString().trim()).append(DELIMITER);
|
||||
}
|
||||
return key.toString();
|
||||
}
|
||||
|
||||
private static String connectionName(
|
||||
Map<String, Object> options, Map<String, IntegrationConfig> byKey) {
|
||||
String base = "S3: " + options.getOrDefault("bucket", "bucket");
|
||||
long sameName = byKey.values().stream().filter(c -> c.getName().startsWith(base)).count();
|
||||
return sameName == 0 ? base : base + " (" + (sameName + 1) + ")";
|
||||
}
|
||||
|
||||
private static Source withOptions(Source source, Map<String, Object> options) {
|
||||
return new Source(
|
||||
source.id(),
|
||||
source.name(),
|
||||
source.type(),
|
||||
options,
|
||||
source.enabled(),
|
||||
source.owner(),
|
||||
source.teamId());
|
||||
}
|
||||
|
||||
private static Policy withOutput(Policy policy, OutputSpec output) {
|
||||
return new Policy(
|
||||
policy.id(),
|
||||
policy.name(),
|
||||
policy.owner(),
|
||||
policy.enabled(),
|
||||
policy.trigger(),
|
||||
policy.sourceIds(),
|
||||
policy.steps(),
|
||||
output,
|
||||
policy.teamId());
|
||||
}
|
||||
}
|
||||
@@ -1,56 +0,0 @@
|
||||
package stirling.software.proprietary.policy.s3;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnBooleanProperty;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
import stirling.software.proprietary.integration.service.IntegrationConfigUsageCheck;
|
||||
import stirling.software.proprietary.policy.model.Policy;
|
||||
import stirling.software.proprietary.policy.source.Source;
|
||||
import stirling.software.proprietary.policy.source.SourceStore;
|
||||
import stirling.software.proprietary.policy.store.PolicyStore;
|
||||
|
||||
/**
|
||||
* Reports the policy sources and pipeline outputs referencing an S3 connection, so the connection
|
||||
* cannot be deleted out from under them (mirrors {@code SourceController}'s referenced-source
|
||||
* delete guard). Scans in memory - fine at admin-dashboard scale, always consistent with the live
|
||||
* stores.
|
||||
*/
|
||||
@Component
|
||||
@RequiredArgsConstructor
|
||||
@ConditionalOnBooleanProperty(name = "policies.enabled")
|
||||
public class PolicyS3ConnectionUsageCheck implements IntegrationConfigUsageCheck {
|
||||
|
||||
private final SourceStore sourceStore;
|
||||
private final PolicyStore policyStore;
|
||||
|
||||
@Override
|
||||
public List<String> usagesOf(long configId) {
|
||||
List<String> usages = new ArrayList<>();
|
||||
for (Source source : sourceStore.all()) {
|
||||
if (references(source.options(), configId)) {
|
||||
usages.add("source '" + source.name() + "'");
|
||||
}
|
||||
}
|
||||
for (Policy policy : policyStore.all()) {
|
||||
if (references(policy.output().options(), configId)) {
|
||||
usages.add("pipeline '" + policy.name() + "'");
|
||||
}
|
||||
}
|
||||
return usages;
|
||||
}
|
||||
|
||||
private static boolean references(Map<String, Object> options, long configId) {
|
||||
try {
|
||||
Long reference = S3ConnectionResolver.connectionId(options);
|
||||
return reference != null && reference == configId;
|
||||
} catch (IllegalArgumentException unparseable) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5,12 +5,10 @@ import java.net.URISyntaxException;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* The fully resolved connection settings the S3 input source and output sink run with - normally
|
||||
* produced by {@link S3ConnectionResolver} merging a stored connection (bucket, region, endpoint,
|
||||
* credentials) with per-use options (prefix, mode), or parsed directly from legacy options that
|
||||
* still embed credentials. Credentials are required: there is deliberately no fallback to the
|
||||
* server's own AWS credential chain, so user-supplied config can never borrow the host's identity.
|
||||
* {@code snapshot} is input-only and ignored by the sink.
|
||||
* Connection settings shared by the S3 input source and output sink, parsed from a spec's options
|
||||
* map. Credentials are required: there is deliberately no fallback to the server's own AWS
|
||||
* credential chain, so user-supplied config can never borrow the host's identity. {@code snapshot}
|
||||
* is input-only and ignored by the sink.
|
||||
*/
|
||||
public record S3Config(
|
||||
String bucket,
|
||||
|
||||
@@ -1,151 +0,0 @@
|
||||
package stirling.software.proprietary.policy.s3;
|
||||
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnBooleanProperty;
|
||||
import org.springframework.security.core.Authentication;
|
||||
import org.springframework.security.core.context.SecurityContextHolder;
|
||||
import org.springframework.security.core.userdetails.UserDetails;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import stirling.software.proprietary.access.model.ResourceType;
|
||||
import stirling.software.proprietary.access.service.OwnershipService;
|
||||
import stirling.software.proprietary.integration.model.IntegrationConfig;
|
||||
import stirling.software.proprietary.integration.model.IntegrationType;
|
||||
import stirling.software.proprietary.integration.repository.IntegrationConfigRepository;
|
||||
import stirling.software.proprietary.security.model.User;
|
||||
import stirling.software.proprietary.security.service.UserService;
|
||||
|
||||
import tools.jackson.core.type.TypeReference;
|
||||
import tools.jackson.databind.ObjectMapper;
|
||||
|
||||
/**
|
||||
* Turns a source's or output's options into a full {@link S3Config} by dereferencing its {@code
|
||||
* connectionId} to a stored S3 {@link IntegrationConfig} (the connection owns bucket, region,
|
||||
* endpoint, and credentials; the options own per-use settings such as prefix and mode). Options
|
||||
* with no {@code connectionId} fall back to legacy embedded credentials, so rows written before
|
||||
* connections shipped keep working until {@link EmbeddedS3CredentialMigration} rewrites them.
|
||||
*
|
||||
* <p>When an authenticated caller is present (save-time validation), they must be allowed to use
|
||||
* the connection. Background sweeps and deliveries run with no caller and skip that check: the
|
||||
* referencing source or policy was access-checked when it was saved.
|
||||
*/
|
||||
@Slf4j
|
||||
@Service
|
||||
@RequiredArgsConstructor
|
||||
@Transactional(readOnly = true)
|
||||
@ConditionalOnBooleanProperty(name = "policies.enabled")
|
||||
public class S3ConnectionResolver {
|
||||
|
||||
static final String CONNECTION_ID_OPTION = "connectionId";
|
||||
private static final String PREFIX_OPTION = "prefix";
|
||||
private static final String MODE_OPTION = "mode";
|
||||
private static final ObjectMapper OBJECT_MAPPER = new ObjectMapper();
|
||||
|
||||
private final IntegrationConfigRepository connections;
|
||||
private final OwnershipService ownership;
|
||||
private final UserService userService;
|
||||
|
||||
public S3Config resolve(Map<String, Object> options) {
|
||||
Long connectionId = connectionId(options);
|
||||
if (connectionId == null) {
|
||||
// Legacy embedded credentials, pending migration.
|
||||
return S3Config.from(options);
|
||||
}
|
||||
IntegrationConfig connection =
|
||||
connections
|
||||
.findById(connectionId)
|
||||
.filter(cfg -> cfg.getIntegrationType() == IntegrationType.S3)
|
||||
.filter(this::usableByCurrentUser)
|
||||
// Existence and access collapse into one error: a caller must not be able
|
||||
// to tell "no such connection" from "someone else's connection" and
|
||||
// enumerate ids. The id/name are never echoed.
|
||||
.orElseThrow(
|
||||
() ->
|
||||
new IllegalArgumentException(
|
||||
"unknown or inaccessible s3 connection"));
|
||||
if (!connection.isEnabled()) {
|
||||
throw new IllegalArgumentException("s3 connection is disabled");
|
||||
}
|
||||
Map<String, Object> merged = new LinkedHashMap<>(connectionConfig(connection));
|
||||
copyPerUseOption(options, merged, PREFIX_OPTION);
|
||||
copyPerUseOption(options, merged, MODE_OPTION);
|
||||
return S3Config.from(merged);
|
||||
}
|
||||
|
||||
/** The {@code connectionId} option as a long, or null when the options are legacy-embedded. */
|
||||
static Long connectionId(Map<String, Object> options) {
|
||||
Object reference = options.get(CONNECTION_ID_OPTION);
|
||||
if (reference == null || (reference instanceof String s && s.isBlank())) {
|
||||
return null;
|
||||
}
|
||||
if (reference instanceof Number number) {
|
||||
return number.longValue();
|
||||
}
|
||||
try {
|
||||
return Long.valueOf(reference.toString().trim());
|
||||
} catch (NumberFormatException e) {
|
||||
throw new IllegalArgumentException(
|
||||
"s3 'connectionId' is not a valid connection reference: " + reference);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether the current caller may use this connection. With no principal - a background sweep or
|
||||
* delivery on a worker thread that carries no {@code SecurityContext} - access is treated as
|
||||
* already established: stored policies are validated with the caller present at save time, and
|
||||
* ad-hoc runs are validated on the request thread before dispatch (see {@code
|
||||
* PolicyValidator#validateOutput}). A missing principal must therefore never be the ONLY thing
|
||||
* standing between a caller and a connection, or the check becomes a confused deputy.
|
||||
*/
|
||||
private boolean usableByCurrentUser(IntegrationConfig connection) {
|
||||
User user = currentUser();
|
||||
return user == null || ownership.canUse(ResourceType.INTEGRATION_CONFIG, connection, user);
|
||||
}
|
||||
|
||||
// Mirrors ResourceAccessSecurity's principal resolution; null when unauthenticated.
|
||||
private User currentUser() {
|
||||
Authentication auth = SecurityContextHolder.getContext().getAuthentication();
|
||||
if (auth == null || !auth.isAuthenticated()) {
|
||||
return null;
|
||||
}
|
||||
Object principal = auth.getPrincipal();
|
||||
if (principal instanceof User user) {
|
||||
return user;
|
||||
}
|
||||
if (principal instanceof UserDetails userDetails) {
|
||||
return userService.findByUsername(userDetails.getUsername()).orElse(null);
|
||||
}
|
||||
if (principal instanceof String username && !"anonymousUser".equals(username)) {
|
||||
return userService.findByUsername(username).orElse(null);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Map<String, Object> connectionConfig(IntegrationConfig connection) {
|
||||
String json = connection.getConfig();
|
||||
if (json == null || json.isBlank()) {
|
||||
return Map.of();
|
||||
}
|
||||
try {
|
||||
return OBJECT_MAPPER.readValue(
|
||||
json, new TypeReference<LinkedHashMap<String, Object>>() {});
|
||||
} catch (Exception e) {
|
||||
throw new IllegalArgumentException(
|
||||
"s3 connection '" + connection.getName() + "' has unreadable config", e);
|
||||
}
|
||||
}
|
||||
|
||||
private static void copyPerUseOption(
|
||||
Map<String, Object> options, Map<String, Object> merged, String key) {
|
||||
Object value = options.get(key);
|
||||
if (value != null && !value.toString().isBlank()) {
|
||||
merged.put(key, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,51 +0,0 @@
|
||||
package stirling.software.proprietary.policy.s3;
|
||||
|
||||
import java.net.URI;
|
||||
import java.util.Map;
|
||||
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnBooleanProperty;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
import stirling.software.common.model.ApplicationProperties;
|
||||
import stirling.software.proprietary.cluster.s3.S3Clients;
|
||||
import stirling.software.proprietary.integration.model.IntegrationType;
|
||||
import stirling.software.proprietary.integration.service.IntegrationConfigValidator;
|
||||
|
||||
/**
|
||||
* The S3 connection schema, enforced when an S3 {@link IntegrationType} config is saved: bucket and
|
||||
* credentials required, endpoint an http(s) URL that must not reach private addresses without the
|
||||
* operator opt-in - the same rules {@link S3ConnectionPool} enforces before signing, moved to save
|
||||
* time so a bad connection fails in the form rather than in a sweep.
|
||||
*/
|
||||
@Component
|
||||
@RequiredArgsConstructor
|
||||
@ConditionalOnBooleanProperty(name = "policies.enabled")
|
||||
public class S3IntegrationValidator implements IntegrationConfigValidator {
|
||||
|
||||
private final ApplicationProperties applicationProperties;
|
||||
|
||||
@Override
|
||||
public IntegrationType type() {
|
||||
return IntegrationType.S3;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void validate(Map<String, Object> config) {
|
||||
S3Config parsed = S3Config.from(config);
|
||||
if (parsed.endpoint() == null) {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
S3Clients.validateEndpointHost(
|
||||
URI.create(parsed.endpoint()),
|
||||
applicationProperties.getPolicies().isAllowPrivateS3Endpoints(),
|
||||
"S3 connection endpoint",
|
||||
"set policies.allowPrivateS3Endpoints=true to opt in (e.g. for a local"
|
||||
+ " MinIO).");
|
||||
} catch (IllegalStateException e) {
|
||||
throw new IllegalArgumentException(e.getMessage(), e);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -184,20 +184,6 @@ public interface PersistentAuditEventRepository extends JpaRepository<Persistent
|
||||
Page<PersistentAuditEvent> findByPrincipalIn(
|
||||
@Param("principals") List<String> principals, Pageable pageable);
|
||||
|
||||
// Noise-excluding scans for the portal: keep the page window full of meaningful events so the
|
||||
// list doesn't shrink as read/polling noise (UI_DATA/HTTP_REQUEST) grows in the recent window.
|
||||
@Query("SELECT e FROM PersistentAuditEvent e WHERE e.type NOT IN :excludedTypes")
|
||||
Page<PersistentAuditEvent> findByTypeNotIn(
|
||||
@Param("excludedTypes") List<String> excludedTypes, Pageable pageable);
|
||||
|
||||
@Query(
|
||||
"SELECT e FROM PersistentAuditEvent e WHERE e.type NOT IN :excludedTypes AND e.principal"
|
||||
+ " IN :principals")
|
||||
Page<PersistentAuditEvent> findByTypeNotInAndPrincipalIn(
|
||||
@Param("excludedTypes") List<String> excludedTypes,
|
||||
@Param("principals") List<String> principals,
|
||||
Pageable pageable);
|
||||
|
||||
@Query(
|
||||
"SELECT e FROM PersistentAuditEvent e WHERE e.type IN :types AND e.timestamp BETWEEN :startDate AND :endDate")
|
||||
Page<PersistentAuditEvent> findByTypeInAndTimestampBetween(
|
||||
|
||||
@@ -103,6 +103,7 @@ public class User implements UserDetails, Serializable {
|
||||
|
||||
@ElementCollection
|
||||
@MapKeyColumn(name = "setting_key")
|
||||
@Lob
|
||||
@Column(name = "setting_value", columnDefinition = "text")
|
||||
@CollectionTable(name = "user_settings", joinColumns = @JoinColumn(name = "user_id"))
|
||||
@JsonIgnore
|
||||
|
||||
@@ -37,11 +37,9 @@ import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import stirling.software.common.model.api.PDFFile;
|
||||
import stirling.software.common.service.CustomPDFDocumentFactory;
|
||||
import stirling.software.common.service.InternalApiClient;
|
||||
import stirling.software.common.util.RegexPatternUtils;
|
||||
import stirling.software.common.util.RequestUriUtils;
|
||||
import stirling.software.proprietary.accountlink.BillableOperationClassifier;
|
||||
import stirling.software.proprietary.audit.AuditContext;
|
||||
import stirling.software.proprietary.audit.AuditEventType;
|
||||
import stirling.software.proprietary.audit.AuditLevel;
|
||||
import stirling.software.proprietary.audit.Audited;
|
||||
@@ -471,73 +469,6 @@ public class AuditService {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Merge controller-supplied context into the audit data, read in the aspect's {@code finally}
|
||||
* after the controller body has run. A policy run stamps its name and step endpoints as request
|
||||
* attributes ({@link AuditContext}); the internal loopback dispatch that executes each pipeline
|
||||
* step carries the automation marker header ({@link InternalApiClient#AUTOMATION_HEADER}).
|
||||
* Surfacing these lets the portal label a run as its policy instead of the raw {@code /run}
|
||||
* endpoint, and flag its sub-steps as automation rather than direct user actions.
|
||||
*
|
||||
* @param data The existing audit data map
|
||||
* @param req The current request, or null when not in a web context
|
||||
*/
|
||||
public void addAutomationContext(Map<String, Object> data, HttpServletRequest req) {
|
||||
if (req == null) {
|
||||
return;
|
||||
}
|
||||
Object policyName = req.getAttribute(AuditContext.REQ_ATTR_POLICY_NAME);
|
||||
if (policyName == null) {
|
||||
// A pipeline step's loopback dispatch carries its parent policy name as a header, so
|
||||
// the
|
||||
// step audit ties back to the policy that ran it (not a bare direct call).
|
||||
String header = req.getHeader(InternalApiClient.POLICY_NAME_HEADER);
|
||||
if (header != null && !header.isBlank()) {
|
||||
policyName = header;
|
||||
}
|
||||
}
|
||||
if (policyName != null) {
|
||||
// Both sources are caller-controlled (the header is spoofable and, unlike the sender in
|
||||
// InternalApiClient, uncapped); strip newlines and cap before persisting to audit JSON.
|
||||
String safe = capLabel(String.valueOf(policyName));
|
||||
if (!safe.isEmpty()) {
|
||||
data.put("policyName", safe);
|
||||
}
|
||||
}
|
||||
Object steps = req.getAttribute(AuditContext.REQ_ATTR_POLICY_STEPS);
|
||||
if (steps instanceof List<?> list && !list.isEmpty()) {
|
||||
// Caller-supplied and unbounded; cap count and each entry so a crafted run can't
|
||||
// bloat the audit JSON the portal cache loads and parses in bulk.
|
||||
List<String> safeSteps =
|
||||
list.stream()
|
||||
.limit(MAX_POLICY_STEPS)
|
||||
.map(s -> capLabel(String.valueOf(s)))
|
||||
.filter(s -> !s.isEmpty())
|
||||
.toList();
|
||||
if (!safeSteps.isEmpty()) {
|
||||
data.put("policySteps", safeSteps);
|
||||
}
|
||||
}
|
||||
if ("true".equalsIgnoreCase(req.getHeader(InternalApiClient.AUTOMATION_HEADER))) {
|
||||
data.put("automation", Boolean.TRUE);
|
||||
}
|
||||
}
|
||||
|
||||
/** Max characters kept for a persisted policy label; mirrors the InternalApiClient send cap. */
|
||||
private static final int MAX_LABEL_LEN = 200;
|
||||
|
||||
/** Max step endpoints kept on a run's audit event; the portal only shows the first few. */
|
||||
private static final int MAX_POLICY_STEPS = 50;
|
||||
|
||||
/** Single-line, length-capped label safe to persist to audit JSON and render in the portal. */
|
||||
private static String capLabel(String value) {
|
||||
if (value == null) {
|
||||
return "";
|
||||
}
|
||||
String safe = value.replaceAll("[\\r\\n]", " ").trim();
|
||||
return safe.length() > MAX_LABEL_LEN ? safe.substring(0, MAX_LABEL_LEN) : safe;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add method arguments to the audit data
|
||||
*
|
||||
|
||||
@@ -9,7 +9,6 @@ import org.springframework.stereotype.Service;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
import stirling.software.proprietary.audit.AuditEventType;
|
||||
import stirling.software.proprietary.audit.PortalAuditEventRow;
|
||||
import stirling.software.proprietary.model.security.PersistentAuditEvent;
|
||||
import stirling.software.proprietary.repository.PersistentAuditEventRepository;
|
||||
@@ -25,21 +24,12 @@ public class PortalAuditReadService {
|
||||
/** Newest rows to scan; each surface filters this down to what it shows. */
|
||||
private static final int SCAN_LIMIT = 400;
|
||||
|
||||
/**
|
||||
* Read/polling noise excluded at the query level so the scan window stays full of meaningful
|
||||
* events. Otherwise a busy scope's recent rows fill with these and the visible list shrinks as
|
||||
* traffic grows - the "audit getting smaller over time" a user would see. No portal surface
|
||||
* shows these types anyway (the infra tab and documents feed both drop them).
|
||||
*/
|
||||
private static final List<String> NOISE_TYPES =
|
||||
List.of(AuditEventType.UI_DATA.name(), AuditEventType.HTTP_REQUEST.name());
|
||||
|
||||
private final PersistentAuditEventRepository auditRepository;
|
||||
|
||||
/** Recent whole-server events (admins). */
|
||||
@Cacheable(value = CACHE_NAME, key = "'server'")
|
||||
public List<PortalAuditEventRow> serverEvents() {
|
||||
return toRows(auditRepository.findByTypeNotIn(NOISE_TYPES, recentPage()).getContent());
|
||||
return toRows(auditRepository.findAll(recentPage()).getContent());
|
||||
}
|
||||
|
||||
/** Recent events by the given principals (team scope). Empty principals yield an empty list. */
|
||||
@@ -48,10 +38,7 @@ public class PortalAuditReadService {
|
||||
if (principals.isEmpty()) {
|
||||
return List.of();
|
||||
}
|
||||
return toRows(
|
||||
auditRepository
|
||||
.findByTypeNotInAndPrincipalIn(NOISE_TYPES, principals, recentPage())
|
||||
.getContent());
|
||||
return toRows(auditRepository.findByPrincipalIn(principals, recentPage()).getContent());
|
||||
}
|
||||
|
||||
private static PageRequest recentPage() {
|
||||
|
||||
@@ -61,17 +61,8 @@ public class PortalDocumentsService {
|
||||
continue;
|
||||
}
|
||||
String path = asString(data.get("path"));
|
||||
// Pipeline steps run over an internal loopback (API-key auth), so origin alone reads as
|
||||
// "API". The automation marker distinguishes a policy-run step from real API traffic.
|
||||
boolean automation = isAutomation(data);
|
||||
String policyName = asString(data.get("policyName"));
|
||||
String source =
|
||||
automation
|
||||
? (policyName != null && !policyName.isBlank()
|
||||
? "Policy: " + policyName
|
||||
: "Policy automation")
|
||||
: sourceLabel(asString(data.get("__origin")));
|
||||
String product = automation ? "Automation" : productLabel(source);
|
||||
String source = sourceLabel(asString(data.get("__origin")));
|
||||
String product = "API integration".equals(source) ? "API" : "Editor";
|
||||
String action = prettyTool(path);
|
||||
boolean failed = isFailure(data);
|
||||
Instant ts = event.timestamp();
|
||||
@@ -183,15 +174,6 @@ public class PortalDocumentsService {
|
||||
return "Web upload";
|
||||
}
|
||||
|
||||
private static String productLabel(String source) {
|
||||
return "API integration".equals(source) ? "API" : "Editor";
|
||||
}
|
||||
|
||||
private static boolean isAutomation(Map<String, Object> data) {
|
||||
Object v = data.get("automation");
|
||||
return Boolean.TRUE.equals(v) || "true".equalsIgnoreCase(String.valueOf(v));
|
||||
}
|
||||
|
||||
private static String docType(String contentType, String name) {
|
||||
String ct = contentType == null ? "" : contentType.toLowerCase(Locale.ROOT);
|
||||
if (ct.contains("pdf") || name.toLowerCase(Locale.ROOT).endsWith(".pdf")) {
|
||||
|
||||
@@ -54,7 +54,6 @@ public class PortalInfraAuditService {
|
||||
.limit(RETURN_LIMIT)
|
||||
.toList();
|
||||
|
||||
int policy = (int) events.stream().filter(e -> "policy".equals(e.getCategory())).count();
|
||||
int processing =
|
||||
(int) events.stream().filter(e -> "processing".equals(e.getCategory())).count();
|
||||
int elevation =
|
||||
@@ -64,7 +63,6 @@ public class PortalInfraAuditService {
|
||||
InfraAuditSummary summary =
|
||||
InfraAuditSummary.builder()
|
||||
.totalEvents(events.size())
|
||||
.policy(policy)
|
||||
.processing(processing)
|
||||
.elevation(elevation)
|
||||
.config(config)
|
||||
@@ -86,32 +84,20 @@ public class PortalInfraAuditService {
|
||||
private InfraAuditEventDto toDto(PortalAuditEventRow event) {
|
||||
Map<String, Object> data = parseData(event);
|
||||
String path = asString(data.get("path"));
|
||||
String policyName = asString(data.get("policyName"));
|
||||
boolean automation = isAutomation(data);
|
||||
// Classify a dispatch by its real run-path URI, not a policyName: the latter can be spoofed
|
||||
// via the X-Stirling-Policy-Name header to make a direct call pose as a policy row.
|
||||
boolean policyDispatch = isPolicyRunPath(path) && !automation;
|
||||
// A dispatch is its own "policy" category so the UI badges it as a policy run, not a
|
||||
// generic processing op; its internal steps keep their real tool category.
|
||||
String category = policyDispatch ? "policy" : categoryFor(event.type(), path);
|
||||
String category = categoryFor(event.type(), path);
|
||||
|
||||
return InfraAuditEventDto.builder()
|
||||
.id(String.valueOf(event.id()))
|
||||
.timestamp(event.timestamp() == null ? "" : TS_FORMAT.format(event.timestamp()))
|
||||
.category(category)
|
||||
.action(actionFor(event.type(), path, policyName, automation))
|
||||
.action(actionFor(event.type(), path))
|
||||
.actor(event.principal())
|
||||
.target(targetFor(category, path, data, policyDispatch))
|
||||
.target(targetFor(category, path, data))
|
||||
.status(statusFor(event.type(), category, data))
|
||||
.latencyMs(asLong(data.get("latencyMs")))
|
||||
.build();
|
||||
}
|
||||
|
||||
private static boolean isAutomation(Map<String, Object> data) {
|
||||
Object v = data.get("automation");
|
||||
return Boolean.TRUE.equals(v) || "true".equalsIgnoreCase(String.valueOf(v));
|
||||
}
|
||||
|
||||
private Map<String, Object> parseData(PortalAuditEventRow event) {
|
||||
if (event.data() == null || event.data().isEmpty()) {
|
||||
return Map.of();
|
||||
@@ -154,37 +140,7 @@ public class PortalInfraAuditService {
|
||||
|| p.contains("redact");
|
||||
}
|
||||
|
||||
/**
|
||||
* Label for a row. A genuine policy dispatch (a {@code /policies/.../run} request) shows the
|
||||
* policy it ran; an internal pipeline step (automation marker) is flagged so it isn't read as a
|
||||
* direct action. The name is only shown as the action on a real run URI, so a spoofed
|
||||
* X-Stirling-Policy-Name header on a direct tool call can't overwrite its true action.
|
||||
*/
|
||||
private static String actionFor(
|
||||
String type, String path, String policyName, boolean automation) {
|
||||
if (!automation && isPolicyRunPath(path)) {
|
||||
// A run with no name (ad-hoc pipeline) still reads better than the "run" endpoint.
|
||||
return policyName != null ? policyName : "Policy run";
|
||||
}
|
||||
String base = baseActionFor(type, path);
|
||||
if (automation) {
|
||||
return policyName != null
|
||||
? base + " (policy: " + policyName + ")"
|
||||
: base + " (automation)";
|
||||
}
|
||||
return base;
|
||||
}
|
||||
|
||||
/**
|
||||
* The pipeline-run endpoints: {@code /policies/run}, {@code /run/stream}, {@code /{id}/run}.
|
||||
*/
|
||||
private static boolean isPolicyRunPath(String path) {
|
||||
return path != null
|
||||
&& path.contains("/policies/")
|
||||
&& (path.endsWith("/run") || path.endsWith("/run/stream"));
|
||||
}
|
||||
|
||||
private static String baseActionFor(String type, String path) {
|
||||
private static String actionFor(String type, String path) {
|
||||
AuditEventType t = AuditEventType.fromString(type);
|
||||
if (t == null) {
|
||||
return prettyTool(path);
|
||||
@@ -235,32 +191,7 @@ public class PortalInfraAuditService {
|
||||
return sb.isEmpty() ? "PDF operation" : sb.toString();
|
||||
}
|
||||
|
||||
/** "Auto Redact, Compress PDF" from the run's step endpoints; first three, then "+N more". */
|
||||
private static String prettyStepList(Object steps) {
|
||||
if (!(steps instanceof List<?> list) || list.isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
int shown = Math.min(3, list.size());
|
||||
StringBuilder sb = new StringBuilder();
|
||||
for (int i = 0; i < shown; i++) {
|
||||
if (i > 0) {
|
||||
sb.append(", ");
|
||||
}
|
||||
sb.append(prettyTool(asString(list.get(i))));
|
||||
}
|
||||
if (list.size() > shown) {
|
||||
sb.append(" +").append(list.size() - shown).append(" more");
|
||||
}
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
private static String targetFor(
|
||||
String category, String path, Map<String, Object> data, boolean policyDispatch) {
|
||||
if (policyDispatch) {
|
||||
// The run touches no single file at this level; show the tools the policy runs instead.
|
||||
String steps = prettyStepList(data.get("policySteps"));
|
||||
return steps != null ? steps : "Pipeline";
|
||||
}
|
||||
private static String targetFor(String category, String path, Map<String, Object> data) {
|
||||
if ("auth".equals(category)) {
|
||||
// Auth events don't act on a resource; the session is the closest thing.
|
||||
return "Web session";
|
||||
|
||||
@@ -2,7 +2,6 @@ package stirling.software.proprietary.access.service;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.mockito.ArgumentMatchers.any;
|
||||
import static org.mockito.Mockito.lenient;
|
||||
import static org.mockito.Mockito.when;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
@@ -259,24 +258,6 @@ class ResourceAccessServiceTest {
|
||||
.isFalse();
|
||||
}
|
||||
|
||||
@Test
|
||||
void teamLeadDefaultOnTeamResourceDeniesForeignTeamsLead() {
|
||||
// Team-owned resource: the default admits only the owning team's leads. A lead of
|
||||
// some other team must be denied even though an unscoped "is any team leader"
|
||||
// check would admit them (lenient stub: the scoped path must never consult it).
|
||||
stubGrants();
|
||||
User foreignLead = user(6);
|
||||
lenient().when(teamLeadLookup.isAnyTeamLeader(foreignLead)).thenReturn(true);
|
||||
assertThat(
|
||||
service.canUseResource(
|
||||
TYPE,
|
||||
RID,
|
||||
PrincipalRef.team(7L),
|
||||
DefaultAccessPolicy.ADMINS_AND_TEAM_LEADS,
|
||||
foreignLead))
|
||||
.isFalse();
|
||||
}
|
||||
|
||||
// ---- portal convenience (default policy ADMINS_AND_TEAM_LEADS) ----
|
||||
|
||||
@Test
|
||||
|
||||
@@ -13,9 +13,9 @@ import java.util.Map;
|
||||
import java.util.Optional;
|
||||
import java.util.Set;
|
||||
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
import org.mockito.InjectMocks;
|
||||
import org.mockito.Mock;
|
||||
import org.mockito.junit.jupiter.MockitoExtension;
|
||||
import org.springframework.http.HttpStatus;
|
||||
@@ -52,58 +52,7 @@ class IntegrationConfigServiceTest {
|
||||
@Mock
|
||||
private stirling.software.proprietary.access.repository.ResourceGrantRepository grantRepository;
|
||||
|
||||
@Mock private IntegrationConfigValidator validator;
|
||||
@Mock private IntegrationConfigUsageCheck usageCheck;
|
||||
|
||||
private IntegrationConfigService service;
|
||||
|
||||
@BeforeEach
|
||||
void setUp() {
|
||||
service =
|
||||
new IntegrationConfigService(
|
||||
repository,
|
||||
ownership,
|
||||
secretMasker,
|
||||
grantRepository,
|
||||
List.of(validator),
|
||||
List.of(usageCheck));
|
||||
}
|
||||
|
||||
@Test
|
||||
void createRejectsAConfigItsTypeValidatorRefuses() {
|
||||
when(secretMasker.sanitize(any())).thenReturn(Map.of());
|
||||
when(validator.type()).thenReturn(IntegrationType.API);
|
||||
org.mockito.Mockito.doThrow(new IllegalArgumentException("api config needs a 'url'"))
|
||||
.when(validator)
|
||||
.validate(any());
|
||||
|
||||
assertThatThrownBy(
|
||||
() ->
|
||||
service.create(
|
||||
request(IntegrationType.API, OwnerScope.USER, null),
|
||||
user(7)))
|
||||
.isInstanceOf(ResponseStatusException.class)
|
||||
.satisfies(
|
||||
e ->
|
||||
assertThat(((ResponseStatusException) e).getStatusCode())
|
||||
.isEqualTo(HttpStatus.BAD_REQUEST));
|
||||
}
|
||||
|
||||
@Test
|
||||
void deleteRefusedWhileAnythingStillReferencesTheConfig() {
|
||||
IntegrationConfig cfg = config(9L);
|
||||
when(repository.findById(9L)).thenReturn(Optional.of(cfg));
|
||||
when(ownership.canManage(any(), eq(cfg), any())).thenReturn(true);
|
||||
when(usageCheck.usagesOf(9L)).thenReturn(List.of("source 'Claims intake'"));
|
||||
|
||||
assertThatThrownBy(() -> service.delete(9L, user(7)))
|
||||
.isInstanceOf(ResponseStatusException.class)
|
||||
.satisfies(
|
||||
e ->
|
||||
assertThat(((ResponseStatusException) e).getStatusCode())
|
||||
.isEqualTo(HttpStatus.CONFLICT));
|
||||
verify(repository, org.mockito.Mockito.never()).delete(any(IntegrationConfig.class));
|
||||
}
|
||||
@InjectMocks private IntegrationConfigService service;
|
||||
|
||||
@Test
|
||||
void createDelegatesOwnershipAndSanitizesConfig() {
|
||||
|
||||
@@ -4,7 +4,6 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.assertj.core.api.Assertions.assertThatThrownBy;
|
||||
import static org.mockito.ArgumentMatchers.any;
|
||||
import static org.mockito.ArgumentMatchers.eq;
|
||||
import static org.mockito.Mockito.doThrow;
|
||||
import static org.mockito.Mockito.never;
|
||||
import static org.mockito.Mockito.verify;
|
||||
import static org.mockito.Mockito.when;
|
||||
@@ -195,29 +194,6 @@ class PolicyControllerTest {
|
||||
assertThat(((ResponseStatusException) e).getStatusCode())
|
||||
.isEqualTo(HttpStatus.BAD_REQUEST));
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("rejects an ad-hoc output the caller cannot use, on the request thread")
|
||||
void rejectsUnauthorizedAdHocOutput() {
|
||||
// The confused-deputy guard: an S3 output referencing a connection the caller may not
|
||||
// use is validated here (principal present) and refused before any worker dispatch.
|
||||
PipelineDefinition definition =
|
||||
new PipelineDefinition(
|
||||
"pipe",
|
||||
List.of(new PipelineStep("/api/v1/misc/compress-pdf", null)),
|
||||
new OutputSpec("s3", Map.of("connectionId", 999)));
|
||||
doThrow(new IllegalArgumentException("unknown or inaccessible s3 connection"))
|
||||
.when(policyValidator)
|
||||
.validateOutput(any());
|
||||
|
||||
assertThatThrownBy(() -> controller.run(definition, new PolicyRunFiles()))
|
||||
.isInstanceOf(ResponseStatusException.class)
|
||||
.satisfies(
|
||||
e ->
|
||||
assertThat(((ResponseStatusException) e).getStatusCode())
|
||||
.isEqualTo(HttpStatus.BAD_REQUEST));
|
||||
verify(policyRunner, never()).runAdHoc(any(), any(), any());
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
@@ -82,28 +82,6 @@ class PolicyValidatorTest {
|
||||
assertTrue(ex.getMessage().contains("schedule"));
|
||||
}
|
||||
|
||||
@Test
|
||||
void validateOutputDelegatesToTheSink() {
|
||||
when(outputSink.supports(any())).thenReturn(true);
|
||||
OutputSpec output = new OutputSpec("s3", Map.of("connectionId", 1));
|
||||
|
||||
validator.validateOutput(output);
|
||||
|
||||
verify(outputSink).validate(output);
|
||||
}
|
||||
|
||||
@Test
|
||||
void validateOutputSurfacesAnInaccessibleConnection() {
|
||||
when(outputSink.supports(any())).thenReturn(true);
|
||||
doThrow(new IllegalArgumentException("unknown or inaccessible s3 connection"))
|
||||
.when(outputSink)
|
||||
.validate(any());
|
||||
|
||||
assertThrows(
|
||||
IllegalArgumentException.class,
|
||||
() -> validator.validateOutput(new OutputSpec("s3", Map.of("connectionId", 1))));
|
||||
}
|
||||
|
||||
@Test
|
||||
void rejectsAnUnknownTriggerType() {
|
||||
when(trigger.type()).thenReturn("schedule");
|
||||
|
||||
@@ -23,7 +23,6 @@ import stirling.software.common.model.ApplicationProperties;
|
||||
import stirling.software.proprietary.policy.ledger.InProcessProcessedLedger;
|
||||
import stirling.software.proprietary.policy.model.InputSpec;
|
||||
import stirling.software.proprietary.policy.s3.S3ConnectionPool;
|
||||
import stirling.software.proprietary.policy.s3.S3TestConnections;
|
||||
|
||||
import software.amazon.awssdk.auth.credentials.AwsBasicCredentials;
|
||||
import software.amazon.awssdk.auth.credentials.StaticCredentialsProvider;
|
||||
@@ -83,9 +82,7 @@ class S3InputSourceMinioTest {
|
||||
// The MinIO endpoint resolves to loopback, so the operator opt-in must be on.
|
||||
ApplicationProperties properties = new ApplicationProperties();
|
||||
properties.getPolicies().setAllowPrivateS3Endpoints(true);
|
||||
source =
|
||||
new S3InputSource(
|
||||
new S3ConnectionPool(properties), S3TestConnections.legacyResolver());
|
||||
source = new S3InputSource(new S3ConnectionPool(properties));
|
||||
ledger = new InProcessProcessedLedger();
|
||||
ctx = new RecordingContext();
|
||||
}
|
||||
@@ -164,9 +161,7 @@ class S3InputSourceMinioTest {
|
||||
@Test
|
||||
void aPrivateEndpointIsRejectedWithoutTheOperatorOptIn() {
|
||||
S3InputSource guarded =
|
||||
new S3InputSource(
|
||||
new S3ConnectionPool(new ApplicationProperties()),
|
||||
S3TestConnections.legacyResolver());
|
||||
new S3InputSource(new S3ConnectionPool(new ApplicationProperties()));
|
||||
|
||||
assertThatThrownBy(() -> guarded.validate(spec(Map.of())))
|
||||
.isInstanceOf(IllegalArgumentException.class)
|
||||
|
||||
@@ -29,7 +29,6 @@ import stirling.software.common.model.ApplicationProperties;
|
||||
import stirling.software.proprietary.policy.ledger.InProcessProcessedLedger;
|
||||
import stirling.software.proprietary.policy.model.InputSpec;
|
||||
import stirling.software.proprietary.policy.s3.S3ConnectionPool;
|
||||
import stirling.software.proprietary.policy.s3.S3TestConnections;
|
||||
|
||||
import software.amazon.awssdk.core.ResponseInputStream;
|
||||
import software.amazon.awssdk.core.exception.SdkClientException;
|
||||
@@ -65,8 +64,7 @@ class S3InputSourceTest {
|
||||
void setUp() {
|
||||
source =
|
||||
new S3InputSource(
|
||||
new S3ConnectionPool(new ApplicationProperties(), config -> s3Client),
|
||||
S3TestConnections.legacyResolver());
|
||||
new S3ConnectionPool(new ApplicationProperties(), config -> s3Client));
|
||||
ledger = new InProcessProcessedLedger();
|
||||
ctx = new RecordingContext();
|
||||
}
|
||||
|
||||
@@ -28,7 +28,6 @@ import stirling.software.proprietary.policy.ledger.InProcessProcessedLedger;
|
||||
import stirling.software.proprietary.policy.model.InputSpec;
|
||||
import stirling.software.proprietary.policy.model.OutputSpec;
|
||||
import stirling.software.proprietary.policy.s3.S3ConnectionPool;
|
||||
import stirling.software.proprietary.policy.s3.S3TestConnections;
|
||||
|
||||
import software.amazon.awssdk.auth.credentials.AwsBasicCredentials;
|
||||
import software.amazon.awssdk.auth.credentials.StaticCredentialsProvider;
|
||||
@@ -91,8 +90,8 @@ class S3OutputSinkMinioTest {
|
||||
properties.getPolicies().setAllowPrivateS3Endpoints(true);
|
||||
S3ConnectionPool pool = new S3ConnectionPool(properties);
|
||||
ledger = new InProcessProcessedLedger();
|
||||
sink = new S3OutputSink(pool, S3TestConnections.legacyResolver(), ledger);
|
||||
source = new S3InputSource(pool, S3TestConnections.legacyResolver());
|
||||
sink = new S3OutputSink(pool, ledger);
|
||||
source = new S3InputSource(pool);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
@@ -32,7 +32,6 @@ import stirling.software.proprietary.policy.ledger.InProcessProcessedLedger;
|
||||
import stirling.software.proprietary.policy.ledger.ProcessedFileStatus;
|
||||
import stirling.software.proprietary.policy.model.OutputSpec;
|
||||
import stirling.software.proprietary.policy.s3.S3ConnectionPool;
|
||||
import stirling.software.proprietary.policy.s3.S3TestConnections;
|
||||
|
||||
import software.amazon.awssdk.awscore.exception.AwsServiceException;
|
||||
import software.amazon.awssdk.core.exception.SdkClientException;
|
||||
@@ -67,7 +66,6 @@ class S3OutputSinkTest {
|
||||
sink =
|
||||
new S3OutputSink(
|
||||
new S3ConnectionPool(new ApplicationProperties(), config -> s3Client),
|
||||
S3TestConnections.legacyResolver(),
|
||||
ledger);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,212 +0,0 @@
|
||||
package stirling.software.proprietary.policy.s3;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
import static org.junit.jupiter.api.Assertions.assertNull;
|
||||
import static org.mockito.ArgumentMatchers.any;
|
||||
import static org.mockito.Mockito.lenient;
|
||||
import static org.mockito.Mockito.times;
|
||||
import static org.mockito.Mockito.verify;
|
||||
import static org.mockito.Mockito.when;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Optional;
|
||||
import java.util.concurrent.atomic.AtomicLong;
|
||||
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
import org.mockito.Mock;
|
||||
import org.mockito.junit.jupiter.MockitoExtension;
|
||||
|
||||
import stirling.software.proprietary.access.model.OwnerScope;
|
||||
import stirling.software.proprietary.integration.model.IntegrationConfig;
|
||||
import stirling.software.proprietary.integration.repository.IntegrationConfigRepository;
|
||||
import stirling.software.proprietary.model.Team;
|
||||
import stirling.software.proprietary.policy.model.OutputSpec;
|
||||
import stirling.software.proprietary.policy.model.PipelineStep;
|
||||
import stirling.software.proprietary.policy.model.Policy;
|
||||
import stirling.software.proprietary.policy.source.InProcessSourceStore;
|
||||
import stirling.software.proprietary.policy.source.Source;
|
||||
import stirling.software.proprietary.policy.store.InProcessPolicyStore;
|
||||
import stirling.software.proprietary.security.repository.TeamRepository;
|
||||
|
||||
/**
|
||||
* Tests for {@link EmbeddedS3CredentialMigration}: legacy embedded credentials become deduplicated
|
||||
* team-scoped connections, rewritten rows keep only per-use options, and re-runs are no-ops.
|
||||
*/
|
||||
@ExtendWith(MockitoExtension.class)
|
||||
class EmbeddedS3CredentialMigrationTest {
|
||||
|
||||
@Mock private IntegrationConfigRepository connections;
|
||||
@Mock private TeamRepository teamRepository;
|
||||
|
||||
private final InProcessSourceStore sourceStore = new InProcessSourceStore();
|
||||
private final InProcessPolicyStore policyStore = new InProcessPolicyStore();
|
||||
private EmbeddedS3CredentialMigration migration;
|
||||
|
||||
@BeforeEach
|
||||
void setUp() {
|
||||
migration =
|
||||
new EmbeddedS3CredentialMigration(
|
||||
sourceStore, policyStore, connections, teamRepository);
|
||||
AtomicLong ids = new AtomicLong(100);
|
||||
// Lenient: the nothing-to-migrate cases never create a connection.
|
||||
lenient().when(connections.findAll()).thenReturn(List.of());
|
||||
lenient()
|
||||
.when(connections.save(any()))
|
||||
.thenAnswer(
|
||||
invocation -> {
|
||||
IntegrationConfig saved = invocation.getArgument(0);
|
||||
if (saved.getId() == null) {
|
||||
saved.setId(ids.incrementAndGet());
|
||||
}
|
||||
return saved;
|
||||
});
|
||||
}
|
||||
|
||||
@Test
|
||||
void extractsSharedCredentialsIntoOneTeamScopedConnection() {
|
||||
Team team = new Team();
|
||||
team.setId(7L);
|
||||
when(teamRepository.findById(7L)).thenReturn(Optional.of(team));
|
||||
Source source =
|
||||
sourceStore.save(
|
||||
new Source(
|
||||
null,
|
||||
"Claims intake",
|
||||
"s3",
|
||||
Map.of(
|
||||
"bucket", "inbox",
|
||||
"prefix", "incoming/",
|
||||
"mode", "snapshot",
|
||||
"accessKeyId", "AKIAEXAMPLE",
|
||||
"secretAccessKey", "shh"),
|
||||
true,
|
||||
"alice",
|
||||
7L));
|
||||
Policy policy =
|
||||
policyStore.save(
|
||||
new Policy(
|
||||
null,
|
||||
"Rotate",
|
||||
"alice",
|
||||
true,
|
||||
null,
|
||||
List.of(source.id()),
|
||||
List.of(new PipelineStep("/api/v1/misc/compress-pdf", Map.of())),
|
||||
new OutputSpec(
|
||||
"s3",
|
||||
Map.of(
|
||||
"bucket", "inbox",
|
||||
"prefix", "processed/",
|
||||
"accessKeyId", "AKIAEXAMPLE",
|
||||
"secretAccessKey", "shh")),
|
||||
7L));
|
||||
|
||||
migration.migrate();
|
||||
|
||||
// Same bucket + credentials on both rows: exactly one connection extracted.
|
||||
verify(connections, times(1)).save(any());
|
||||
Map<String, Object> sourceOptions = sourceStore.get(source.id()).orElseThrow().options();
|
||||
assertEquals(101L, sourceOptions.get("connectionId"));
|
||||
assertEquals("incoming/", sourceOptions.get("prefix"));
|
||||
assertEquals("snapshot", sourceOptions.get("mode"));
|
||||
assertNull(sourceOptions.get("accessKeyId"));
|
||||
assertNull(sourceOptions.get("secretAccessKey"));
|
||||
assertNull(sourceOptions.get("bucket"));
|
||||
|
||||
Map<String, Object> outputOptions =
|
||||
policyStore.get(policy.id()).orElseThrow().output().options();
|
||||
assertEquals(101L, outputOptions.get("connectionId"));
|
||||
assertEquals("processed/", outputOptions.get("prefix"));
|
||||
assertNull(outputOptions.get("secretAccessKey"));
|
||||
}
|
||||
|
||||
@Test
|
||||
void connectionOwnershipFollowsTheSourceTeam() {
|
||||
Team team = new Team();
|
||||
team.setId(7L);
|
||||
when(teamRepository.findById(7L)).thenReturn(Optional.of(team));
|
||||
sourceStore.save(s3Source("teamed", 7L));
|
||||
|
||||
migration.migrate();
|
||||
|
||||
verify(connections)
|
||||
.save(
|
||||
org.mockito.ArgumentMatchers.argThat(
|
||||
connection ->
|
||||
connection.getScope() == OwnerScope.TEAM
|
||||
&& connection.getOwnerTeam() == team));
|
||||
}
|
||||
|
||||
@Test
|
||||
void teamlessRowsBecomeServerScopedConnections() {
|
||||
sourceStore.save(s3Source("solo", null));
|
||||
|
||||
migration.migrate();
|
||||
|
||||
verify(connections)
|
||||
.save(
|
||||
org.mockito.ArgumentMatchers.argThat(
|
||||
connection -> connection.getScope() == OwnerScope.SERVER));
|
||||
}
|
||||
|
||||
@Test
|
||||
void aSecondRunFindsNothingToDo() {
|
||||
sourceStore.save(s3Source("once", null));
|
||||
|
||||
migration.migrate();
|
||||
migration.migrate();
|
||||
|
||||
// One connection from the first run; the rewritten source no longer embeds credentials.
|
||||
verify(connections, times(1)).save(any());
|
||||
}
|
||||
|
||||
@Test
|
||||
void nonS3AndAlreadyMigratedRowsAreUntouched() {
|
||||
Source folder =
|
||||
sourceStore.save(
|
||||
new Source(
|
||||
null,
|
||||
"Folder",
|
||||
"folder",
|
||||
Map.of("directory", "/in"),
|
||||
true,
|
||||
"alice",
|
||||
null));
|
||||
Source migrated =
|
||||
sourceStore.save(
|
||||
new Source(
|
||||
null,
|
||||
"Done already",
|
||||
"s3",
|
||||
Map.of("connectionId", 55L, "prefix", "in/"),
|
||||
true,
|
||||
"alice",
|
||||
null));
|
||||
|
||||
migration.migrate();
|
||||
|
||||
verify(connections, times(0)).save(any());
|
||||
assertEquals(
|
||||
Map.of("directory", "/in"), sourceStore.get(folder.id()).orElseThrow().options());
|
||||
assertEquals(
|
||||
Map.of("connectionId", 55L, "prefix", "in/"),
|
||||
sourceStore.get(migrated.id()).orElseThrow().options());
|
||||
}
|
||||
|
||||
private static Source s3Source(String name, Long teamId) {
|
||||
return new Source(
|
||||
null,
|
||||
name,
|
||||
"s3",
|
||||
Map.of(
|
||||
"bucket", "inbox",
|
||||
"accessKeyId", "AKIAEXAMPLE",
|
||||
"secretAccessKey", "shh"),
|
||||
true,
|
||||
"alice",
|
||||
teamId);
|
||||
}
|
||||
}
|
||||
@@ -1,52 +0,0 @@
|
||||
package stirling.software.proprietary.policy.s3;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import stirling.software.proprietary.policy.model.OutputSpec;
|
||||
import stirling.software.proprietary.policy.model.PipelineStep;
|
||||
import stirling.software.proprietary.policy.model.Policy;
|
||||
import stirling.software.proprietary.policy.source.InProcessSourceStore;
|
||||
import stirling.software.proprietary.policy.source.Source;
|
||||
import stirling.software.proprietary.policy.store.InProcessPolicyStore;
|
||||
|
||||
/** Tests for {@link PolicyS3ConnectionUsageCheck}'s reference scan across sources and outputs. */
|
||||
class PolicyS3ConnectionUsageCheckTest {
|
||||
|
||||
private final InProcessSourceStore sourceStore = new InProcessSourceStore();
|
||||
private final InProcessPolicyStore policyStore = new InProcessPolicyStore();
|
||||
private final PolicyS3ConnectionUsageCheck check =
|
||||
new PolicyS3ConnectionUsageCheck(sourceStore, policyStore);
|
||||
|
||||
@Test
|
||||
void reportsSourcesAndOutputsReferencingTheConnection() {
|
||||
sourceStore.save(
|
||||
new Source(
|
||||
null,
|
||||
"Claims intake",
|
||||
"s3",
|
||||
Map.of("connectionId", 5L, "prefix", "in/"),
|
||||
true,
|
||||
"alice",
|
||||
null));
|
||||
policyStore.save(
|
||||
new Policy(
|
||||
null,
|
||||
"Rotate",
|
||||
"alice",
|
||||
true,
|
||||
null,
|
||||
List.of(),
|
||||
List.of(new PipelineStep("/api/v1/misc/compress-pdf", Map.of())),
|
||||
new OutputSpec("s3", Map.of("connectionId", "5")),
|
||||
null));
|
||||
|
||||
assertThat(check.usagesOf(5))
|
||||
.containsExactlyInAnyOrder("source 'Claims intake'", "pipeline 'Rotate'");
|
||||
assertThat(check.usagesOf(6)).isEmpty();
|
||||
}
|
||||
}
|
||||
@@ -1,149 +0,0 @@
|
||||
package stirling.software.proprietary.policy.s3;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
import static org.junit.jupiter.api.Assertions.assertThrows;
|
||||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
import static org.mockito.ArgumentMatchers.any;
|
||||
import static org.mockito.ArgumentMatchers.eq;
|
||||
import static org.mockito.Mockito.when;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.Optional;
|
||||
|
||||
import org.junit.jupiter.api.AfterEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
import org.mockito.Mock;
|
||||
import org.mockito.junit.jupiter.MockitoExtension;
|
||||
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
|
||||
import org.springframework.security.core.context.SecurityContextHolder;
|
||||
|
||||
import stirling.software.proprietary.access.service.OwnershipService;
|
||||
import stirling.software.proprietary.integration.model.IntegrationConfig;
|
||||
import stirling.software.proprietary.integration.model.IntegrationType;
|
||||
import stirling.software.proprietary.integration.repository.IntegrationConfigRepository;
|
||||
import stirling.software.proprietary.security.model.User;
|
||||
import stirling.software.proprietary.security.service.UserService;
|
||||
|
||||
/**
|
||||
* Tests for {@link S3ConnectionResolver}: connection dereferencing with per-use overrides, the
|
||||
* legacy embedded fallback, and the save-time access check that background sweeps skip.
|
||||
*/
|
||||
@ExtendWith(MockitoExtension.class)
|
||||
class S3ConnectionResolverTest {
|
||||
|
||||
@Mock private IntegrationConfigRepository connections;
|
||||
@Mock private OwnershipService ownership;
|
||||
@Mock private UserService userService;
|
||||
|
||||
@AfterEach
|
||||
void clearSecurityContext() {
|
||||
SecurityContextHolder.clearContext();
|
||||
}
|
||||
|
||||
@Test
|
||||
void resolvesAConnectionAndMergesPerUseOptions() {
|
||||
when(connections.findById(9L)).thenReturn(Optional.of(s3Connection(9L, true)));
|
||||
|
||||
S3Config config =
|
||||
resolver()
|
||||
.resolve(
|
||||
Map.of(
|
||||
"connectionId", 9L,
|
||||
"prefix", "incoming/",
|
||||
"mode", "snapshot"));
|
||||
|
||||
assertEquals("inbox", config.bucket());
|
||||
assertEquals("AKIAEXAMPLE", config.accessKeyId());
|
||||
assertEquals("incoming/", config.prefix());
|
||||
assertTrue(config.snapshot());
|
||||
}
|
||||
|
||||
@Test
|
||||
void acceptsAStringConnectionReference() {
|
||||
when(connections.findById(9L)).thenReturn(Optional.of(s3Connection(9L, true)));
|
||||
|
||||
assertEquals("inbox", resolver().resolve(Map.of("connectionId", "9")).bucket());
|
||||
}
|
||||
|
||||
@Test
|
||||
void fallsBackToLegacyEmbeddedCredentials() {
|
||||
S3Config config =
|
||||
resolver()
|
||||
.resolve(
|
||||
Map.of(
|
||||
"bucket", "legacy",
|
||||
"accessKeyId", "AKIAEXAMPLE",
|
||||
"secretAccessKey", "shh"));
|
||||
|
||||
assertEquals("legacy", config.bucket());
|
||||
}
|
||||
|
||||
@Test
|
||||
void rejectsUnknownDisabledOrWrongTypeConnections() {
|
||||
when(connections.findById(1L)).thenReturn(Optional.empty());
|
||||
assertThrows(
|
||||
IllegalArgumentException.class,
|
||||
() -> resolver().resolve(Map.of("connectionId", 1L)));
|
||||
|
||||
when(connections.findById(2L)).thenReturn(Optional.of(s3Connection(2L, false)));
|
||||
assertThrows(
|
||||
IllegalArgumentException.class,
|
||||
() -> resolver().resolve(Map.of("connectionId", 2L)));
|
||||
|
||||
IntegrationConfig mcp = s3Connection(3L, true);
|
||||
mcp.setIntegrationType(IntegrationType.MCP);
|
||||
when(connections.findById(3L)).thenReturn(Optional.of(mcp));
|
||||
assertThrows(
|
||||
IllegalArgumentException.class,
|
||||
() -> resolver().resolve(Map.of("connectionId", 3L)));
|
||||
}
|
||||
|
||||
@Test
|
||||
void anAuthenticatedSaverMustBeAllowedToUseTheConnection() {
|
||||
when(connections.findById(9L)).thenReturn(Optional.of(s3Connection(9L, true)));
|
||||
User saver = new User();
|
||||
saver.setUsername("alice");
|
||||
SecurityContextHolder.getContext()
|
||||
.setAuthentication(
|
||||
new UsernamePasswordAuthenticationToken(saver, null, java.util.List.of()));
|
||||
when(ownership.canUse(any(), any(IntegrationConfig.class), eq(saver))).thenReturn(false);
|
||||
|
||||
// Denied reads the same as unknown and never echoes the connection name, so ids can't be
|
||||
// enumerated by probing.
|
||||
assertThrows(
|
||||
IllegalArgumentException.class,
|
||||
() -> resolver().resolve(Map.of("connectionId", 9L)));
|
||||
try {
|
||||
resolver().resolve(Map.of("connectionId", 9L));
|
||||
} catch (IllegalArgumentException e) {
|
||||
org.junit.jupiter.api.Assertions.assertFalse(
|
||||
e.getMessage().contains("Claims bucket"),
|
||||
"access-denied error must not leak the connection name");
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
void backgroundSweepsWithNoUserSkipTheAccessCheck() {
|
||||
when(connections.findById(9L)).thenReturn(Optional.of(s3Connection(9L, true)));
|
||||
|
||||
// No authentication in the context: resolution succeeds without consulting ownership.
|
||||
assertEquals("inbox", resolver().resolve(Map.of("connectionId", 9L)).bucket());
|
||||
}
|
||||
|
||||
private S3ConnectionResolver resolver() {
|
||||
return new S3ConnectionResolver(connections, ownership, userService);
|
||||
}
|
||||
|
||||
private static IntegrationConfig s3Connection(long id, boolean enabled) {
|
||||
IntegrationConfig connection = new IntegrationConfig();
|
||||
connection.setId(id);
|
||||
connection.setIntegrationType(IntegrationType.S3);
|
||||
connection.setName("Claims bucket");
|
||||
connection.setEnabled(enabled);
|
||||
connection.setConfig(
|
||||
"{\"bucket\":\"inbox\",\"accessKeyId\":\"AKIAEXAMPLE\","
|
||||
+ "\"secretAccessKey\":\"shh\"}");
|
||||
return connection;
|
||||
}
|
||||
}
|
||||
@@ -1,71 +0,0 @@
|
||||
package stirling.software.proprietary.policy.s3;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThatCode;
|
||||
import static org.assertj.core.api.Assertions.assertThatThrownBy;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import stirling.software.common.model.ApplicationProperties;
|
||||
import stirling.software.proprietary.integration.model.IntegrationType;
|
||||
|
||||
/**
|
||||
* Tests for {@link S3IntegrationValidator}: the S3 connection schema fails at save time - missing
|
||||
* credentials, bad endpoints, and private endpoints without the operator opt-in.
|
||||
*/
|
||||
class S3IntegrationValidatorTest {
|
||||
|
||||
@Test
|
||||
void acceptsACompleteConnection() {
|
||||
assertThatCode(
|
||||
() ->
|
||||
validator(false)
|
||||
.validate(
|
||||
Map.of(
|
||||
"bucket", "inbox",
|
||||
"accessKeyId", "AKIAEXAMPLE",
|
||||
"secretAccessKey", "shh")))
|
||||
.doesNotThrowAnyException();
|
||||
}
|
||||
|
||||
@Test
|
||||
void rejectsMissingCredentialsOrBucket() {
|
||||
assertThatThrownBy(() -> validator(false).validate(Map.of("bucket", "inbox")))
|
||||
.isInstanceOf(IllegalArgumentException.class);
|
||||
assertThatThrownBy(
|
||||
() ->
|
||||
validator(false)
|
||||
.validate(
|
||||
Map.of(
|
||||
"accessKeyId", "AKIAEXAMPLE",
|
||||
"secretAccessKey", "shh")))
|
||||
.isInstanceOf(IllegalArgumentException.class);
|
||||
}
|
||||
|
||||
@Test
|
||||
void rejectsAPrivateEndpointWithoutTheOperatorOptIn() {
|
||||
Map<String, Object> config =
|
||||
Map.of(
|
||||
"bucket", "inbox",
|
||||
"accessKeyId", "AKIAEXAMPLE",
|
||||
"secretAccessKey", "shh",
|
||||
"endpoint", "http://localhost:9000");
|
||||
|
||||
assertThatThrownBy(() -> validator(false).validate(config))
|
||||
.isInstanceOf(IllegalArgumentException.class)
|
||||
.hasMessageContaining("allowPrivateS3Endpoints");
|
||||
assertThatCode(() -> validator(true).validate(config)).doesNotThrowAnyException();
|
||||
}
|
||||
|
||||
@Test
|
||||
void itOnlyClaimsTheS3Type() {
|
||||
org.junit.jupiter.api.Assertions.assertEquals(IntegrationType.S3, validator(false).type());
|
||||
}
|
||||
|
||||
private static S3IntegrationValidator validator(boolean allowPrivateEndpoints) {
|
||||
ApplicationProperties properties = new ApplicationProperties();
|
||||
properties.getPolicies().setAllowPrivateS3Endpoints(allowPrivateEndpoints);
|
||||
return new S3IntegrationValidator(properties);
|
||||
}
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
package stirling.software.proprietary.policy.s3;
|
||||
|
||||
import static org.mockito.Mockito.mock;
|
||||
|
||||
import stirling.software.proprietary.access.service.OwnershipService;
|
||||
import stirling.software.proprietary.integration.repository.IntegrationConfigRepository;
|
||||
import stirling.software.proprietary.security.service.UserService;
|
||||
|
||||
/** Test fixtures for S3 connection plumbing shared across the policy S3 tests. */
|
||||
public final class S3TestConnections {
|
||||
|
||||
private S3TestConnections() {}
|
||||
|
||||
/**
|
||||
* A resolver for tests whose options embed credentials directly (the legacy pass-through path),
|
||||
* so its collaborators are never touched.
|
||||
*/
|
||||
public static S3ConnectionResolver legacyResolver() {
|
||||
return new S3ConnectionResolver(
|
||||
mock(IntegrationConfigRepository.class),
|
||||
mock(OwnershipService.class),
|
||||
mock(UserService.class));
|
||||
}
|
||||
}
|
||||
@@ -36,7 +36,6 @@ import jakarta.servlet.http.HttpServletResponse;
|
||||
import stirling.software.common.model.ApplicationProperties;
|
||||
import stirling.software.common.service.CustomPDFDocumentFactory;
|
||||
import stirling.software.common.service.InternalApiClient;
|
||||
import stirling.software.proprietary.audit.AuditContext;
|
||||
import stirling.software.proprietary.audit.AuditEventType;
|
||||
import stirling.software.proprietary.audit.AuditLevel;
|
||||
import stirling.software.proprietary.audit.Audited;
|
||||
@@ -719,57 +718,6 @@ class AuditServiceTest {
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@DisplayName("addAutomationContext")
|
||||
class AddAutomationContext {
|
||||
|
||||
@Test
|
||||
@DisplayName("caps and strips newlines from a spoofable policy-name header")
|
||||
void capsPolicyNameHeader() {
|
||||
MockHttpServletRequest req =
|
||||
new MockHttpServletRequest("POST", "/api/v1/misc/compress-pdf");
|
||||
req.addHeader(InternalApiClient.POLICY_NAME_HEADER, "evil\r\nname" + "x".repeat(500));
|
||||
Map<String, Object> data = new HashMap<>();
|
||||
|
||||
service.addAutomationContext(data, req);
|
||||
|
||||
String stored = (String) data.get("policyName");
|
||||
assertThat(stored).hasSize(200);
|
||||
assertThat(stored).doesNotContain("\r").doesNotContain("\n");
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("caps the number of persisted policy steps")
|
||||
void capsPolicySteps() {
|
||||
MockHttpServletRequest req = new MockHttpServletRequest("POST", "/api/v1/policies/run");
|
||||
req.setAttribute(
|
||||
AuditContext.REQ_ATTR_POLICY_STEPS,
|
||||
java.util.stream.IntStream.range(0, 100)
|
||||
.mapToObj(i -> "/api/v1/misc/step-" + i)
|
||||
.toList());
|
||||
Map<String, Object> data = new HashMap<>();
|
||||
|
||||
service.addAutomationContext(data, req);
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
java.util.List<String> stored = (java.util.List<String>) data.get("policySteps");
|
||||
assertThat(stored).hasSize(50);
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("marks automation from the header")
|
||||
void marksAutomationHeader() {
|
||||
MockHttpServletRequest req =
|
||||
new MockHttpServletRequest("POST", "/api/v1/misc/compress-pdf");
|
||||
req.addHeader(InternalApiClient.AUTOMATION_HEADER, "true");
|
||||
Map<String, Object> data = new HashMap<>();
|
||||
|
||||
service.addAutomationContext(data, req);
|
||||
|
||||
assertThat(data).containsEntry("automation", Boolean.TRUE);
|
||||
}
|
||||
}
|
||||
|
||||
// ===== helpers =====
|
||||
|
||||
private ProceedingJoinPoint joinPoint() {
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
package stirling.software.proprietary.service;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.mockito.ArgumentMatchers.any;
|
||||
import static org.mockito.ArgumentMatchers.anyList;
|
||||
import static org.mockito.Mockito.never;
|
||||
import static org.mockito.Mockito.verify;
|
||||
import static org.mockito.Mockito.when;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
import org.mockito.ArgumentCaptor;
|
||||
import org.mockito.InjectMocks;
|
||||
import org.mockito.Mock;
|
||||
import org.mockito.junit.jupiter.MockitoExtension;
|
||||
import org.springframework.data.domain.Page;
|
||||
import org.springframework.data.domain.PageImpl;
|
||||
import org.springframework.data.domain.Pageable;
|
||||
|
||||
import stirling.software.proprietary.model.security.PersistentAuditEvent;
|
||||
import stirling.software.proprietary.repository.PersistentAuditEventRepository;
|
||||
|
||||
/**
|
||||
* The scan must drop read/polling noise (UI_DATA/HTTP_REQUEST) at the query level. Otherwise a busy
|
||||
* scope's recent rows fill with noise and the visible audit list shrinks as traffic grows.
|
||||
*/
|
||||
@ExtendWith(MockitoExtension.class)
|
||||
class PortalAuditReadServiceTest {
|
||||
|
||||
@Mock private PersistentAuditEventRepository repo;
|
||||
|
||||
@InjectMocks private PortalAuditReadService service;
|
||||
|
||||
private static Page<PersistentAuditEvent> emptyPage() {
|
||||
return new PageImpl<>(List.of());
|
||||
}
|
||||
|
||||
@Test
|
||||
void serverScanExcludesReadNoiseAndNeverPullsEverything() {
|
||||
when(repo.findByTypeNotIn(anyList(), any(Pageable.class))).thenReturn(emptyPage());
|
||||
|
||||
service.serverEvents();
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
ArgumentCaptor<List<String>> excluded = ArgumentCaptor.forClass(List.class);
|
||||
verify(repo).findByTypeNotIn(excluded.capture(), any(Pageable.class));
|
||||
assertThat(excluded.getValue()).contains("UI_DATA", "HTTP_REQUEST");
|
||||
verify(repo, never()).findAll(any(Pageable.class));
|
||||
}
|
||||
|
||||
@Test
|
||||
void teamScanExcludesReadNoiseForTheTeamPrincipals() {
|
||||
when(repo.findByTypeNotInAndPrincipalIn(anyList(), anyList(), any(Pageable.class)))
|
||||
.thenReturn(emptyPage());
|
||||
|
||||
service.scopedEvents("team:1", List.of("a@acme.com", "b@acme.com"));
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
ArgumentCaptor<List<String>> excluded = ArgumentCaptor.forClass(List.class);
|
||||
verify(repo)
|
||||
.findByTypeNotInAndPrincipalIn(excluded.capture(), anyList(), any(Pageable.class));
|
||||
assertThat(excluded.getValue()).contains("UI_DATA", "HTTP_REQUEST");
|
||||
}
|
||||
|
||||
@Test
|
||||
void emptyTeamPrincipalsShortCircuitToNoQuery() {
|
||||
assertThat(service.scopedEvents("team:1", List.of())).isEmpty();
|
||||
verify(repo, never())
|
||||
.findByTypeNotInAndPrincipalIn(anyList(), anyList(), any(Pageable.class));
|
||||
}
|
||||
}
|
||||
@@ -1,73 +0,0 @@
|
||||
package stirling.software.proprietary.service;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.mockito.Mockito.when;
|
||||
|
||||
import java.time.Instant;
|
||||
import java.util.List;
|
||||
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
import org.mockito.Mock;
|
||||
import org.mockito.junit.jupiter.MockitoExtension;
|
||||
|
||||
import stirling.software.proprietary.audit.AuditEventType;
|
||||
import stirling.software.proprietary.audit.PortalAuditEventRow;
|
||||
import stirling.software.proprietary.model.api.documents.PortalReviewDocumentDto;
|
||||
|
||||
import tools.jackson.databind.json.JsonMapper;
|
||||
|
||||
/**
|
||||
* The Documents feed showed a policy run's internal steps as ordinary "API" traffic. They should
|
||||
* read as automation so a policy run isn't confused with a customer's own API integration.
|
||||
*/
|
||||
@ExtendWith(MockitoExtension.class)
|
||||
class PortalDocumentsServiceTest {
|
||||
|
||||
@Mock private PortalAuditReadService auditReadService;
|
||||
|
||||
private PortalDocumentsService service;
|
||||
|
||||
@BeforeEach
|
||||
void setUp() {
|
||||
service = new PortalDocumentsService(auditReadService, JsonMapper.builder().build());
|
||||
}
|
||||
|
||||
private static PortalAuditEventRow row(long id, String data) {
|
||||
return new PortalAuditEventRow(
|
||||
id, "con.yoh13@gmail.com", AuditEventType.PDF_PROCESS.name(), data, Instant.now());
|
||||
}
|
||||
|
||||
private PortalReviewDocumentDto onlyDoc(String data) {
|
||||
when(auditReadService.serverEvents()).thenReturn(List.of(row(1L, data)));
|
||||
return service.serverDocuments().getDocuments().get(0);
|
||||
}
|
||||
|
||||
@Test
|
||||
void policyStepDocumentIsLabelledAutomation() {
|
||||
PortalReviewDocumentDto doc =
|
||||
onlyDoc(
|
||||
"{\"path\":\"/api/v1/security/auto-redact\",\"automation\":true,"
|
||||
+ "\"__origin\":\"API\",\"files\":[{\"name\":\"mushroom life.pdf\","
|
||||
+ "\"type\":\"application/pdf\"}],\"statusCode\":200}");
|
||||
|
||||
assertThat(doc.getName()).isEqualTo("mushroom life.pdf");
|
||||
assertThat(doc.getAction()).isEqualTo("Auto Redact");
|
||||
// Was product "API" (loopback used the API key); now clearly a policy automation step.
|
||||
assertThat(doc.getProduct()).isEqualTo("Automation");
|
||||
assertThat(doc.getSource()).isEqualTo("Policy automation");
|
||||
}
|
||||
|
||||
@Test
|
||||
void directApiDocumentStaysApi() {
|
||||
PortalReviewDocumentDto doc =
|
||||
onlyDoc(
|
||||
"{\"path\":\"/api/v1/misc/compress-pdf\",\"__origin\":\"API\","
|
||||
+ "\"files\":[{\"name\":\"a.pdf\",\"type\":\"application/pdf\"}],"
|
||||
+ "\"statusCode\":200}");
|
||||
|
||||
assertThat(doc.getProduct()).isEqualTo("API");
|
||||
assertThat(doc.getSource()).isEqualTo("API integration");
|
||||
}
|
||||
}
|
||||
@@ -1,149 +0,0 @@
|
||||
package stirling.software.proprietary.service;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.mockito.Mockito.when;
|
||||
|
||||
import java.time.Instant;
|
||||
import java.util.List;
|
||||
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
import org.mockito.Mock;
|
||||
import org.mockito.junit.jupiter.MockitoExtension;
|
||||
|
||||
import stirling.software.proprietary.audit.AuditEventType;
|
||||
import stirling.software.proprietary.audit.PortalAuditEventRow;
|
||||
import stirling.software.proprietary.model.api.audit.InfraAuditEventDto;
|
||||
|
||||
import tools.jackson.databind.json.JsonMapper;
|
||||
|
||||
/**
|
||||
* The Infrastructure → Audit tab reproduces the reported bug: a policy run showed as a bare "Run"
|
||||
* row plus a separate "Auto Redact" row with no hint either belonged to a policy.
|
||||
*/
|
||||
@ExtendWith(MockitoExtension.class)
|
||||
class PortalInfraAuditServiceTest {
|
||||
|
||||
@Mock private PortalAuditReadService auditReadService;
|
||||
|
||||
private PortalInfraAuditService service;
|
||||
|
||||
@BeforeEach
|
||||
void setUp() {
|
||||
service = new PortalInfraAuditService(auditReadService, JsonMapper.builder().build());
|
||||
}
|
||||
|
||||
private static PortalAuditEventRow row(long id, String data) {
|
||||
return new PortalAuditEventRow(
|
||||
id,
|
||||
"con.yoh13@gmail.com",
|
||||
AuditEventType.PDF_PROCESS.name(),
|
||||
data,
|
||||
Instant.parse("2026-07-09T10:18:24Z"));
|
||||
}
|
||||
|
||||
private InfraAuditEventDto onlyEvent(String data) {
|
||||
when(auditReadService.serverEvents()).thenReturn(List.of(row(1L, data)));
|
||||
return service.serverAuditLog().getEvents().get(0);
|
||||
}
|
||||
|
||||
@Test
|
||||
void policyDispatchShowsPolicyNameAndTheToolsItRuns() {
|
||||
String data =
|
||||
"{\"path\":\"/api/v1/policies/run\",\"policyName\":\"Redaction\","
|
||||
+ "\"policySteps\":[\"/api/v1/security/auto-redact\","
|
||||
+ "\"/api/v1/misc/compress-pdf\"],\"statusCode\":202,"
|
||||
+ "\"latencyMs\":5}";
|
||||
when(auditReadService.serverEvents()).thenReturn(List.of(row(1L, data)));
|
||||
|
||||
var resp = service.serverAuditLog();
|
||||
InfraAuditEventDto e = resp.getEvents().get(0);
|
||||
|
||||
// Was "Run" / "Run" under "processing"; now names the policy, lists what it ran, and
|
||||
// badges as its own "policy" category with its own summary count.
|
||||
assertThat(e.getAction()).isEqualTo("Redaction");
|
||||
assertThat(e.getCategory()).isEqualTo("policy");
|
||||
assertThat(e.getTarget()).isEqualTo("Auto Redact, Compress PDF");
|
||||
assertThat(resp.getSummary().getPolicy()).isEqualTo(1);
|
||||
}
|
||||
|
||||
@Test
|
||||
void internalPipelineStepIsFlaggedAsAutomation() {
|
||||
InfraAuditEventDto e =
|
||||
onlyEvent(
|
||||
"{\"path\":\"/api/v1/security/auto-redact\",\"automation\":true,"
|
||||
+ "\"files\":[{\"name\":\"mushroom life.pdf\"}],"
|
||||
+ "\"statusCode\":200,\"latencyMs\":300}");
|
||||
|
||||
// Was a bare "Auto Redact" indistinguishable from a direct user action.
|
||||
assertThat(e.getAction()).isEqualTo("Auto Redact (automation)");
|
||||
assertThat(e.getCategory()).isEqualTo("security");
|
||||
assertThat(e.getTarget()).isEqualTo("mushroom life.pdf");
|
||||
}
|
||||
|
||||
@Test
|
||||
void internalStepCarryingItsPolicyNameLinksBackToThePolicy() {
|
||||
InfraAuditEventDto e =
|
||||
onlyEvent(
|
||||
"{\"path\":\"/api/v1/security/auto-redact\",\"automation\":true,"
|
||||
+ "\"policyName\":\"Redaction demo\",\"files\":[{\"name\":"
|
||||
+ "\"demo.pdf\"}],\"statusCode\":200}");
|
||||
|
||||
// The forwarded policy name makes the step's origin unmistakable.
|
||||
assertThat(e.getAction()).isEqualTo("Auto Redact (policy: Redaction demo)");
|
||||
assertThat(e.getCategory()).isEqualTo("security");
|
||||
assertThat(e.getTarget()).isEqualTo("demo.pdf");
|
||||
}
|
||||
|
||||
@Test
|
||||
void adHocRunWithoutNameStillReadsAsPolicyRun() {
|
||||
InfraAuditEventDto e =
|
||||
onlyEvent(
|
||||
"{\"path\":\"/api/v1/policies/run/stream\",\"statusCode\":200,"
|
||||
+ "\"latencyMs\":4}");
|
||||
|
||||
assertThat(e.getAction()).isEqualTo("Policy run");
|
||||
assertThat(e.getTarget()).isEqualTo("Pipeline");
|
||||
}
|
||||
|
||||
@Test
|
||||
void directToolRunIsUnchanged() {
|
||||
InfraAuditEventDto e =
|
||||
onlyEvent(
|
||||
"{\"path\":\"/api/v1/misc/compress-pdf\","
|
||||
+ "\"files\":[{\"name\":\"a.pdf\"}],\"statusCode\":200,"
|
||||
+ "\"latencyMs\":100}");
|
||||
|
||||
assertThat(e.getAction()).isEqualTo("Compress PDF");
|
||||
assertThat(e.getCategory()).isEqualTo("processing");
|
||||
assertThat(e.getTarget()).isEqualTo("a.pdf");
|
||||
}
|
||||
|
||||
/**
|
||||
* A spoofed X-Stirling-Policy-Name header lands in audit data as policyName on a direct tool
|
||||
* call (no automation marker, non-run path). It must NOT flip the row into a "policy" dispatch
|
||||
* that overwrites the real action and hides the affected file - only a real /policies/.../run
|
||||
* URI does that.
|
||||
*/
|
||||
@Test
|
||||
void forgedPolicyNameOnDirectCallCannotMaskTheRealAction() {
|
||||
when(auditReadService.serverEvents())
|
||||
.thenReturn(
|
||||
List.of(
|
||||
row(
|
||||
1L,
|
||||
"{\"path\":\"/api/v1/security/remove-password\","
|
||||
+ "\"policyName\":\"Daily cleanup\",\"files\":"
|
||||
+ "[{\"name\":\"secret.pdf\"}],\"statusCode\":200}")));
|
||||
|
||||
var resp = service.serverAuditLog();
|
||||
InfraAuditEventDto e = resp.getEvents().get(0);
|
||||
|
||||
// Real op and file stay visible; the forged name does not become the action or category.
|
||||
assertThat(e.getAction()).isEqualTo("Remove Password");
|
||||
assertThat(e.getCategory()).isEqualTo("security");
|
||||
assertThat(e.getTarget()).isEqualTo("secret.pdf");
|
||||
assertThat(resp.getSummary().getPolicy()).isEqualTo(0);
|
||||
}
|
||||
}
|
||||
@@ -87,9 +87,13 @@ public class WalletLedgerEntry implements Serializable {
|
||||
private Integer docCount = 1;
|
||||
|
||||
/**
|
||||
* SHA-256 of this entry's input file set; {@code COUNT(DISTINCT ...)} over a period gives
|
||||
* unique PDFs processed. {@code null} for aggregate/system entries (grants, linked-instance
|
||||
* sync) that don't map to a single document set.
|
||||
* SHA-256 of this entry's input file <em>set</em> (the charge's whole input list, sorted).
|
||||
* {@code COUNT(DISTINCT ...)} over a period approximates unique PDFs processed. Exact within a
|
||||
* run (a file's chain/split steps share the run's charge, so one fingerprint), and for the
|
||||
* single-input common case; but the <em>same</em> file reused across different groupings — e.g.
|
||||
* standalone, then later merged as {A,B} — yields different set-fingerprints and is counted
|
||||
* once per grouping. {@code null} for aggregate/system entries (grants, linked-instance sync)
|
||||
* that don't map to a single document set.
|
||||
*/
|
||||
@Column(name = "document_fingerprint", length = 64)
|
||||
private String documentFingerprint;
|
||||
|
||||
@@ -91,7 +91,7 @@ springBoot {
|
||||
|
||||
allprojects {
|
||||
group = 'stirling.software'
|
||||
version = '2.14.2'
|
||||
version = '2.14.1'
|
||||
|
||||
configurations.configureEach {
|
||||
exclude group: "org.springframework.boot", module: "spring-boot-starter-tomcat"
|
||||
|
||||
@@ -15,10 +15,6 @@ from stirling.documents.store import Document, DocumentStore, SearchResult, Stor
|
||||
from stirling.models import OwnerId, PrincipalId
|
||||
|
||||
_READ_PERMISSION = "read"
|
||||
# SQLite defaults to failing immediately (busy_timeout=0) when it can't grab the
|
||||
# write lock. With multiple worker processes opening the same file, they collide on
|
||||
# startup schema-init and get "database is locked". Wait for the lock instead.
|
||||
_BUSY_TIMEOUT_MS = 5000
|
||||
# sqlite stores TIMESTAMP as TEXT. We normalise to UTC ISO 8601 ``YYYY-MM-DD HH:MM:SS``
|
||||
# so lexicographic comparison against ``datetime('now')`` matches chronological order.
|
||||
_SQLITE_DATETIME_FMT = "%Y-%m-%d %H:%M:%S"
|
||||
@@ -56,8 +52,6 @@ class SqliteVecStore(DocumentStore):
|
||||
# Required so cascade deletes from documents_meta clean up child tables.
|
||||
conn.execute("PRAGMA foreign_keys=ON")
|
||||
if self._db_path is not None:
|
||||
# Set before the WAL switch below: that pragma also takes the lock.
|
||||
conn.execute(f"PRAGMA busy_timeout={_BUSY_TIMEOUT_MS}")
|
||||
conn.execute("PRAGMA journal_mode=WAL")
|
||||
|
||||
self._conn = conn
|
||||
|
||||
@@ -5980,6 +5980,16 @@ statDocsEnforced = "Docs enforced"
|
||||
statusActive = "Active"
|
||||
statusPaused = "Paused"
|
||||
|
||||
[policies.docType]
|
||||
Contracts = "العقود"
|
||||
"Financial reports" = "التقارير المالية"
|
||||
"HR records" = "سجلات الموارد البشرية"
|
||||
Insurance = "التأمين"
|
||||
Invoices = "الفواتير"
|
||||
"Legal filings" = "الإيداعات القانونية"
|
||||
"Medical / PHI" = "طبي / PHI"
|
||||
"Tax documents" = "المستندات الضريبية"
|
||||
|
||||
[policies.enforcement]
|
||||
applying = "جارٍ تطبيق {{names}}"
|
||||
applyingProgress = "جارٍ تطبيق {{names}} ({{done}} من {{total}})"
|
||||
@@ -6015,6 +6025,51 @@ notify = "إشعار عند التوجيه"
|
||||
onViolation = "عند عدم الامتثال"
|
||||
webhookUrl = "Webhook URL"
|
||||
|
||||
[policies.fieldOption.archiveAfter]
|
||||
"1 year" = "سنة واحدة"
|
||||
"30 days" = "30 يومًا"
|
||||
"90 days" = "90 يومًا"
|
||||
Never = "أبدًا"
|
||||
|
||||
[policies.fieldOption.belowThreshold]
|
||||
"Flag for review" = "وضع علامة للمراجعة"
|
||||
Hold = "احتجاز"
|
||||
"Route to bucket" = "توجيه إلى bucket"
|
||||
|
||||
[policies.fieldOption.destination]
|
||||
Documents = "المستندات"
|
||||
"S3 bucket" = "S3 bucket"
|
||||
SharePoint = "SharePoint"
|
||||
Webhook = "Webhook"
|
||||
|
||||
[policies.fieldOption.frameworks]
|
||||
FedRAMP = "FedRAMP"
|
||||
GDPR = "GDPR"
|
||||
HIPAA = "HIPAA"
|
||||
"ISO 27001" = "ISO 27001"
|
||||
"PCI DSS" = "PCI DSS"
|
||||
"SOC 2" = "SOC 2"
|
||||
|
||||
[policies.fieldOption.keepFor]
|
||||
"1 year" = "سنة واحدة"
|
||||
"3 years" = "3 سنوات"
|
||||
"30 days" = "30 يومًا"
|
||||
"7 years" = "7 سنوات"
|
||||
Indefinite = "إلى أجل غير مسمى"
|
||||
|
||||
[policies.fieldOption.minConfidence]
|
||||
"60%" = "60%"
|
||||
"70%" = "70%"
|
||||
"80%" = "80%"
|
||||
"90%" = "90%"
|
||||
"95%" = "95%"
|
||||
|
||||
[policies.fieldOption.onViolation]
|
||||
"Auto-redact PHI" = "تنقيح PHI تلقائيًا"
|
||||
"Block export" = "حظر التصدير"
|
||||
"Flag for review" = "وضع علامة للمراجعة"
|
||||
"Quarantine document" = "عزل المستند"
|
||||
|
||||
[policies.fields]
|
||||
selectedCount = "{{count}} selected"
|
||||
|
||||
@@ -6148,44 +6203,6 @@ dismiss = "إغلاق التراكب"
|
||||
enforcingTitle = "جارٍ فرض السياسة..."
|
||||
viewAnyway = "عرض الملف (لا تزال السياسة قيد الفرض)"
|
||||
|
||||
[policyOption]
|
||||
autoRedactPhi = "تنقيح PHI تلقائيًا"
|
||||
blockExport = "حظر التصدير"
|
||||
contracts = "العقود"
|
||||
documents = "المستندات"
|
||||
fedramp = "FedRAMP"
|
||||
financialReports = "التقارير المالية"
|
||||
flagForReview = "وضع علامة للمراجعة"
|
||||
gdpr = "GDPR"
|
||||
hipaa = "HIPAA"
|
||||
hold = "احتجاز"
|
||||
hrRecords = "سجلات الموارد البشرية"
|
||||
indefinite = "إلى أجل غير مسمى"
|
||||
insurance = "التأمين"
|
||||
invoices = "الفواتير"
|
||||
iso27001 = "ISO 27001"
|
||||
legalFilings = "الإيداعات القانونية"
|
||||
medicalPhi = "طبي / PHI"
|
||||
never = "أبدًا"
|
||||
ninetyDays = "90 يومًا"
|
||||
oneYear = "سنة واحدة"
|
||||
p60 = "60%"
|
||||
p70 = "70%"
|
||||
p80 = "80%"
|
||||
p90 = "90%"
|
||||
p95 = "95%"
|
||||
pciDss = "PCI DSS"
|
||||
quarantineDocument = "عزل المستند"
|
||||
routeToBucket = "توجيه إلى bucket"
|
||||
s3Bucket = "S3 bucket"
|
||||
sevenYears = "7 سنوات"
|
||||
sharePoint = "SharePoint"
|
||||
soc2 = "SOC 2"
|
||||
taxDocuments = "المستندات الضريبية"
|
||||
thirtyDays = "30 يومًا"
|
||||
threeYears = "3 سنوات"
|
||||
webhook = "Webhook"
|
||||
|
||||
[portal]
|
||||
comingSoon = "قريبًا"
|
||||
|
||||
@@ -8050,6 +8067,10 @@ title = "انتهت صلاحية الجلسة"
|
||||
[portal.users]
|
||||
title = "المستخدمون"
|
||||
|
||||
[portal.users.roles]
|
||||
subtitle = "كل دور موجود في كل خطة — وما يمكن لكل دور فعله ثابت عبر المؤسسة."
|
||||
title = "الأدوار"
|
||||
|
||||
[portal.users.roles.admin]
|
||||
label = "المسؤول (مالك المؤسسة)"
|
||||
summary = "حوكمة كاملة على مساحة العمل والإعدادات والأعضاء."
|
||||
|
||||
@@ -5980,6 +5980,16 @@ statDocsEnforced = "Docs enforced"
|
||||
statusActive = "Active"
|
||||
statusPaused = "Paused"
|
||||
|
||||
[policies.docType]
|
||||
Contracts = "Müqavilələr"
|
||||
"Financial reports" = "Maliyyə hesabatları"
|
||||
"HR records" = "HR qeydləri"
|
||||
Insurance = "Sığorta"
|
||||
Invoices = "Fakturalar"
|
||||
"Legal filings" = "Hüquqi sənədlər"
|
||||
"Medical / PHI" = "Tibbi / PHI"
|
||||
"Tax documents" = "Vergi sənədləri"
|
||||
|
||||
[policies.enforcement]
|
||||
applying = "{{names}} tətbiq edilir"
|
||||
applyingProgress = "{{names}} tətbiq edilir ({{done}}/{{total}})"
|
||||
@@ -6015,6 +6025,51 @@ notify = "Yönləndirmədə bildir"
|
||||
onViolation = "Uyğunsuzluq olduqda"
|
||||
webhookUrl = "Webhook URL"
|
||||
|
||||
[policies.fieldOption.archiveAfter]
|
||||
"1 year" = "1 il"
|
||||
"30 days" = "30 gün"
|
||||
"90 days" = "90 gün"
|
||||
Never = "Heç vaxt"
|
||||
|
||||
[policies.fieldOption.belowThreshold]
|
||||
"Flag for review" = "Baxış üçün işarələ"
|
||||
Hold = "Saxla"
|
||||
"Route to bucket" = "Bucket-ə yönləndir"
|
||||
|
||||
[policies.fieldOption.destination]
|
||||
Documents = "Sənədlər"
|
||||
"S3 bucket" = "S3 bucket"
|
||||
SharePoint = "SharePoint"
|
||||
Webhook = "Webhook"
|
||||
|
||||
[policies.fieldOption.frameworks]
|
||||
FedRAMP = "FedRAMP"
|
||||
GDPR = "GDPR"
|
||||
HIPAA = "HIPAA"
|
||||
"ISO 27001" = "ISO 27001"
|
||||
"PCI DSS" = "PCI DSS"
|
||||
"SOC 2" = "SOC 2"
|
||||
|
||||
[policies.fieldOption.keepFor]
|
||||
"1 year" = "1 il"
|
||||
"3 years" = "3 il"
|
||||
"30 days" = "30 gün"
|
||||
"7 years" = "7 il"
|
||||
Indefinite = "Qeyri-müəyyən"
|
||||
|
||||
[policies.fieldOption.minConfidence]
|
||||
"60%" = "60%"
|
||||
"70%" = "70%"
|
||||
"80%" = "80%"
|
||||
"90%" = "90%"
|
||||
"95%" = "95%"
|
||||
|
||||
[policies.fieldOption.onViolation]
|
||||
"Auto-redact PHI" = "PHI-ni avtomatik redaktə et"
|
||||
"Block export" = "Eksportu blokla"
|
||||
"Flag for review" = "Baxış üçün işarələ"
|
||||
"Quarantine document" = "Sənədi karantinə al"
|
||||
|
||||
[policies.fields]
|
||||
selectedCount = "{{count}} selected"
|
||||
|
||||
@@ -6148,44 +6203,6 @@ dismiss = "Örtüyü bağla"
|
||||
enforcingTitle = "Siyasət tətbiq edilir..."
|
||||
viewAnyway = "Faylı göstər (siyasət hələ tətbiq edilir)"
|
||||
|
||||
[policyOption]
|
||||
autoRedactPhi = "PHI-ni avtomatik redaktə et"
|
||||
blockExport = "Eksportu blokla"
|
||||
contracts = "Müqavilələr"
|
||||
documents = "Sənədlər"
|
||||
fedramp = "FedRAMP"
|
||||
financialReports = "Maliyyə hesabatları"
|
||||
flagForReview = "Baxış üçün işarələ"
|
||||
gdpr = "GDPR"
|
||||
hipaa = "HIPAA"
|
||||
hold = "Saxla"
|
||||
hrRecords = "HR qeydləri"
|
||||
indefinite = "Qeyri-müəyyən"
|
||||
insurance = "Sığorta"
|
||||
invoices = "Fakturalar"
|
||||
iso27001 = "ISO 27001"
|
||||
legalFilings = "Hüquqi sənədlər"
|
||||
medicalPhi = "Tibbi / PHI"
|
||||
never = "Heç vaxt"
|
||||
ninetyDays = "90 gün"
|
||||
oneYear = "1 il"
|
||||
p60 = "60%"
|
||||
p70 = "70%"
|
||||
p80 = "80%"
|
||||
p90 = "90%"
|
||||
p95 = "95%"
|
||||
pciDss = "PCI DSS"
|
||||
quarantineDocument = "Sənədi karantinə al"
|
||||
routeToBucket = "Bucket-ə yönləndir"
|
||||
s3Bucket = "S3 bucket"
|
||||
sevenYears = "7 il"
|
||||
sharePoint = "SharePoint"
|
||||
soc2 = "SOC 2"
|
||||
taxDocuments = "Vergi sənədləri"
|
||||
thirtyDays = "30 gün"
|
||||
threeYears = "3 il"
|
||||
webhook = "Webhook"
|
||||
|
||||
[portal]
|
||||
comingSoon = "Tezliklə"
|
||||
|
||||
@@ -8050,6 +8067,10 @@ title = "Sessiyanın müddəti bitib"
|
||||
[portal.users]
|
||||
title = "İstifadəçilər"
|
||||
|
||||
[portal.users.roles]
|
||||
subtitle = "Hər rol hər planda mövcuddur — hər birinin nə edə biləcəyi təşkilat üzrə sabitdir."
|
||||
title = "Rollar"
|
||||
|
||||
[portal.users.roles.admin]
|
||||
label = "Admin (Təşkilat sahibi)"
|
||||
summary = "İş sahəsi, parametrlər və üzvlər üzərində tam idarəetmə."
|
||||
|
||||
@@ -5980,6 +5980,16 @@ statDocsEnforced = "Docs enforced"
|
||||
statusActive = "Active"
|
||||
statusPaused = "Paused"
|
||||
|
||||
[policies.docType]
|
||||
Contracts = "Договори"
|
||||
"Financial reports" = "Финансови отчети"
|
||||
"HR records" = "HR записи"
|
||||
Insurance = "Застраховане"
|
||||
Invoices = "Фактури"
|
||||
"Legal filings" = "Правни документи"
|
||||
"Medical / PHI" = "Медицински / PHI"
|
||||
"Tax documents" = "Данъчни документи"
|
||||
|
||||
[policies.enforcement]
|
||||
applying = "Прилагане на {{names}}"
|
||||
applyingProgress = "Прилагане на {{names}} ({{done}} от {{total}})"
|
||||
@@ -6015,6 +6025,51 @@ notify = "Уведоми при маршрутизиране"
|
||||
onViolation = "При несъответствие"
|
||||
webhookUrl = "Webhook URL"
|
||||
|
||||
[policies.fieldOption.archiveAfter]
|
||||
"1 year" = "1 година"
|
||||
"30 days" = "30 дни"
|
||||
"90 days" = "90 дни"
|
||||
Never = "Никога"
|
||||
|
||||
[policies.fieldOption.belowThreshold]
|
||||
"Flag for review" = "Маркирай за преглед"
|
||||
Hold = "Задръж"
|
||||
"Route to bucket" = "Насочи към bucket"
|
||||
|
||||
[policies.fieldOption.destination]
|
||||
Documents = "Документи"
|
||||
"S3 bucket" = "S3 bucket"
|
||||
SharePoint = "SharePoint"
|
||||
Webhook = "Webhook"
|
||||
|
||||
[policies.fieldOption.frameworks]
|
||||
FedRAMP = "FedRAMP"
|
||||
GDPR = "GDPR"
|
||||
HIPAA = "HIPAA"
|
||||
"ISO 27001" = "ISO 27001"
|
||||
"PCI DSS" = "PCI DSS"
|
||||
"SOC 2" = "SOC 2"
|
||||
|
||||
[policies.fieldOption.keepFor]
|
||||
"1 year" = "1 година"
|
||||
"3 years" = "3 години"
|
||||
"30 days" = "30 дни"
|
||||
"7 years" = "7 години"
|
||||
Indefinite = "Безсрочно"
|
||||
|
||||
[policies.fieldOption.minConfidence]
|
||||
"60%" = "60%"
|
||||
"70%" = "70%"
|
||||
"80%" = "80%"
|
||||
"90%" = "90%"
|
||||
"95%" = "95%"
|
||||
|
||||
[policies.fieldOption.onViolation]
|
||||
"Auto-redact PHI" = "Автоматично заличаване на PHI"
|
||||
"Block export" = "Блокирай експортирането"
|
||||
"Flag for review" = "Маркирай за преглед"
|
||||
"Quarantine document" = "Постави документа под карантина"
|
||||
|
||||
[policies.fields]
|
||||
selectedCount = "{{count}} selected"
|
||||
|
||||
@@ -6148,44 +6203,6 @@ dismiss = "Скрий наслагването"
|
||||
enforcingTitle = "Прилагане на политика..."
|
||||
viewAnyway = "Виж файла (политиката все още се прилага)"
|
||||
|
||||
[policyOption]
|
||||
autoRedactPhi = "Автоматично заличаване на PHI"
|
||||
blockExport = "Блокирай експортирането"
|
||||
contracts = "Договори"
|
||||
documents = "Документи"
|
||||
fedramp = "FedRAMP"
|
||||
financialReports = "Финансови отчети"
|
||||
flagForReview = "Маркирай за преглед"
|
||||
gdpr = "GDPR"
|
||||
hipaa = "HIPAA"
|
||||
hold = "Задръж"
|
||||
hrRecords = "HR записи"
|
||||
indefinite = "Безсрочно"
|
||||
insurance = "Застраховане"
|
||||
invoices = "Фактури"
|
||||
iso27001 = "ISO 27001"
|
||||
legalFilings = "Правни документи"
|
||||
medicalPhi = "Медицински / PHI"
|
||||
never = "Никога"
|
||||
ninetyDays = "90 дни"
|
||||
oneYear = "1 година"
|
||||
p60 = "60%"
|
||||
p70 = "70%"
|
||||
p80 = "80%"
|
||||
p90 = "90%"
|
||||
p95 = "95%"
|
||||
pciDss = "PCI DSS"
|
||||
quarantineDocument = "Постави документа под карантина"
|
||||
routeToBucket = "Насочи към bucket"
|
||||
s3Bucket = "S3 bucket"
|
||||
sevenYears = "7 години"
|
||||
sharePoint = "SharePoint"
|
||||
soc2 = "SOC 2"
|
||||
taxDocuments = "Данъчни документи"
|
||||
thirtyDays = "30 дни"
|
||||
threeYears = "3 години"
|
||||
webhook = "Webhook"
|
||||
|
||||
[portal]
|
||||
comingSoon = "Очаквайте скоро"
|
||||
|
||||
@@ -8050,6 +8067,10 @@ title = "Сесията е изтекла"
|
||||
[portal.users]
|
||||
title = "Потребители"
|
||||
|
||||
[portal.users.roles]
|
||||
subtitle = "Всяка роля съществува във всеки план — това, което всяка може да прави, е фиксирано за цялата организация."
|
||||
title = "Роли"
|
||||
|
||||
[portal.users.roles.admin]
|
||||
label = "Администратор (собственик на организация)"
|
||||
summary = "Пълно управление на работното пространство, настройките и членовете."
|
||||
|
||||
@@ -5980,6 +5980,16 @@ statDocsEnforced = "Docs enforced"
|
||||
statusActive = "Active"
|
||||
statusPaused = "Paused"
|
||||
|
||||
[policies.docType]
|
||||
Contracts = "Contractes"
|
||||
"Financial reports" = "Informes financers"
|
||||
"HR records" = "Registres de RR. HH."
|
||||
Insurance = "Assegurances"
|
||||
Invoices = "Factures"
|
||||
"Legal filings" = "Presentacions legals"
|
||||
"Medical / PHI" = "Mèdic / PHI"
|
||||
"Tax documents" = "Documents fiscals"
|
||||
|
||||
[policies.enforcement]
|
||||
applying = "Aplicant {{names}}"
|
||||
applyingProgress = "Aplicant {{names}} ({{done}} de {{total}})"
|
||||
@@ -6015,6 +6025,51 @@ notify = "Notifica en encaminar"
|
||||
onViolation = "Quan no compleix"
|
||||
webhookUrl = "URL del webhook"
|
||||
|
||||
[policies.fieldOption.archiveAfter]
|
||||
"1 year" = "1 any"
|
||||
"30 days" = "30 dies"
|
||||
"90 days" = "90 dies"
|
||||
Never = "Mai"
|
||||
|
||||
[policies.fieldOption.belowThreshold]
|
||||
"Flag for review" = "Marca per revisar"
|
||||
Hold = "Retén"
|
||||
"Route to bucket" = "Encamina al bucket"
|
||||
|
||||
[policies.fieldOption.destination]
|
||||
Documents = "Documents"
|
||||
"S3 bucket" = "bucket S3"
|
||||
SharePoint = "SharePoint"
|
||||
Webhook = "Webhook"
|
||||
|
||||
[policies.fieldOption.frameworks]
|
||||
FedRAMP = "FedRAMP"
|
||||
GDPR = "GDPR"
|
||||
HIPAA = "HIPAA"
|
||||
"ISO 27001" = "ISO 27001"
|
||||
"PCI DSS" = "PCI DSS"
|
||||
"SOC 2" = "SOC 2"
|
||||
|
||||
[policies.fieldOption.keepFor]
|
||||
"1 year" = "1 any"
|
||||
"3 years" = "3 anys"
|
||||
"30 days" = "30 dies"
|
||||
"7 years" = "7 anys"
|
||||
Indefinite = "Indefinit"
|
||||
|
||||
[policies.fieldOption.minConfidence]
|
||||
"60%" = "60%"
|
||||
"70%" = "70%"
|
||||
"80%" = "80%"
|
||||
"90%" = "90%"
|
||||
"95%" = "95%"
|
||||
|
||||
[policies.fieldOption.onViolation]
|
||||
"Auto-redact PHI" = "Oculta automàticament PHI"
|
||||
"Block export" = "Bloqueja l'exportació"
|
||||
"Flag for review" = "Marca per revisar"
|
||||
"Quarantine document" = "Posa el document en quarantena"
|
||||
|
||||
[policies.fields]
|
||||
selectedCount = "{{count}} selected"
|
||||
|
||||
@@ -6148,44 +6203,6 @@ dismiss = "Descarta la superposició"
|
||||
enforcingTitle = "S'està aplicant la política..."
|
||||
viewAnyway = "Mostra el fitxer (la política encara s'està aplicant)"
|
||||
|
||||
[policyOption]
|
||||
autoRedactPhi = "Oculta automàticament PHI"
|
||||
blockExport = "Bloqueja l'exportació"
|
||||
contracts = "Contractes"
|
||||
documents = "Documents"
|
||||
fedramp = "FedRAMP"
|
||||
financialReports = "Informes financers"
|
||||
flagForReview = "Marca per revisar"
|
||||
gdpr = "GDPR"
|
||||
hipaa = "HIPAA"
|
||||
hold = "Retén"
|
||||
hrRecords = "Registres de RR. HH."
|
||||
indefinite = "Indefinit"
|
||||
insurance = "Assegurances"
|
||||
invoices = "Factures"
|
||||
iso27001 = "ISO 27001"
|
||||
legalFilings = "Presentacions legals"
|
||||
medicalPhi = "Mèdic / PHI"
|
||||
never = "Mai"
|
||||
ninetyDays = "90 dies"
|
||||
oneYear = "1 any"
|
||||
p60 = "60%"
|
||||
p70 = "70%"
|
||||
p80 = "80%"
|
||||
p90 = "90%"
|
||||
p95 = "95%"
|
||||
pciDss = "PCI DSS"
|
||||
quarantineDocument = "Posa el document en quarantena"
|
||||
routeToBucket = "Encamina al bucket"
|
||||
s3Bucket = "bucket S3"
|
||||
sevenYears = "7 anys"
|
||||
sharePoint = "SharePoint"
|
||||
soc2 = "SOC 2"
|
||||
taxDocuments = "Documents fiscals"
|
||||
thirtyDays = "30 dies"
|
||||
threeYears = "3 anys"
|
||||
webhook = "Webhook"
|
||||
|
||||
[portal]
|
||||
comingSoon = "Properament"
|
||||
|
||||
@@ -8050,6 +8067,10 @@ title = "Sessió caducada"
|
||||
[portal.users]
|
||||
title = "Usuaris"
|
||||
|
||||
[portal.users.roles]
|
||||
subtitle = "Cada rol existeix en tots els plans — el que pot fer cadascun és fix a tota l'organització."
|
||||
title = "Rols"
|
||||
|
||||
[portal.users.roles.admin]
|
||||
label = "Admin (propietari de l'org)"
|
||||
summary = "Governança completa sobre l'espai de treball, la configuració i els membres."
|
||||
|
||||
@@ -5980,6 +5980,16 @@ statDocsEnforced = "Docs enforced"
|
||||
statusActive = "Active"
|
||||
statusPaused = "Paused"
|
||||
|
||||
[policies.docType]
|
||||
Contracts = "Smlouvy"
|
||||
"Financial reports" = "Finanční zprávy"
|
||||
"HR records" = "HR záznamy"
|
||||
Insurance = "Pojištění"
|
||||
Invoices = "Faktury"
|
||||
"Legal filings" = "Právní podání"
|
||||
"Medical / PHI" = "Zdravotní / PHI"
|
||||
"Tax documents" = "Daňové dokumenty"
|
||||
|
||||
[policies.enforcement]
|
||||
applying = "Probíhá použití {{names}}"
|
||||
applyingProgress = "Probíhá použití {{names}} ({{done}} z {{total}})"
|
||||
@@ -6015,6 +6025,51 @@ notify = "Upozornit při směrování"
|
||||
onViolation = "Při nesouladu"
|
||||
webhookUrl = "Webhook URL"
|
||||
|
||||
[policies.fieldOption.archiveAfter]
|
||||
"1 year" = "1 rok"
|
||||
"30 days" = "30 dní"
|
||||
"90 days" = "90 dní"
|
||||
Never = "Nikdy"
|
||||
|
||||
[policies.fieldOption.belowThreshold]
|
||||
"Flag for review" = "Označit ke kontrole"
|
||||
Hold = "Zadržet"
|
||||
"Route to bucket" = "Směrovat do bucketu"
|
||||
|
||||
[policies.fieldOption.destination]
|
||||
Documents = "Dokumenty"
|
||||
"S3 bucket" = "S3 bucket"
|
||||
SharePoint = "SharePoint"
|
||||
Webhook = "Webhook"
|
||||
|
||||
[policies.fieldOption.frameworks]
|
||||
FedRAMP = "FedRAMP"
|
||||
GDPR = "GDPR"
|
||||
HIPAA = "HIPAA"
|
||||
"ISO 27001" = "ISO 27001"
|
||||
"PCI DSS" = "PCI DSS"
|
||||
"SOC 2" = "SOC 2"
|
||||
|
||||
[policies.fieldOption.keepFor]
|
||||
"1 year" = "1 rok"
|
||||
"3 years" = "3 roky"
|
||||
"30 days" = "30 dní"
|
||||
"7 years" = "7 let"
|
||||
Indefinite = "Neurčitě"
|
||||
|
||||
[policies.fieldOption.minConfidence]
|
||||
"60%" = "60%"
|
||||
"70%" = "70%"
|
||||
"80%" = "80%"
|
||||
"90%" = "90%"
|
||||
"95%" = "95%"
|
||||
|
||||
[policies.fieldOption.onViolation]
|
||||
"Auto-redact PHI" = "Automaticky redigovat PHI"
|
||||
"Block export" = "Blokovat export"
|
||||
"Flag for review" = "Označit ke kontrole"
|
||||
"Quarantine document" = "Umístit dokument do karantény"
|
||||
|
||||
[policies.fields]
|
||||
selectedCount = "{{count}} selected"
|
||||
|
||||
@@ -6148,44 +6203,6 @@ dismiss = "Zavřít překryvnou vrstvu"
|
||||
enforcingTitle = "Vynucování zásady..."
|
||||
viewAnyway = "Zobrazit soubor (zásada se stále vynucuje)"
|
||||
|
||||
[policyOption]
|
||||
autoRedactPhi = "Automaticky redigovat PHI"
|
||||
blockExport = "Blokovat export"
|
||||
contracts = "Smlouvy"
|
||||
documents = "Dokumenty"
|
||||
fedramp = "FedRAMP"
|
||||
financialReports = "Finanční zprávy"
|
||||
flagForReview = "Označit ke kontrole"
|
||||
gdpr = "GDPR"
|
||||
hipaa = "HIPAA"
|
||||
hold = "Zadržet"
|
||||
hrRecords = "HR záznamy"
|
||||
indefinite = "Neurčitě"
|
||||
insurance = "Pojištění"
|
||||
invoices = "Faktury"
|
||||
iso27001 = "ISO 27001"
|
||||
legalFilings = "Právní podání"
|
||||
medicalPhi = "Zdravotní / PHI"
|
||||
never = "Nikdy"
|
||||
ninetyDays = "90 dní"
|
||||
oneYear = "1 rok"
|
||||
p60 = "60%"
|
||||
p70 = "70%"
|
||||
p80 = "80%"
|
||||
p90 = "90%"
|
||||
p95 = "95%"
|
||||
pciDss = "PCI DSS"
|
||||
quarantineDocument = "Umístit dokument do karantény"
|
||||
routeToBucket = "Směrovat do bucketu"
|
||||
s3Bucket = "S3 bucket"
|
||||
sevenYears = "7 let"
|
||||
sharePoint = "SharePoint"
|
||||
soc2 = "SOC 2"
|
||||
taxDocuments = "Daňové dokumenty"
|
||||
thirtyDays = "30 dní"
|
||||
threeYears = "3 roky"
|
||||
webhook = "Webhook"
|
||||
|
||||
[portal]
|
||||
comingSoon = "Již brzy"
|
||||
|
||||
@@ -8050,6 +8067,10 @@ title = "Relace vypršela"
|
||||
[portal.users]
|
||||
title = "Uživatelé"
|
||||
|
||||
[portal.users.roles]
|
||||
subtitle = "Každá role existuje v každém plánu — co která může dělat, je pevně dané napříč organizací."
|
||||
title = "Role"
|
||||
|
||||
[portal.users.roles.admin]
|
||||
label = "Admin (vlastník org.)"
|
||||
summary = "Plná správa governance nad workspace, nastavením a členy."
|
||||
|
||||
@@ -5980,6 +5980,16 @@ statDocsEnforced = "Docs enforced"
|
||||
statusActive = "Active"
|
||||
statusPaused = "Paused"
|
||||
|
||||
[policies.docType]
|
||||
Contracts = "Kontrakter"
|
||||
"Financial reports" = "Finansrapporter"
|
||||
"HR records" = "HR-registreringer"
|
||||
Insurance = "Forsikring"
|
||||
Invoices = "Fakturaer"
|
||||
"Legal filings" = "Juridiske indleveringer"
|
||||
"Medical / PHI" = "Medicinsk / PHI"
|
||||
"Tax documents" = "Skattedokumenter"
|
||||
|
||||
[policies.enforcement]
|
||||
applying = "Anvender {{names}}"
|
||||
applyingProgress = "Anvender {{names}} ({{done}} af {{total}})"
|
||||
@@ -6015,6 +6025,51 @@ notify = "Giv besked ved routing"
|
||||
onViolation = "Når ikke-kompatibel"
|
||||
webhookUrl = "Webhook URL"
|
||||
|
||||
[policies.fieldOption.archiveAfter]
|
||||
"1 year" = "1 år"
|
||||
"30 days" = "30 dage"
|
||||
"90 days" = "90 dage"
|
||||
Never = "Aldrig"
|
||||
|
||||
[policies.fieldOption.belowThreshold]
|
||||
"Flag for review" = "Markér til gennemgang"
|
||||
Hold = "Tilbagehold"
|
||||
"Route to bucket" = "Route til bucket"
|
||||
|
||||
[policies.fieldOption.destination]
|
||||
Documents = "Dokumenter"
|
||||
"S3 bucket" = "S3 bucket"
|
||||
SharePoint = "SharePoint"
|
||||
Webhook = "Webhook"
|
||||
|
||||
[policies.fieldOption.frameworks]
|
||||
FedRAMP = "FedRAMP"
|
||||
GDPR = "GDPR"
|
||||
HIPAA = "HIPAA"
|
||||
"ISO 27001" = "ISO 27001"
|
||||
"PCI DSS" = "PCI DSS"
|
||||
"SOC 2" = "SOC 2"
|
||||
|
||||
[policies.fieldOption.keepFor]
|
||||
"1 year" = "1 år"
|
||||
"3 years" = "3 år"
|
||||
"30 days" = "30 dage"
|
||||
"7 years" = "7 år"
|
||||
Indefinite = "På ubestemt tid"
|
||||
|
||||
[policies.fieldOption.minConfidence]
|
||||
"60%" = "60%"
|
||||
"70%" = "70%"
|
||||
"80%" = "80%"
|
||||
"90%" = "90%"
|
||||
"95%" = "95%"
|
||||
|
||||
[policies.fieldOption.onViolation]
|
||||
"Auto-redact PHI" = "Auto-rediger PHI"
|
||||
"Block export" = "Bloker eksport"
|
||||
"Flag for review" = "Markér til gennemgang"
|
||||
"Quarantine document" = "Sæt dokument i karantæne"
|
||||
|
||||
[policies.fields]
|
||||
selectedCount = "{{count}} selected"
|
||||
|
||||
@@ -6148,44 +6203,6 @@ dismiss = "Afvis overlay"
|
||||
enforcingTitle = "Håndhæver politik..."
|
||||
viewAnyway = "Vis fil (politik håndhæves stadig)"
|
||||
|
||||
[policyOption]
|
||||
autoRedactPhi = "Auto-rediger PHI"
|
||||
blockExport = "Bloker eksport"
|
||||
contracts = "Kontrakter"
|
||||
documents = "Dokumenter"
|
||||
fedramp = "FedRAMP"
|
||||
financialReports = "Finansrapporter"
|
||||
flagForReview = "Markér til gennemgang"
|
||||
gdpr = "GDPR"
|
||||
hipaa = "HIPAA"
|
||||
hold = "Tilbagehold"
|
||||
hrRecords = "HR-registreringer"
|
||||
indefinite = "På ubestemt tid"
|
||||
insurance = "Forsikring"
|
||||
invoices = "Fakturaer"
|
||||
iso27001 = "ISO 27001"
|
||||
legalFilings = "Juridiske indleveringer"
|
||||
medicalPhi = "Medicinsk / PHI"
|
||||
never = "Aldrig"
|
||||
ninetyDays = "90 dage"
|
||||
oneYear = "1 år"
|
||||
p60 = "60%"
|
||||
p70 = "70%"
|
||||
p80 = "80%"
|
||||
p90 = "90%"
|
||||
p95 = "95%"
|
||||
pciDss = "PCI DSS"
|
||||
quarantineDocument = "Sæt dokument i karantæne"
|
||||
routeToBucket = "Route til bucket"
|
||||
s3Bucket = "S3 bucket"
|
||||
sevenYears = "7 år"
|
||||
sharePoint = "SharePoint"
|
||||
soc2 = "SOC 2"
|
||||
taxDocuments = "Skattedokumenter"
|
||||
thirtyDays = "30 dage"
|
||||
threeYears = "3 år"
|
||||
webhook = "Webhook"
|
||||
|
||||
[portal]
|
||||
comingSoon = "Kommer snart"
|
||||
|
||||
@@ -8050,6 +8067,10 @@ title = "Session udløbet"
|
||||
[portal.users]
|
||||
title = "Brugere"
|
||||
|
||||
[portal.users.roles]
|
||||
subtitle = "Alle roller findes på alle abonnementer — hvad hver enkelt kan gøre, er fast på tværs af organisationen."
|
||||
title = "Roller"
|
||||
|
||||
[portal.users.roles.admin]
|
||||
label = "Admin (organisationsejer)"
|
||||
summary = "Fuld styring over workspace, indstillinger og medlemmer."
|
||||
|
||||
@@ -356,7 +356,6 @@ text = "Diese Berechtigungen kontrollieren, was Benutzer mit der PDF machen kön
|
||||
title = "Berechtigungen ändern"
|
||||
|
||||
[addStamp]
|
||||
preview = "Stempelvorschau"
|
||||
tags = "stamp,mark,seal,approved,rejected,confidential,stamp tool,rubber stamp,date stamp,approval stamp,received,void,copy,original"
|
||||
|
||||
[AddStampRequest]
|
||||
@@ -1843,15 +1842,6 @@ export = "Export"
|
||||
accessDenied = "Zugriff verweigert"
|
||||
insufficientPermissions = "Sie haben keine Berechtigung, diese Aktion auszuführen."
|
||||
|
||||
[auth.callback]
|
||||
completing = "Authentifizierung wird abgeschlossen"
|
||||
invalidToken = "OAuth-Anmeldung fehlgeschlagen – ungültiges Token."
|
||||
missingToken = "OAuth-Anmeldung fehlgeschlagen – kein Token empfangen."
|
||||
oauthFailed = "OAuth-Anmeldung fehlgeschlagen. Bitte versuchen Sie es erneut."
|
||||
pleaseWait = "Bitte warten Sie, während wir Ihre Anmeldung abschließen."
|
||||
signedOut = "Sie wurden abgemeldet. Bitte melden Sie sich erneut an."
|
||||
windowMayClose = "Sie können dieses Fenster schließen, sobald der Vorgang abgeschlossen ist."
|
||||
|
||||
[auth.displayName]
|
||||
guest = "Gast"
|
||||
user = "Benutzer"
|
||||
@@ -2834,7 +2824,6 @@ next = "Weiter"
|
||||
preview = "Vorschau"
|
||||
previous = "Zurück"
|
||||
refresh = "Aktualisieren"
|
||||
remaining = "Verbleibend"
|
||||
retry = "Wiederholen"
|
||||
save = "Save"
|
||||
|
||||
@@ -4083,17 +4072,10 @@ discord = "Discord"
|
||||
issues = "GitHub"
|
||||
|
||||
[formFill]
|
||||
allSaved = "Alles gespeichert"
|
||||
extractCsvError = "CSV konnte nicht extrahiert werden"
|
||||
extractXlsxError = "XLSX konnte nicht extrahiert werden"
|
||||
flattenAfterFilling = "Nach dem Ausfüllen ebnen"
|
||||
requiredAbbreviation = "erf."
|
||||
requiredFieldsError = "Bitte füllen Sie alle Pflichtfelder aus"
|
||||
rescanFields = "Felder erneut scannen"
|
||||
rescanFormFields = "Formularfelder erneut scannen"
|
||||
save = "Speichern"
|
||||
saveShortcut = "Strg+S zum Speichern"
|
||||
unsavedChanges = "Nicht gespeicherte Änderungen"
|
||||
|
||||
[formFill.sidebar]
|
||||
close = "Seitenleiste schließen"
|
||||
@@ -5014,21 +4996,7 @@ titleWithOs = "Herunterladen für {{osLabel}}"
|
||||
|
||||
[onboarding.mfa]
|
||||
authenticationCode = "Authentifizierungscode"
|
||||
description = "Schützen Sie Ihr Konto, indem Sie eine Authenticator-App verknüpfen. Scannen Sie den QR-Code oder geben Sie den Einrichtungsschlüssel ein und bestätigen Sie anschließend den sechsstelligen Code."
|
||||
enable = "MFA aktivieren"
|
||||
enableError = "Die Multi-Faktor-Authentifizierung konnte nicht aktiviert werden. Prüfen Sie den Code und versuchen Sie es erneut."
|
||||
enterCode = "Geben Sie den sechsstelligen Code aus Ihrer App ein."
|
||||
enterCodeError = "Geben Sie den Authentifizierungscode ein, um fortzufahren."
|
||||
logout = "Abmelden"
|
||||
openAuthenticator = "Öffnen Sie Google Authenticator, Authy oder 1Password."
|
||||
qrCodeLoading = "Ihr QR-Code wird erstellt…"
|
||||
regenerateQrCode = "QR-Code neu erstellen"
|
||||
scanQrCode = "Scannen Sie den QR-Code oder geben Sie den unten stehenden Einrichtungsschlüssel ein."
|
||||
setupError = "Die Einrichtung der Zwei-Faktor-Authentifizierung konnte nicht gestartet werden. Bitte versuchen Sie es erneut."
|
||||
setupKey = "Einrichtungsschlüssel (manuelle Eingabe)"
|
||||
stepByStep = "Schritt für Schritt"
|
||||
success = "MFA wurde aktiviert. Sie können jetzt fortfahren."
|
||||
title = "Einrichtung der Multi-Faktor-Authentifizierung"
|
||||
|
||||
[onboarding.planOverview]
|
||||
adminBodyLoginDisabled = "Sobald Sie den Login-Modus aktivieren, können Sie Nutzer verwalten, Einstellungen konfigurieren und die Servergesundheit überwachen. Die ersten <strong>{{freeTierLimit}}</strong> Personen auf Ihrem Server nutzen Stirling kostenlos."
|
||||
@@ -6012,6 +5980,16 @@ statDocsEnforced = "Docs enforced"
|
||||
statusActive = "Active"
|
||||
statusPaused = "Paused"
|
||||
|
||||
[policies.docType]
|
||||
Contracts = "Verträge"
|
||||
"Financial reports" = "Finanzberichte"
|
||||
"HR records" = "Personalakten"
|
||||
Insurance = "Versicherung"
|
||||
Invoices = "Rechnungen"
|
||||
"Legal filings" = "Rechtliche Einreichungen"
|
||||
"Medical / PHI" = "Medizinisch / PHI"
|
||||
"Tax documents" = "Steuerdokumente"
|
||||
|
||||
[policies.enforcement]
|
||||
applying = "Wende {{names}} an"
|
||||
applyingProgress = "Wende {{names}} an ({{done}} von {{total}})"
|
||||
@@ -6047,6 +6025,51 @@ notify = "Bei Weiterleitung benachrichtigen"
|
||||
onViolation = "Bei Nichteinhaltung"
|
||||
webhookUrl = "Webhook URL"
|
||||
|
||||
[policies.fieldOption.archiveAfter]
|
||||
"1 year" = "1 Jahr"
|
||||
"30 days" = "30 Tage"
|
||||
"90 days" = "90 Tage"
|
||||
Never = "Nie"
|
||||
|
||||
[policies.fieldOption.belowThreshold]
|
||||
"Flag for review" = "Zur Prüfung markieren"
|
||||
Hold = "Zurückhalten"
|
||||
"Route to bucket" = "In Bucket weiterleiten"
|
||||
|
||||
[policies.fieldOption.destination]
|
||||
Documents = "Dokumente"
|
||||
"S3 bucket" = "S3-Bucket"
|
||||
SharePoint = "SharePoint"
|
||||
Webhook = "Webhook"
|
||||
|
||||
[policies.fieldOption.frameworks]
|
||||
FedRAMP = "FedRAMP"
|
||||
GDPR = "GDPR"
|
||||
HIPAA = "HIPAA"
|
||||
"ISO 27001" = "ISO 27001"
|
||||
"PCI DSS" = "PCI DSS"
|
||||
"SOC 2" = "SOC 2"
|
||||
|
||||
[policies.fieldOption.keepFor]
|
||||
"1 year" = "1 Jahr"
|
||||
"3 years" = "3 Jahre"
|
||||
"30 days" = "30 Tage"
|
||||
"7 years" = "7 Jahre"
|
||||
Indefinite = "Unbefristet"
|
||||
|
||||
[policies.fieldOption.minConfidence]
|
||||
"60%" = "60%"
|
||||
"70%" = "70%"
|
||||
"80%" = "80%"
|
||||
"90%" = "90%"
|
||||
"95%" = "95%"
|
||||
|
||||
[policies.fieldOption.onViolation]
|
||||
"Auto-redact PHI" = "PHI automatisch schwärzen"
|
||||
"Block export" = "Export blockieren"
|
||||
"Flag for review" = "Zur Prüfung markieren"
|
||||
"Quarantine document" = "Dokument unter Quarantäne stellen"
|
||||
|
||||
[policies.fields]
|
||||
selectedCount = "{{count}} selected"
|
||||
|
||||
@@ -6180,44 +6203,6 @@ dismiss = "Overlay ausblenden"
|
||||
enforcingTitle = "Richtlinie wird durchgesetzt..."
|
||||
viewAnyway = "Datei anzeigen (Richtlinie wird noch durchgesetzt)"
|
||||
|
||||
[policyOption]
|
||||
autoRedactPhi = "PHI automatisch schwärzen"
|
||||
blockExport = "Export blockieren"
|
||||
contracts = "Verträge"
|
||||
documents = "Dokumente"
|
||||
fedramp = "FedRAMP"
|
||||
financialReports = "Finanzberichte"
|
||||
flagForReview = "Zur Prüfung markieren"
|
||||
gdpr = "GDPR"
|
||||
hipaa = "HIPAA"
|
||||
hold = "Zurückhalten"
|
||||
hrRecords = "Personalakten"
|
||||
indefinite = "Unbefristet"
|
||||
insurance = "Versicherung"
|
||||
invoices = "Rechnungen"
|
||||
iso27001 = "ISO 27001"
|
||||
legalFilings = "Rechtliche Einreichungen"
|
||||
medicalPhi = "Medizinisch / PHI"
|
||||
never = "Nie"
|
||||
ninetyDays = "90 Tage"
|
||||
oneYear = "1 Jahr"
|
||||
p60 = "60%"
|
||||
p70 = "70%"
|
||||
p80 = "80%"
|
||||
p90 = "90%"
|
||||
p95 = "95%"
|
||||
pciDss = "PCI DSS"
|
||||
quarantineDocument = "Dokument unter Quarantäne stellen"
|
||||
routeToBucket = "In Bucket weiterleiten"
|
||||
s3Bucket = "S3-Bucket"
|
||||
sevenYears = "7 Jahre"
|
||||
sharePoint = "SharePoint"
|
||||
soc2 = "SOC 2"
|
||||
taxDocuments = "Steuerdokumente"
|
||||
thirtyDays = "30 Tage"
|
||||
threeYears = "3 Jahre"
|
||||
webhook = "Webhook"
|
||||
|
||||
[portal]
|
||||
comingSoon = "Demnächst"
|
||||
|
||||
@@ -8082,6 +8067,10 @@ title = "Sitzung abgelaufen"
|
||||
[portal.users]
|
||||
title = "Benutzer"
|
||||
|
||||
[portal.users.roles]
|
||||
subtitle = "Jede Rolle existiert in jedem Plan — was jede Rolle tun kann, ist in der gesamten Organisation festgelegt."
|
||||
title = "Rollen"
|
||||
|
||||
[portal.users.roles.admin]
|
||||
label = "Admin (Org-Inhaber)"
|
||||
summary = "Vollständige Steuerung über Workspace, Einstellungen und Mitglieder."
|
||||
@@ -9142,11 +9131,6 @@ security = "Sicherheit"
|
||||
telegram = "Telegram"
|
||||
title = "Sicherheit & Authentifizierung"
|
||||
|
||||
[settings.signOut]
|
||||
confirm = "Möchten Sie sich wirklich abmelden?"
|
||||
submit = "Abmelden"
|
||||
title = "Abmelden"
|
||||
|
||||
[settings.team]
|
||||
title = "Team"
|
||||
|
||||
@@ -9763,9 +9747,6 @@ uploadButton = "Auf Server hochladen"
|
||||
title = "Stirling-PDF Survey"
|
||||
|
||||
[swagger]
|
||||
clickHere = "hier klicken"
|
||||
fallback = "Falls die Seite nicht automatisch geöffnet wurde,"
|
||||
opening = "Swagger UI wird in einem neuen Tab geöffnet..."
|
||||
tags = "API,Dokumentation,Swagger,Endpunkte,Entwicklung"
|
||||
title = "API-Dokumentation"
|
||||
|
||||
@@ -10321,11 +10302,9 @@ title = "Attachments"
|
||||
|
||||
[viewer.bookmarks]
|
||||
bookmarkTitle = "Lesezeichentitel"
|
||||
bookmarkTitleRequired = "Ein Lesezeichentitel ist erforderlich"
|
||||
closeSidebar = "Seitenleiste für Lesezeichen schließen"
|
||||
collapseAll = "Alle Lesezeichen einklappen"
|
||||
expandAll = "Alle Lesezeichen ausklappen"
|
||||
searchPlaceholder = "Lesezeichen durchsuchen"
|
||||
|
||||
[viewer.comments]
|
||||
addComment = "Kommentar hinzufügen"
|
||||
|
||||
@@ -5980,6 +5980,16 @@ statDocsEnforced = "Docs enforced"
|
||||
statusActive = "Active"
|
||||
statusPaused = "Paused"
|
||||
|
||||
[policies.docType]
|
||||
Contracts = "Συμβάσεις"
|
||||
"Financial reports" = "Οικονομικές αναφορές"
|
||||
"HR records" = "Αρχεία HR"
|
||||
Insurance = "Ασφάλειες"
|
||||
Invoices = "Τιμολόγια"
|
||||
"Legal filings" = "Νομικές καταθέσεις"
|
||||
"Medical / PHI" = "Ιατρικά / PHI"
|
||||
"Tax documents" = "Φορολογικά έγγραφα"
|
||||
|
||||
[policies.enforcement]
|
||||
applying = "Εφαρμογή {{names}}"
|
||||
applyingProgress = "Εφαρμογή {{names}} ({{done}} από {{total}})"
|
||||
@@ -6015,6 +6025,51 @@ notify = "Ειδοποίηση κατά τη δρομολόγηση"
|
||||
onViolation = "Όταν δεν συμμορφώνεται"
|
||||
webhookUrl = "Webhook URL"
|
||||
|
||||
[policies.fieldOption.archiveAfter]
|
||||
"1 year" = "1 έτος"
|
||||
"30 days" = "30 ημέρες"
|
||||
"90 days" = "90 ημέρες"
|
||||
Never = "Ποτέ"
|
||||
|
||||
[policies.fieldOption.belowThreshold]
|
||||
"Flag for review" = "Επισήμανση για έλεγχο"
|
||||
Hold = "Διατήρηση"
|
||||
"Route to bucket" = "Δρομολόγηση σε bucket"
|
||||
|
||||
[policies.fieldOption.destination]
|
||||
Documents = "Έγγραφα"
|
||||
"S3 bucket" = "S3 bucket"
|
||||
SharePoint = "SharePoint"
|
||||
Webhook = "Webhook"
|
||||
|
||||
[policies.fieldOption.frameworks]
|
||||
FedRAMP = "FedRAMP"
|
||||
GDPR = "GDPR"
|
||||
HIPAA = "HIPAA"
|
||||
"ISO 27001" = "ISO 27001"
|
||||
"PCI DSS" = "PCI DSS"
|
||||
"SOC 2" = "SOC 2"
|
||||
|
||||
[policies.fieldOption.keepFor]
|
||||
"1 year" = "1 έτος"
|
||||
"3 years" = "3 έτη"
|
||||
"30 days" = "30 ημέρες"
|
||||
"7 years" = "7 έτη"
|
||||
Indefinite = "Επ' αόριστον"
|
||||
|
||||
[policies.fieldOption.minConfidence]
|
||||
"60%" = "60%"
|
||||
"70%" = "70%"
|
||||
"80%" = "80%"
|
||||
"90%" = "90%"
|
||||
"95%" = "95%"
|
||||
|
||||
[policies.fieldOption.onViolation]
|
||||
"Auto-redact PHI" = "Αυτόματη απόκρυψη PHI"
|
||||
"Block export" = "Αποκλεισμός εξαγωγής"
|
||||
"Flag for review" = "Επισήμανση για έλεγχο"
|
||||
"Quarantine document" = "Καραντίνα εγγράφου"
|
||||
|
||||
[policies.fields]
|
||||
selectedCount = "{{count}} selected"
|
||||
|
||||
@@ -6148,44 +6203,6 @@ dismiss = "Απόρριψη επικάλυψης"
|
||||
enforcingTitle = "Επιβολή πολιτικής..."
|
||||
viewAnyway = "Προβολή αρχείου (η πολιτική εξακολουθεί να επιβάλλεται)"
|
||||
|
||||
[policyOption]
|
||||
autoRedactPhi = "Αυτόματη απόκρυψη PHI"
|
||||
blockExport = "Αποκλεισμός εξαγωγής"
|
||||
contracts = "Συμβάσεις"
|
||||
documents = "Έγγραφα"
|
||||
fedramp = "FedRAMP"
|
||||
financialReports = "Οικονομικές αναφορές"
|
||||
flagForReview = "Επισήμανση για έλεγχο"
|
||||
gdpr = "GDPR"
|
||||
hipaa = "HIPAA"
|
||||
hold = "Διατήρηση"
|
||||
hrRecords = "Αρχεία HR"
|
||||
indefinite = "Επ' αόριστον"
|
||||
insurance = "Ασφάλειες"
|
||||
invoices = "Τιμολόγια"
|
||||
iso27001 = "ISO 27001"
|
||||
legalFilings = "Νομικές καταθέσεις"
|
||||
medicalPhi = "Ιατρικά / PHI"
|
||||
never = "Ποτέ"
|
||||
ninetyDays = "90 ημέρες"
|
||||
oneYear = "1 έτος"
|
||||
p60 = "60%"
|
||||
p70 = "70%"
|
||||
p80 = "80%"
|
||||
p90 = "90%"
|
||||
p95 = "95%"
|
||||
pciDss = "PCI DSS"
|
||||
quarantineDocument = "Καραντίνα εγγράφου"
|
||||
routeToBucket = "Δρομολόγηση σε bucket"
|
||||
s3Bucket = "S3 bucket"
|
||||
sevenYears = "7 έτη"
|
||||
sharePoint = "SharePoint"
|
||||
soc2 = "SOC 2"
|
||||
taxDocuments = "Φορολογικά έγγραφα"
|
||||
thirtyDays = "30 ημέρες"
|
||||
threeYears = "3 έτη"
|
||||
webhook = "Webhook"
|
||||
|
||||
[portal]
|
||||
comingSoon = "Προσεχώς"
|
||||
|
||||
@@ -8050,6 +8067,10 @@ title = "Η συνεδρία έληξε"
|
||||
[portal.users]
|
||||
title = "Χρήστες"
|
||||
|
||||
[portal.users.roles]
|
||||
subtitle = "Κάθε ρόλος υπάρχει σε κάθε πλάνο — τι μπορεί να κάνει ο καθένας είναι σταθερό σε όλο τον οργανισμό."
|
||||
title = "Ρόλοι"
|
||||
|
||||
[portal.users.roles.admin]
|
||||
label = "Διαχειριστής (Κάτοχος οργανισμού)"
|
||||
summary = "Πλήρης διακυβέρνηση του χώρου εργασίας, των ρυθμίσεων και των μελών."
|
||||
|
||||
@@ -5980,6 +5980,16 @@ statDocsEnforced = "Docs enforced"
|
||||
statusActive = "Active"
|
||||
statusPaused = "Paused"
|
||||
|
||||
[policies.docType]
|
||||
Contracts = "Contracts"
|
||||
"Financial reports" = "Financial reports"
|
||||
"HR records" = "HR records"
|
||||
Insurance = "Insurance"
|
||||
Invoices = "Invoices"
|
||||
"Legal filings" = "Legal filings"
|
||||
"Medical / PHI" = "Medical / PHI"
|
||||
"Tax documents" = "Tax documents"
|
||||
|
||||
[policies.enforcement]
|
||||
applying = "Applying {{names}}"
|
||||
applyingProgress = "Applying {{names}} ({{done}} of {{total}})"
|
||||
@@ -6015,6 +6025,51 @@ notify = "Notify on route"
|
||||
onViolation = "When non-compliant"
|
||||
webhookUrl = "Webhook URL"
|
||||
|
||||
[policies.fieldOption.archiveAfter]
|
||||
"1 year" = "1 year"
|
||||
"30 days" = "30 days"
|
||||
"90 days" = "90 days"
|
||||
Never = "Never"
|
||||
|
||||
[policies.fieldOption.belowThreshold]
|
||||
"Flag for review" = "Flag for review"
|
||||
Hold = "Hold"
|
||||
"Route to bucket" = "Route to bucket"
|
||||
|
||||
[policies.fieldOption.destination]
|
||||
Documents = "Documents"
|
||||
"S3 bucket" = "S3 bucket"
|
||||
SharePoint = "SharePoint"
|
||||
Webhook = "Webhook"
|
||||
|
||||
[policies.fieldOption.frameworks]
|
||||
FedRAMP = "FedRAMP"
|
||||
GDPR = "GDPR"
|
||||
HIPAA = "HIPAA"
|
||||
"ISO 27001" = "ISO 27001"
|
||||
"PCI DSS" = "PCI DSS"
|
||||
"SOC 2" = "SOC 2"
|
||||
|
||||
[policies.fieldOption.keepFor]
|
||||
"1 year" = "1 year"
|
||||
"3 years" = "3 years"
|
||||
"30 days" = "30 days"
|
||||
"7 years" = "7 years"
|
||||
Indefinite = "Indefinite"
|
||||
|
||||
[policies.fieldOption.minConfidence]
|
||||
"60%" = "60%"
|
||||
"70%" = "70%"
|
||||
"80%" = "80%"
|
||||
"90%" = "90%"
|
||||
"95%" = "95%"
|
||||
|
||||
[policies.fieldOption.onViolation]
|
||||
"Auto-redact PHI" = "Auto-redact PHI"
|
||||
"Block export" = "Block export"
|
||||
"Flag for review" = "Flag for review"
|
||||
"Quarantine document" = "Quarantine document"
|
||||
|
||||
[policies.fields]
|
||||
selectedCount = "{{count}} selected"
|
||||
|
||||
@@ -6148,44 +6203,6 @@ dismiss = "Dismiss overlay"
|
||||
enforcingTitle = "Enforcing policy..."
|
||||
viewAnyway = "View file (policy still enforcing)"
|
||||
|
||||
[policyOption]
|
||||
autoRedactPhi = "Auto-redact PHI"
|
||||
blockExport = "Block export"
|
||||
contracts = "Contracts"
|
||||
documents = "Documents"
|
||||
fedramp = "FedRAMP"
|
||||
financialReports = "Financial reports"
|
||||
flagForReview = "Flag for review"
|
||||
gdpr = "GDPR"
|
||||
hipaa = "HIPAA"
|
||||
hold = "Hold"
|
||||
hrRecords = "HR records"
|
||||
indefinite = "Indefinite"
|
||||
insurance = "Insurance"
|
||||
invoices = "Invoices"
|
||||
iso27001 = "ISO 27001"
|
||||
legalFilings = "Legal filings"
|
||||
medicalPhi = "Medical / PHI"
|
||||
never = "Never"
|
||||
ninetyDays = "90 days"
|
||||
oneYear = "1 year"
|
||||
p60 = "60%"
|
||||
p70 = "70%"
|
||||
p80 = "80%"
|
||||
p90 = "90%"
|
||||
p95 = "95%"
|
||||
pciDss = "PCI DSS"
|
||||
quarantineDocument = "Quarantine document"
|
||||
routeToBucket = "Route to bucket"
|
||||
s3Bucket = "S3 bucket"
|
||||
sevenYears = "7 years"
|
||||
sharePoint = "SharePoint"
|
||||
soc2 = "SOC 2"
|
||||
taxDocuments = "Tax documents"
|
||||
thirtyDays = "30 days"
|
||||
threeYears = "3 years"
|
||||
webhook = "Webhook"
|
||||
|
||||
[portal]
|
||||
comingSoon = "Coming soon"
|
||||
|
||||
@@ -8050,6 +8067,10 @@ title = "Session expired"
|
||||
[portal.users]
|
||||
title = "Users"
|
||||
|
||||
[portal.users.roles]
|
||||
subtitle = "Every role exists on every plan — what each one can do is fixed across the organisation."
|
||||
title = "Roles"
|
||||
|
||||
[portal.users.roles.admin]
|
||||
label = "Admin (Org owner)"
|
||||
summary = "Full governance over the workspace, settings and members."
|
||||
|
||||
@@ -356,7 +356,6 @@ text = "These permissions control what users can do with the PDF. Most effective
|
||||
title = "Change Permissions"
|
||||
|
||||
[addStamp]
|
||||
preview = "Preview Stamp"
|
||||
tags = "stamp,mark,seal,approved,rejected,confidential,stamp tool,rubber stamp,date stamp,approval stamp,received,void,copy,original"
|
||||
|
||||
[AddStampRequest]
|
||||
@@ -1843,15 +1842,6 @@ export = "Export"
|
||||
accessDenied = "Access Denied"
|
||||
insufficientPermissions = "You do not have permission to perform this action."
|
||||
|
||||
[auth.callback]
|
||||
completing = "Completing authentication"
|
||||
invalidToken = "OAuth login failed - invalid token."
|
||||
missingToken = "OAuth login failed - no token received."
|
||||
oauthFailed = "OAuth login failed. Please try again."
|
||||
pleaseWait = "Please wait while we finish signing you in."
|
||||
signedOut = "You have been signed out. Please sign in again."
|
||||
windowMayClose = "You can close this window once it completes."
|
||||
|
||||
[auth.displayName]
|
||||
guest = "Guest"
|
||||
user = "User"
|
||||
@@ -2834,7 +2824,6 @@ next = "Next"
|
||||
preview = "Preview"
|
||||
previous = "Previous"
|
||||
refresh = "Refresh"
|
||||
remaining = "Remaining"
|
||||
retry = "Retry"
|
||||
save = "Save"
|
||||
|
||||
@@ -4083,17 +4072,10 @@ discord = "Discord"
|
||||
issues = "GitHub"
|
||||
|
||||
[formFill]
|
||||
allSaved = "All saved"
|
||||
extractCsvError = "Failed to extract CSV"
|
||||
extractXlsxError = "Failed to extract XLSX"
|
||||
flattenAfterFilling = "Flatten after filling"
|
||||
requiredAbbreviation = "req"
|
||||
requiredFieldsError = "Please fill in all required fields"
|
||||
rescanFields = "Re-scan fields"
|
||||
rescanFormFields = "Re-scan form fields"
|
||||
save = "Save"
|
||||
saveShortcut = "Ctrl+S to save"
|
||||
unsavedChanges = "Unsaved changes"
|
||||
|
||||
[formFill.sidebar]
|
||||
close = "Close sidebar"
|
||||
@@ -4665,6 +4647,7 @@ welcomeTitle = "You've been invited!"
|
||||
|
||||
[landing]
|
||||
addFiles = "Add Files"
|
||||
heroSubtitle = "Drop in or add an existing PDF to get started."
|
||||
mobileUpload = "Upload from Mobile"
|
||||
openFromComputer = "Open from computer"
|
||||
uploadFromComputer = "Upload from computer"
|
||||
@@ -4979,11 +4962,11 @@ text = "Decide how you want the text output formatted:"
|
||||
title = "Output"
|
||||
|
||||
[onboarding]
|
||||
activeFiles = "The <strong>Active Files</strong> view shows all of the PDFs you have loaded into the tool."
|
||||
activeFiles = "The <strong>Active Files</strong> view shows all of the PDFs you have loaded into the tool, and allows you to select which ones to process."
|
||||
allTools = "This is the <strong>Tools</strong> panel, where you can browse and select from all available PDF tools."
|
||||
close = "Close"
|
||||
cropSettings = "Now that we've selected the file we want crop, we can configure the Crop tool to choose the area that we want to crop the PDF to."
|
||||
fileCheckbox = "Files on the workbench are selected for processing. You can select multiple files for batch operations using the left files sidebar."
|
||||
fileCheckbox = "Clicking one of the files selects it for processing. You can select multiple files for batch operations."
|
||||
fileReplacement = "The modified file will replace the original file in the Workbench automatically, allowing you to easily run it through more tools."
|
||||
filesButton = "The <strong>Files</strong> button on the Quick Access bar allows you to upload PDFs to use the tools on."
|
||||
fileSources = "You can upload new files or access recent files from here. For the tour, we'll just use a sample file."
|
||||
@@ -4993,7 +4976,6 @@ pinButton = "You can use the <strong>Pin</strong> button if you'd rather your fi
|
||||
results = "After the tool has finished running, the <strong>Review</strong> step will show a preview of the results in this panel, and allow you to undo the operation or download the file. "
|
||||
runButton = "Once the tool has been configured, this button allows you to run the tool on all the selected PDFs."
|
||||
selectCropTool = "Let's select the <strong>Crop</strong> tool to demonstrate how to use one of the tools."
|
||||
stepOf = "Step {{current}} of {{total}}"
|
||||
toolInterface = "This is the <strong>Crop</strong> tool interface. As you can see, there's not much there because we haven't added any PDF files to work with yet."
|
||||
workbench = "This is the <strong>Workbench</strong> - the main area where you view and edit your PDFs."
|
||||
wrapUp = "You're all set! You can replay this tour anytime - just open <strong>Settings</strong> and find it here in the <strong>Tours</strong> section under Help."
|
||||
@@ -5006,26 +4988,6 @@ showMeAround = "Show me around"
|
||||
skipForNow = "Skip for now"
|
||||
skipTheTour = "Skip the tour"
|
||||
|
||||
[onboarding.checklist]
|
||||
dismiss = "Dismiss"
|
||||
title = "Set up Stirling PDF"
|
||||
|
||||
[onboarding.checklist.downloadDesktop]
|
||||
description = "Run Stirling natively on your machine"
|
||||
title = "Download Stirling for Desktop"
|
||||
|
||||
[onboarding.checklist.inviteTeam]
|
||||
description = "Collaborate with your team"
|
||||
title = "Invite team members"
|
||||
|
||||
[onboarding.checklist.shareAnalytics]
|
||||
description = "Help improve Stirling"
|
||||
title = "Share anonymous usage data"
|
||||
|
||||
[onboarding.checklist.takeTour]
|
||||
description = "See how Stirling works in a quick walkthrough"
|
||||
title = "Take the tour"
|
||||
|
||||
[onboarding.desktopInstall]
|
||||
body = "Stirling works best as a desktop app. You can use it offline, access documents faster, and make edits locally on your computer."
|
||||
selectOs = "Select operating system"
|
||||
@@ -5034,21 +4996,7 @@ titleWithOs = "Download for {{osLabel}}"
|
||||
|
||||
[onboarding.mfa]
|
||||
authenticationCode = "Authentication code"
|
||||
description = "Secure your account by linking an authenticator app. Scan the QR code or enter the setup key, then confirm the 6-digit code to finish."
|
||||
enable = "Enable MFA"
|
||||
enableError = "Unable to enable two-factor authentication. Check the code and try again."
|
||||
enterCode = "Enter the 6-digit code from your app."
|
||||
enterCodeError = "Enter the authentication code to continue."
|
||||
logout = "Logout"
|
||||
openAuthenticator = "Open Google Authenticator, Authy, or 1Password."
|
||||
qrCodeLoading = "Generating your QR code…"
|
||||
regenerateQrCode = "Regenerate QR code"
|
||||
scanQrCode = "Scan the QR code or enter the setup key below."
|
||||
setupError = "Unable to start two-factor setup. Please try again."
|
||||
setupKey = "Setup key (manual entry)"
|
||||
stepByStep = "Step-by-step"
|
||||
success = "MFA has been enabled. You can now continue."
|
||||
title = "Multi-Factor Authentication Setup"
|
||||
|
||||
[onboarding.planOverview]
|
||||
adminBodyLoginDisabled = "Once you enable login mode, you can manage users, configure settings, and monitor server health. The first <strong>{{freeTierLimit}}</strong> people on your server get to use Stirling free of charge."
|
||||
@@ -5057,11 +5005,6 @@ adminTitle = "Admin Overview"
|
||||
userBody = "Invite teammates, assign roles, and keep your documents organized in one secure workspace. Enable login mode whenever you're ready to grow beyond solo use."
|
||||
userTitle = "Plan Overview"
|
||||
|
||||
[onboarding.processorIntro]
|
||||
body = "Stirling now runs <strong>Policies</strong> — automated rules that classify, secure, and process every document as it arrives. Set them up and monitor runs in the <strong>Processor</strong>."
|
||||
cta = "Check out the Processor"
|
||||
title = "Check out the Stirling Processor"
|
||||
|
||||
[onboarding.saas.freeEditor]
|
||||
freeLine = "The editor is now <free>completely free</free>."
|
||||
premium = "We've added loads of new features, including <strong>Policies</strong> and <strong>Agent Chat</strong>."
|
||||
@@ -6013,6 +5956,51 @@ successTitle = "{{names}} applied"
|
||||
summaryMore = "{{first}}, {{second}} and {{more}} more"
|
||||
summaryTwo = "{{first}} and {{second}}"
|
||||
|
||||
[policies.fieldOption.archiveAfter]
|
||||
"1 year" = "1 year"
|
||||
"30 days" = "30 days"
|
||||
"90 days" = "90 days"
|
||||
Never = "Never"
|
||||
|
||||
[policies.fieldOption.belowThreshold]
|
||||
"Flag for review" = "Flag for review"
|
||||
Hold = "Hold"
|
||||
"Route to bucket" = "Route to bucket"
|
||||
|
||||
[policies.fieldOption.destination]
|
||||
Documents = "Documents"
|
||||
"S3 bucket" = "S3 bucket"
|
||||
SharePoint = "SharePoint"
|
||||
Webhook = "Webhook"
|
||||
|
||||
[policies.fieldOption.frameworks]
|
||||
FedRAMP = "FedRAMP"
|
||||
GDPR = "GDPR"
|
||||
HIPAA = "HIPAA"
|
||||
"ISO 27001" = "ISO 27001"
|
||||
"PCI DSS" = "PCI DSS"
|
||||
"SOC 2" = "SOC 2"
|
||||
|
||||
[policies.fieldOption.keepFor]
|
||||
"1 year" = "1 year"
|
||||
"3 years" = "3 years"
|
||||
"30 days" = "30 days"
|
||||
"7 years" = "7 years"
|
||||
Indefinite = "Indefinite"
|
||||
|
||||
[policies.fieldOption.minConfidence]
|
||||
"60%" = "60%"
|
||||
"70%" = "70%"
|
||||
"80%" = "80%"
|
||||
"90%" = "90%"
|
||||
"95%" = "95%"
|
||||
|
||||
[policies.fieldOption.onViolation]
|
||||
"Auto-redact PHI" = "Auto-redact PHI"
|
||||
"Block export" = "Block export"
|
||||
"Flag for review" = "Flag for review"
|
||||
"Quarantine document" = "Quarantine document"
|
||||
|
||||
[policies.labels]
|
||||
add = "Add"
|
||||
addPlaceholder = "Add a label…"
|
||||
@@ -6059,45 +6047,6 @@ dismiss = "Dismiss overlay"
|
||||
enforcingTitle = "Enforcing policy..."
|
||||
viewAnyway = "View file (policy still enforcing)"
|
||||
|
||||
[policyOption]
|
||||
autoRedactPhi = "Auto-redact PHI"
|
||||
blockExport = "Block export"
|
||||
ccpa = "CCPA"
|
||||
contracts = "Contracts"
|
||||
documents = "Documents"
|
||||
fedramp = "FedRAMP"
|
||||
financialReports = "Financial reports"
|
||||
flagForReview = "Flag for review"
|
||||
gdpr = "GDPR"
|
||||
hipaa = "HIPAA"
|
||||
hold = "Hold"
|
||||
hrRecords = "HR records"
|
||||
indefinite = "Indefinite"
|
||||
insurance = "Insurance"
|
||||
invoices = "Invoices"
|
||||
iso27001 = "ISO 27001"
|
||||
legalFilings = "Legal filings"
|
||||
medicalPhi = "Medical / PHI"
|
||||
never = "Never"
|
||||
ninetyDays = "90 days"
|
||||
oneYear = "1 year"
|
||||
p60 = "60%"
|
||||
p70 = "70%"
|
||||
p80 = "80%"
|
||||
p90 = "90%"
|
||||
p95 = "95%"
|
||||
pciDss = "PCI DSS"
|
||||
quarantineDocument = "Quarantine document"
|
||||
routeToBucket = "Route to bucket"
|
||||
s3Bucket = "S3 bucket"
|
||||
sevenYears = "7 years"
|
||||
sharePoint = "SharePoint"
|
||||
soc2 = "SOC 2"
|
||||
taxDocuments = "Tax documents"
|
||||
thirtyDays = "30 days"
|
||||
threeYears = "3 years"
|
||||
webhook = "Webhook"
|
||||
|
||||
[portal]
|
||||
comingSoon = "Coming soon"
|
||||
|
||||
@@ -6240,10 +6189,6 @@ muted = "muted"
|
||||
nameLabel = "Name"
|
||||
namePlaceholder = "e.g. Compliance escalation"
|
||||
|
||||
[portal.agentBuilder.status]
|
||||
draft = "Draft"
|
||||
published = "Published"
|
||||
|
||||
[portal.agentBuilder.tabs]
|
||||
evals = "Evals"
|
||||
scenarios = "Scenarios"
|
||||
@@ -6283,29 +6228,14 @@ redirectingToEditor = "Redirecting to the editor..."
|
||||
|
||||
[portal.billing.checkout]
|
||||
noClientSecret = "Edge function returned no client_secret."
|
||||
stepCount = "Step {{step}} of 2"
|
||||
subtitle = "Add a card to keep going past your free Editor-plan grant. Stripe handles the rest."
|
||||
title = "Add a payment method"
|
||||
title = "Turn on the Processor plan"
|
||||
|
||||
[portal.billing.checkout.activationSlow]
|
||||
body = "Your payment succeeded, but activation is taking a little longer than usual. It'll switch on automatically - close this and it'll appear here shortly."
|
||||
close = "Close"
|
||||
title = "Almost there"
|
||||
|
||||
[portal.billing.checkout.cap]
|
||||
back = "Back"
|
||||
continue = "Continue to payment"
|
||||
error = "Couldn't set your spend limit"
|
||||
finePrint = "Invoices post on the 1st. Cancel anytime and revert to the Editor plan; your policies and history stay intact."
|
||||
note = "Processing pauses if you reach it. You're never billed past this, and you can change it any time."
|
||||
subtitle = "You're billed only for PDFs you process past your first 500 free, never for seats — so your ceiling is yours from day one."
|
||||
title = "Set your spend limit"
|
||||
|
||||
[portal.billing.checkout.card]
|
||||
fields = "Card number · MM / YY · CVC · ZIP"
|
||||
label = "Card details"
|
||||
note = "Card details collected by Stripe. Stirling never stores PAN or CVC."
|
||||
|
||||
[portal.billing.checkout.error]
|
||||
title = "Couldn't start checkout"
|
||||
|
||||
@@ -6314,6 +6244,11 @@ body = "Your payment went through. We're switching on metered processing across
|
||||
hint = "Please keep this window open."
|
||||
title = "Activating your Processor plan..."
|
||||
|
||||
[portal.billing.checkout.notConfigured]
|
||||
bodyAfter = "in the portal env to enable in-app checkout."
|
||||
bodyBefore = "Set"
|
||||
title = "Stripe not configured"
|
||||
|
||||
[portal.billing.enterpriseUpsell]
|
||||
cta = "Explore Enterprise"
|
||||
description = "Committed volume discounts, air-gapped deployment, custom MSA and security reviews, and 3rd-party distributor partnerships."
|
||||
@@ -6395,6 +6330,8 @@ sizeMultiplier = "{{formatted}} PDFs used a size multiplier"
|
||||
summary = "{{unique}} unique · {{units}} meter units · {{avg}} avg per PDF"
|
||||
summaryNoRate = "{{unique}} unique · {{units}} meter units"
|
||||
unit = "PDFs"
|
||||
unitsPending_one = "{{units}} meter unit pending sync from linked instances"
|
||||
unitsPending_other = "{{units}} meter units pending sync from linked instances"
|
||||
|
||||
[portal.billing.spendLimit]
|
||||
adjustLimit = "Adjust limit"
|
||||
@@ -6467,7 +6404,7 @@ install = "Install"
|
||||
usage = "Usage"
|
||||
|
||||
[portal.catalogue.detail.locked]
|
||||
description = "{{name}} is included from the {{plan}}. Upgrade to embed it."
|
||||
description = "{{name}} is included from the {{tier}} plan. Upgrade to embed it."
|
||||
title = "Not available on your plan"
|
||||
|
||||
[portal.catalogue.detail.preview]
|
||||
@@ -6534,35 +6471,6 @@ title = "No components available"
|
||||
description = "GA components are available on Pay-as-you-go; a few Beta components are enterprise-only. Locked cards show an upgrade nudge."
|
||||
title = "Some components need a paid plan"
|
||||
|
||||
[portal.connections]
|
||||
createTitle = "New S3 connection"
|
||||
delete = "Delete"
|
||||
edit = "Edit"
|
||||
editTitle = "Edit S3 connection"
|
||||
subtitle = "Reusable S3 credentials that sources and pipeline outputs connect to."
|
||||
|
||||
[portal.connections.actions]
|
||||
new = "New connection"
|
||||
|
||||
[portal.connections.empty]
|
||||
description = "Add an S3 connection to reuse the same bucket and credentials across sources and pipeline outputs."
|
||||
title = "No connections yet"
|
||||
|
||||
[portal.connections.picker]
|
||||
cancel = "Cancel"
|
||||
createNew = "New connection..."
|
||||
placeholder = "Select a connection"
|
||||
save = "Save connection"
|
||||
|
||||
[portal.connections.s3.fields]
|
||||
name = "Connection name"
|
||||
namePlaceholder = "e.g. Claims bucket"
|
||||
|
||||
[portal.connections.table]
|
||||
bucket = "Bucket"
|
||||
name = "Name"
|
||||
region = "Region"
|
||||
|
||||
[portal.docs.authentication]
|
||||
codeCaption = "every request"
|
||||
eyebrow = "GETTING STARTED"
|
||||
@@ -7024,7 +6932,6 @@ all = "All"
|
||||
auth = "Auth"
|
||||
config = "Config"
|
||||
elevation = "Elevation"
|
||||
policy = "Policy"
|
||||
processing = "Processing"
|
||||
security = "Security"
|
||||
|
||||
@@ -7034,7 +6941,7 @@ title = "You don't have access"
|
||||
|
||||
[portal.infrastructure.audit.metrics]
|
||||
config = "Config"
|
||||
policy = "Policy"
|
||||
elevation = "Elevation"
|
||||
processing = "Processing"
|
||||
totalEvents = "Total events · 24h"
|
||||
|
||||
@@ -7042,7 +6949,6 @@ totalEvents = "Total events · 24h"
|
||||
auth = "Auth"
|
||||
config = "Config"
|
||||
elevation = "Elevation"
|
||||
policy = "Policy"
|
||||
processing = "Processing"
|
||||
security = "Security"
|
||||
|
||||
@@ -7374,6 +7280,10 @@ operations_one = "Operation ({{count}})"
|
||||
operations_other = "Operations ({{count}})"
|
||||
output = "Output"
|
||||
removeStep = "Remove operation"
|
||||
s3Configure = "Configure"
|
||||
s3Done = "Done"
|
||||
s3ModalTitle = "Amazon S3 output"
|
||||
s3NotConfigured = "Not configured"
|
||||
s3PrefixHelp = "Outputs are uploaded under this key prefix."
|
||||
save = "Save changes"
|
||||
scheduleEvery = "Run every"
|
||||
@@ -7444,7 +7354,6 @@ manual = "Manual"
|
||||
schedule = "Scheduled"
|
||||
|
||||
[portal.policies]
|
||||
defaultName = "{{category}} Policy"
|
||||
subtitle = "Standing automations that enforce a tool pipeline on every document. Each policy fires on upload or export, runs its tool chain, and saves the enforced version alongside the original."
|
||||
title = "Policies"
|
||||
|
||||
@@ -8016,29 +7925,34 @@ primaryNav = "Primary navigation"
|
||||
switchApp = "Switch app"
|
||||
|
||||
[portal.sources]
|
||||
subtitle = "Reusable input connections that feed documents into Stirling. Configure a source once, then reference it from any number of pipelines."
|
||||
subtitle = "Reusable input connections that feed documents into Stirling. Configure a connection once, then reference it from any number of policies. Click a row for its config and which policies use it."
|
||||
title = "Sources"
|
||||
|
||||
[portal.sources.actions]
|
||||
agentBuilder = "Agent Builder"
|
||||
connectSource = "Connect source"
|
||||
|
||||
[portal.sources.builder]
|
||||
back = "Back to sources"
|
||||
cancel = "Cancel"
|
||||
create = "Create source"
|
||||
createTitle = "Connect a source"
|
||||
delete = "Delete"
|
||||
editTitle = "Edit source"
|
||||
enabled = "Enabled"
|
||||
save = "Save changes"
|
||||
|
||||
[portal.sources.delete]
|
||||
body = "Delete \"{{name}}\"? This can't be undone. Policies that reference it would need to be updated."
|
||||
cancel = "Cancel"
|
||||
confirm = "Delete"
|
||||
title = "Delete source?"
|
||||
|
||||
[portal.sources.detail]
|
||||
closeAriaLabel = "Close detail"
|
||||
delete = "Delete source"
|
||||
docs24h = "Last 24h"
|
||||
docs30d = "Last 30 days"
|
||||
docsTotal = "Total seen"
|
||||
docsTrend = "Documents over the last 30 days"
|
||||
documents = "Documents"
|
||||
edit = "Edit"
|
||||
notReferenced = "Not referenced by any policy, so it's safe to delete."
|
||||
pause = "Pause"
|
||||
resume = "Resume"
|
||||
subtitle = "{{type}} · {{status}}"
|
||||
usedBy = "Used by"
|
||||
|
||||
[portal.sources.empty]
|
||||
description = "Connect a folder (and, soon, cloud storage) so your policies have somewhere to pull documents from."
|
||||
title = "No sources connected yet"
|
||||
@@ -8054,15 +7968,10 @@ disabled = "Disabled"
|
||||
unused = "Unused"
|
||||
|
||||
[portal.sources.table]
|
||||
documents = "Documents"
|
||||
source = "Source"
|
||||
status = "Status"
|
||||
usedBy = "Policies"
|
||||
|
||||
[portal.sources.tabs]
|
||||
connections = "Connections"
|
||||
sources = "Sources"
|
||||
|
||||
[portal.sources.types.editor]
|
||||
description = "Documents your team has processed in the editor, across policy and AI runs."
|
||||
label = "Editor"
|
||||
@@ -8110,10 +8019,6 @@ label = "Access key ID"
|
||||
label = "Bucket"
|
||||
placeholder = "my-company-inbox"
|
||||
|
||||
[portal.sources.types.s3.fields.connection]
|
||||
helperText = "The stored connection holding the bucket and credentials. Reused by every source and pipeline output that references it."
|
||||
label = "Connection"
|
||||
|
||||
[portal.sources.types.s3.fields.endpoint]
|
||||
helperText = "Leave blank for Amazon S3. Set to use an S3-compatible service such as MinIO."
|
||||
label = "Custom endpoint"
|
||||
@@ -8143,14 +8048,21 @@ label = "Secret access key"
|
||||
label = "Source"
|
||||
|
||||
[portal.sources.wizard]
|
||||
back = "Back"
|
||||
cancel = "Cancel"
|
||||
continue = "Continue"
|
||||
editTitle = "Edit source"
|
||||
name = "Name"
|
||||
namePlaceholder = "e.g. Claims intake"
|
||||
save = "Save changes"
|
||||
subtitle = "Step {{current}} of {{total}} · {{label}}"
|
||||
title = "Connect a source"
|
||||
type = "Type"
|
||||
|
||||
[portal.tier]
|
||||
enterprise = "Enterprise plan"
|
||||
free = "Editor plan"
|
||||
pro = "Processor plan"
|
||||
[portal.sources.wizard.steps]
|
||||
chooseType = "Choose type"
|
||||
configure = "Configure"
|
||||
review = "Review & connect"
|
||||
|
||||
[portal.usage]
|
||||
managePayment = "Manage Payment"
|
||||
@@ -8170,6 +8082,10 @@ title = "Session expired"
|
||||
[portal.users]
|
||||
title = "Users"
|
||||
|
||||
[portal.users.roles]
|
||||
subtitle = "Every role exists on every plan — what each one can do is fixed across the org."
|
||||
title = "Roles"
|
||||
|
||||
[portal.users.roles.admin]
|
||||
label = "Admin (Org owner)"
|
||||
summary = "Full governance over the workspace, settings and members."
|
||||
@@ -9237,11 +9153,6 @@ security = "Security"
|
||||
telegram = "Telegram"
|
||||
title = "Security & Authentication"
|
||||
|
||||
[settings.signOut]
|
||||
confirm = "Are you sure you want to sign out?"
|
||||
submit = "Sign out"
|
||||
title = "Sign out"
|
||||
|
||||
[settings.team]
|
||||
title = "Team"
|
||||
|
||||
@@ -9858,9 +9769,6 @@ uploadButton = "Upload to Server"
|
||||
title = "Stirling-PDF Survey"
|
||||
|
||||
[swagger]
|
||||
clickHere = "click here"
|
||||
fallback = "If it didn't open automatically,"
|
||||
opening = "Opening Swagger UI in a new tab..."
|
||||
tags = "api,documentation,swagger,endpoints,development"
|
||||
title = "API Documentation"
|
||||
|
||||
@@ -10166,19 +10074,6 @@ resetPw = "Reset password"
|
||||
suspend = "Suspend"
|
||||
unlock = "Unlock account"
|
||||
|
||||
[users.activity]
|
||||
daysAgo = "{{count}}d ago"
|
||||
hoursAgo = "{{count}}h ago"
|
||||
justNow = "Just now"
|
||||
minutesAgo = "{{count}}m ago"
|
||||
monthsAgo_one = "{{count}} month ago"
|
||||
monthsAgo_other = "{{count}} months ago"
|
||||
never = "Never"
|
||||
weeksAgo_one = "{{count}} week ago"
|
||||
weeksAgo_other = "{{count}} weeks ago"
|
||||
yearsAgo_one = "{{count}} year ago"
|
||||
yearsAgo_other = "{{count}} years ago"
|
||||
|
||||
[users.cap]
|
||||
addProcessor = "+ Processor"
|
||||
approver = "Approves policy"
|
||||
@@ -10249,9 +10144,7 @@ by = "Invited by {{who}}"
|
||||
cancel = "Cancel"
|
||||
count = "{{count}} pending"
|
||||
desc = "Invited people who haven't joined yet. They hold a seat until they accept."
|
||||
expiresInDays_one = "Expires in {{count}} day"
|
||||
expiresInDays_other = "Expires in {{count}} days"
|
||||
expiresToday = "Expires today"
|
||||
expires = "Expires"
|
||||
title = "Pending invitations"
|
||||
|
||||
[users.loadError]
|
||||
@@ -10444,11 +10337,9 @@ title = "Attachments"
|
||||
|
||||
[viewer.bookmarks]
|
||||
bookmarkTitle = "Bookmark title"
|
||||
bookmarkTitleRequired = "Bookmark title is required"
|
||||
closeSidebar = "Close bookmarks sidebar"
|
||||
collapseAll = "Collapse all bookmarks"
|
||||
expandAll = "Expand all bookmarks"
|
||||
searchPlaceholder = "Search bookmarks"
|
||||
|
||||
[viewer.comments]
|
||||
addComment = "Add comment"
|
||||
|
||||
@@ -5980,6 +5980,16 @@ statDocsEnforced = "Docs enforced"
|
||||
statusActive = "Active"
|
||||
statusPaused = "Paused"
|
||||
|
||||
[policies.docType]
|
||||
Contracts = "Contratos"
|
||||
"Financial reports" = "Informes financieros"
|
||||
"HR records" = "Registros de RR. HH."
|
||||
Insurance = "Seguros"
|
||||
Invoices = "Facturas"
|
||||
"Legal filings" = "Presentaciones legales"
|
||||
"Medical / PHI" = "Médico / PHI"
|
||||
"Tax documents" = "Documentos fiscales"
|
||||
|
||||
[policies.enforcement]
|
||||
applying = "Aplicando {{names}}"
|
||||
applyingProgress = "Aplicando {{names}} ({{done}} de {{total}})"
|
||||
@@ -6015,6 +6025,51 @@ notify = "Notificar al enrutar"
|
||||
onViolation = "Cuando no cumple"
|
||||
webhookUrl = "Webhook URL"
|
||||
|
||||
[policies.fieldOption.archiveAfter]
|
||||
"1 year" = "1 año"
|
||||
"30 days" = "30 días"
|
||||
"90 days" = "90 días"
|
||||
Never = "Nunca"
|
||||
|
||||
[policies.fieldOption.belowThreshold]
|
||||
"Flag for review" = "Marcar para revisión"
|
||||
Hold = "Retener"
|
||||
"Route to bucket" = "Enrutar al bucket"
|
||||
|
||||
[policies.fieldOption.destination]
|
||||
Documents = "Documentos"
|
||||
"S3 bucket" = "S3 bucket"
|
||||
SharePoint = "SharePoint"
|
||||
Webhook = "Webhook"
|
||||
|
||||
[policies.fieldOption.frameworks]
|
||||
FedRAMP = "FedRAMP"
|
||||
GDPR = "GDPR"
|
||||
HIPAA = "HIPAA"
|
||||
"ISO 27001" = "ISO 27001"
|
||||
"PCI DSS" = "PCI DSS"
|
||||
"SOC 2" = "SOC 2"
|
||||
|
||||
[policies.fieldOption.keepFor]
|
||||
"1 year" = "1 año"
|
||||
"3 years" = "3 años"
|
||||
"30 days" = "30 días"
|
||||
"7 years" = "7 años"
|
||||
Indefinite = "Indefinido"
|
||||
|
||||
[policies.fieldOption.minConfidence]
|
||||
"60%" = "60%"
|
||||
"70%" = "70%"
|
||||
"80%" = "80%"
|
||||
"90%" = "90%"
|
||||
"95%" = "95%"
|
||||
|
||||
[policies.fieldOption.onViolation]
|
||||
"Auto-redact PHI" = "Censurar PHI automáticamente"
|
||||
"Block export" = "Bloquear exportación"
|
||||
"Flag for review" = "Marcar para revisión"
|
||||
"Quarantine document" = "Poner documento en cuarentena"
|
||||
|
||||
[policies.fields]
|
||||
selectedCount = "{{count}} selected"
|
||||
|
||||
@@ -6148,44 +6203,6 @@ dismiss = "Descartar superposición"
|
||||
enforcingTitle = "Aplicando política..."
|
||||
viewAnyway = "Ver archivo (la política aún se está aplicando)"
|
||||
|
||||
[policyOption]
|
||||
autoRedactPhi = "Censurar PHI automáticamente"
|
||||
blockExport = "Bloquear exportación"
|
||||
contracts = "Contratos"
|
||||
documents = "Documentos"
|
||||
fedramp = "FedRAMP"
|
||||
financialReports = "Informes financieros"
|
||||
flagForReview = "Marcar para revisión"
|
||||
gdpr = "GDPR"
|
||||
hipaa = "HIPAA"
|
||||
hold = "Retener"
|
||||
hrRecords = "Registros de RR. HH."
|
||||
indefinite = "Indefinido"
|
||||
insurance = "Seguros"
|
||||
invoices = "Facturas"
|
||||
iso27001 = "ISO 27001"
|
||||
legalFilings = "Presentaciones legales"
|
||||
medicalPhi = "Médico / PHI"
|
||||
never = "Nunca"
|
||||
ninetyDays = "90 días"
|
||||
oneYear = "1 año"
|
||||
p60 = "60%"
|
||||
p70 = "70%"
|
||||
p80 = "80%"
|
||||
p90 = "90%"
|
||||
p95 = "95%"
|
||||
pciDss = "PCI DSS"
|
||||
quarantineDocument = "Poner documento en cuarentena"
|
||||
routeToBucket = "Enrutar al bucket"
|
||||
s3Bucket = "S3 bucket"
|
||||
sevenYears = "7 años"
|
||||
sharePoint = "SharePoint"
|
||||
soc2 = "SOC 2"
|
||||
taxDocuments = "Documentos fiscales"
|
||||
thirtyDays = "30 días"
|
||||
threeYears = "3 años"
|
||||
webhook = "Webhook"
|
||||
|
||||
[portal]
|
||||
comingSoon = "Próximamente"
|
||||
|
||||
@@ -8050,6 +8067,10 @@ title = "Sesión caducada"
|
||||
[portal.users]
|
||||
title = "Usuarios"
|
||||
|
||||
[portal.users.roles]
|
||||
subtitle = "Cada rol existe en todos los planes — lo que cada uno puede hacer es fijo en toda la organización."
|
||||
title = "Roles"
|
||||
|
||||
[portal.users.roles.admin]
|
||||
label = "Admin (propietario de la org)"
|
||||
summary = "Gobierno completo sobre el espacio de trabajo, los ajustes y los miembros."
|
||||
|
||||
@@ -5980,6 +5980,16 @@ statDocsEnforced = "Docs enforced"
|
||||
statusActive = "Active"
|
||||
statusPaused = "Paused"
|
||||
|
||||
[policies.docType]
|
||||
Contracts = "Kontratuak"
|
||||
"Financial reports" = "Finantza-txostenak"
|
||||
"HR records" = "Giza baliabideen erregistroak"
|
||||
Insurance = "Aseguruak"
|
||||
Invoices = "Fakturak"
|
||||
"Legal filings" = "Legezko aurkezpenak"
|
||||
"Medical / PHI" = "Medikua / PHI"
|
||||
"Tax documents" = "Zerga-dokumentuak"
|
||||
|
||||
[policies.enforcement]
|
||||
applying = "{{names}} aplikatzen"
|
||||
applyingProgress = "{{names}} aplikatzen ({{done}}/{{total}})"
|
||||
@@ -6015,6 +6025,51 @@ notify = "Jakinarazi bideratzean"
|
||||
onViolation = "Betetzen ez denean"
|
||||
webhookUrl = "Webhook URL"
|
||||
|
||||
[policies.fieldOption.archiveAfter]
|
||||
"1 year" = "1 urte"
|
||||
"30 days" = "30 egun"
|
||||
"90 days" = "90 egun"
|
||||
Never = "Inoiz ez"
|
||||
|
||||
[policies.fieldOption.belowThreshold]
|
||||
"Flag for review" = "Markatu berrikusteko"
|
||||
Hold = "Eutsi"
|
||||
"Route to bucket" = "Bideratu bucket-era"
|
||||
|
||||
[policies.fieldOption.destination]
|
||||
Documents = "Dokumentuak"
|
||||
"S3 bucket" = "S3 bucket"
|
||||
SharePoint = "SharePoint"
|
||||
Webhook = "Webhook"
|
||||
|
||||
[policies.fieldOption.frameworks]
|
||||
FedRAMP = "FedRAMP"
|
||||
GDPR = "GDPR"
|
||||
HIPAA = "HIPAA"
|
||||
"ISO 27001" = "ISO 27001"
|
||||
"PCI DSS" = "PCI DSS"
|
||||
"SOC 2" = "SOC 2"
|
||||
|
||||
[policies.fieldOption.keepFor]
|
||||
"1 year" = "1 urte"
|
||||
"3 years" = "3 urte"
|
||||
"30 days" = "30 egun"
|
||||
"7 years" = "7 urte"
|
||||
Indefinite = "Mugagabe"
|
||||
|
||||
[policies.fieldOption.minConfidence]
|
||||
"60%" = "60%"
|
||||
"70%" = "70%"
|
||||
"80%" = "80%"
|
||||
"90%" = "90%"
|
||||
"95%" = "95%"
|
||||
|
||||
[policies.fieldOption.onViolation]
|
||||
"Auto-redact PHI" = "Automatikoki ezkutatu PHI"
|
||||
"Block export" = "Blokeatu esportazioa"
|
||||
"Flag for review" = "Markatu berrikusteko"
|
||||
"Quarantine document" = "Jarri dokumentua berrogeialdian"
|
||||
|
||||
[policies.fields]
|
||||
selectedCount = "{{count}} selected"
|
||||
|
||||
@@ -6148,44 +6203,6 @@ dismiss = "Baztertu gainjartzea"
|
||||
enforcingTitle = "Politika betearazten..."
|
||||
viewAnyway = "Ikusi fitxategia (politika oraindik betearazten ari da)"
|
||||
|
||||
[policyOption]
|
||||
autoRedactPhi = "Automatikoki ezkutatu PHI"
|
||||
blockExport = "Blokeatu esportazioa"
|
||||
contracts = "Kontratuak"
|
||||
documents = "Dokumentuak"
|
||||
fedramp = "FedRAMP"
|
||||
financialReports = "Finantza-txostenak"
|
||||
flagForReview = "Markatu berrikusteko"
|
||||
gdpr = "GDPR"
|
||||
hipaa = "HIPAA"
|
||||
hold = "Eutsi"
|
||||
hrRecords = "Giza baliabideen erregistroak"
|
||||
indefinite = "Mugagabe"
|
||||
insurance = "Aseguruak"
|
||||
invoices = "Fakturak"
|
||||
iso27001 = "ISO 27001"
|
||||
legalFilings = "Legezko aurkezpenak"
|
||||
medicalPhi = "Medikua / PHI"
|
||||
never = "Inoiz ez"
|
||||
ninetyDays = "90 egun"
|
||||
oneYear = "1 urte"
|
||||
p60 = "60%"
|
||||
p70 = "70%"
|
||||
p80 = "80%"
|
||||
p90 = "90%"
|
||||
p95 = "95%"
|
||||
pciDss = "PCI DSS"
|
||||
quarantineDocument = "Jarri dokumentua berrogeialdian"
|
||||
routeToBucket = "Bideratu bucket-era"
|
||||
s3Bucket = "S3 bucket"
|
||||
sevenYears = "7 urte"
|
||||
sharePoint = "SharePoint"
|
||||
soc2 = "SOC 2"
|
||||
taxDocuments = "Zerga-dokumentuak"
|
||||
thirtyDays = "30 egun"
|
||||
threeYears = "3 urte"
|
||||
webhook = "Webhook"
|
||||
|
||||
[portal]
|
||||
comingSoon = "Laster"
|
||||
|
||||
@@ -8050,6 +8067,10 @@ title = "Saioa iraungi da"
|
||||
[portal.users]
|
||||
title = "Erabiltzaileak"
|
||||
|
||||
[portal.users.roles]
|
||||
subtitle = "Rol guztiak plan guztietan daude — bakoitzak egin dezakeena finkoa da erakunde osoan."
|
||||
title = "Rolak"
|
||||
|
||||
[portal.users.roles.admin]
|
||||
label = "Admin (erakundearen jabea)"
|
||||
summary = "Lan-eremuaren, ezarpenen eta kideen gaineko gobernantza osoa."
|
||||
|
||||
@@ -5980,6 +5980,16 @@ statDocsEnforced = "Docs enforced"
|
||||
statusActive = "Active"
|
||||
statusPaused = "Paused"
|
||||
|
||||
[policies.docType]
|
||||
Contracts = "قراردادها"
|
||||
"Financial reports" = "گزارشهای مالی"
|
||||
"HR records" = "سوابق منابع انسانی"
|
||||
Insurance = "بیمه"
|
||||
Invoices = "فاکتورها"
|
||||
"Legal filings" = "پروندههای حقوقی"
|
||||
"Medical / PHI" = "پزشکی / PHI"
|
||||
"Tax documents" = "اسناد مالیاتی"
|
||||
|
||||
[policies.enforcement]
|
||||
applying = "در حال اعمال {{names}}"
|
||||
applyingProgress = "در حال اعمال {{names}} ({{done}} از {{total}})"
|
||||
@@ -6015,6 +6025,51 @@ notify = "اعلان هنگام مسیریابی"
|
||||
onViolation = "هنگام عدم انطباق"
|
||||
webhookUrl = "URL Webhook"
|
||||
|
||||
[policies.fieldOption.archiveAfter]
|
||||
"1 year" = "۱ سال"
|
||||
"30 days" = "۳۰ روز"
|
||||
"90 days" = "۹۰ روز"
|
||||
Never = "هرگز"
|
||||
|
||||
[policies.fieldOption.belowThreshold]
|
||||
"Flag for review" = "علامتگذاری برای بازبینی"
|
||||
Hold = "نگه داشتن"
|
||||
"Route to bucket" = "مسیریابی به bucket"
|
||||
|
||||
[policies.fieldOption.destination]
|
||||
Documents = "اسناد"
|
||||
"S3 bucket" = "S3 bucket"
|
||||
SharePoint = "SharePoint"
|
||||
Webhook = "Webhook"
|
||||
|
||||
[policies.fieldOption.frameworks]
|
||||
FedRAMP = "FedRAMP"
|
||||
GDPR = "GDPR"
|
||||
HIPAA = "HIPAA"
|
||||
"ISO 27001" = "ISO 27001"
|
||||
"PCI DSS" = "PCI DSS"
|
||||
"SOC 2" = "SOC 2"
|
||||
|
||||
[policies.fieldOption.keepFor]
|
||||
"1 year" = "۱ سال"
|
||||
"3 years" = "۳ سال"
|
||||
"30 days" = "۳۰ روز"
|
||||
"7 years" = "۷ سال"
|
||||
Indefinite = "نامحدود"
|
||||
|
||||
[policies.fieldOption.minConfidence]
|
||||
"60%" = "60%"
|
||||
"70%" = "70%"
|
||||
"80%" = "80%"
|
||||
"90%" = "90%"
|
||||
"95%" = "95%"
|
||||
|
||||
[policies.fieldOption.onViolation]
|
||||
"Auto-redact PHI" = "حذف خودکار PHI"
|
||||
"Block export" = "مسدود کردن خروجی"
|
||||
"Flag for review" = "علامتگذاری برای بازبینی"
|
||||
"Quarantine document" = "قرنطینه کردن سند"
|
||||
|
||||
[policies.fields]
|
||||
selectedCount = "{{count}} selected"
|
||||
|
||||
@@ -6148,44 +6203,6 @@ dismiss = "بستن پوشش"
|
||||
enforcingTitle = "در حال اعمال خطمشی..."
|
||||
viewAnyway = "مشاهده فایل (خطمشی همچنان در حال اعمال است)"
|
||||
|
||||
[policyOption]
|
||||
autoRedactPhi = "حذف خودکار PHI"
|
||||
blockExport = "مسدود کردن خروجی"
|
||||
contracts = "قراردادها"
|
||||
documents = "اسناد"
|
||||
fedramp = "FedRAMP"
|
||||
financialReports = "گزارشهای مالی"
|
||||
flagForReview = "علامتگذاری برای بازبینی"
|
||||
gdpr = "GDPR"
|
||||
hipaa = "HIPAA"
|
||||
hold = "نگه داشتن"
|
||||
hrRecords = "سوابق منابع انسانی"
|
||||
indefinite = "نامحدود"
|
||||
insurance = "بیمه"
|
||||
invoices = "فاکتورها"
|
||||
iso27001 = "ISO 27001"
|
||||
legalFilings = "پروندههای حقوقی"
|
||||
medicalPhi = "پزشکی / PHI"
|
||||
never = "هرگز"
|
||||
ninetyDays = "۹۰ روز"
|
||||
oneYear = "۱ سال"
|
||||
p60 = "60%"
|
||||
p70 = "70%"
|
||||
p80 = "80%"
|
||||
p90 = "90%"
|
||||
p95 = "95%"
|
||||
pciDss = "PCI DSS"
|
||||
quarantineDocument = "قرنطینه کردن سند"
|
||||
routeToBucket = "مسیریابی به bucket"
|
||||
s3Bucket = "S3 bucket"
|
||||
sevenYears = "۷ سال"
|
||||
sharePoint = "SharePoint"
|
||||
soc2 = "SOC 2"
|
||||
taxDocuments = "اسناد مالیاتی"
|
||||
thirtyDays = "۳۰ روز"
|
||||
threeYears = "۳ سال"
|
||||
webhook = "Webhook"
|
||||
|
||||
[portal]
|
||||
comingSoon = "بهزودی"
|
||||
|
||||
@@ -8050,6 +8067,10 @@ title = "نشست منقضی شد"
|
||||
[portal.users]
|
||||
title = "کاربران"
|
||||
|
||||
[portal.users.roles]
|
||||
subtitle = "هر نقش در هر طرح وجود دارد — کاری که هر نقش میتواند انجام دهد در کل سازمان ثابت است."
|
||||
title = "نقشها"
|
||||
|
||||
[portal.users.roles.admin]
|
||||
label = "مدیر (مالک سازمان)"
|
||||
summary = "حاکمیت کامل بر فضای کاری، تنظیمات و اعضا."
|
||||
|
||||
@@ -5980,6 +5980,16 @@ statDocsEnforced = "Docs enforced"
|
||||
statusActive = "Active"
|
||||
statusPaused = "Paused"
|
||||
|
||||
[policies.docType]
|
||||
Contracts = "Contrats"
|
||||
"Financial reports" = "Rapports financiers"
|
||||
"HR records" = "Dossiers RH"
|
||||
Insurance = "Assurance"
|
||||
Invoices = "Factures"
|
||||
"Legal filings" = "Dépôts juridiques"
|
||||
"Medical / PHI" = "Médical / PHI"
|
||||
"Tax documents" = "Documents fiscaux"
|
||||
|
||||
[policies.enforcement]
|
||||
applying = "Application de {{names}}"
|
||||
applyingProgress = "Application de {{names}} ({{done}} sur {{total}})"
|
||||
@@ -6015,6 +6025,51 @@ notify = "Notifier lors du routage"
|
||||
onViolation = "En cas de non-conformité"
|
||||
webhookUrl = "URL du webhook"
|
||||
|
||||
[policies.fieldOption.archiveAfter]
|
||||
"1 year" = "1 an"
|
||||
"30 days" = "30 jours"
|
||||
"90 days" = "90 jours"
|
||||
Never = "Jamais"
|
||||
|
||||
[policies.fieldOption.belowThreshold]
|
||||
"Flag for review" = "Marquer pour examen"
|
||||
Hold = "Mettre en attente"
|
||||
"Route to bucket" = "Acheminer vers le bucket"
|
||||
|
||||
[policies.fieldOption.destination]
|
||||
Documents = "Documents"
|
||||
"S3 bucket" = "Bucket S3"
|
||||
SharePoint = "SharePoint"
|
||||
Webhook = "Webhook"
|
||||
|
||||
[policies.fieldOption.frameworks]
|
||||
FedRAMP = "FedRAMP"
|
||||
GDPR = "GDPR"
|
||||
HIPAA = "HIPAA"
|
||||
"ISO 27001" = "ISO 27001"
|
||||
"PCI DSS" = "PCI DSS"
|
||||
"SOC 2" = "SOC 2"
|
||||
|
||||
[policies.fieldOption.keepFor]
|
||||
"1 year" = "1 an"
|
||||
"3 years" = "3 ans"
|
||||
"30 days" = "30 jours"
|
||||
"7 years" = "7 ans"
|
||||
Indefinite = "Indéfiniment"
|
||||
|
||||
[policies.fieldOption.minConfidence]
|
||||
"60%" = "60%"
|
||||
"70%" = "70%"
|
||||
"80%" = "80%"
|
||||
"90%" = "90%"
|
||||
"95%" = "95%"
|
||||
|
||||
[policies.fieldOption.onViolation]
|
||||
"Auto-redact PHI" = "Masquer automatiquement les PHI"
|
||||
"Block export" = "Bloquer l’exportation"
|
||||
"Flag for review" = "Marquer pour examen"
|
||||
"Quarantine document" = "Mettre le document en quarantaine"
|
||||
|
||||
[policies.fields]
|
||||
selectedCount = "{{count}} selected"
|
||||
|
||||
@@ -6148,44 +6203,6 @@ dismiss = "Fermer la superposition"
|
||||
enforcingTitle = "Application de la politique..."
|
||||
viewAnyway = "Voir le fichier (politique toujours en cours d’application)"
|
||||
|
||||
[policyOption]
|
||||
autoRedactPhi = "Masquer automatiquement les PHI"
|
||||
blockExport = "Bloquer l’exportation"
|
||||
contracts = "Contrats"
|
||||
documents = "Documents"
|
||||
fedramp = "FedRAMP"
|
||||
financialReports = "Rapports financiers"
|
||||
flagForReview = "Marquer pour examen"
|
||||
gdpr = "GDPR"
|
||||
hipaa = "HIPAA"
|
||||
hold = "Mettre en attente"
|
||||
hrRecords = "Dossiers RH"
|
||||
indefinite = "Indéfiniment"
|
||||
insurance = "Assurance"
|
||||
invoices = "Factures"
|
||||
iso27001 = "ISO 27001"
|
||||
legalFilings = "Dépôts juridiques"
|
||||
medicalPhi = "Médical / PHI"
|
||||
never = "Jamais"
|
||||
ninetyDays = "90 jours"
|
||||
oneYear = "1 an"
|
||||
p60 = "60%"
|
||||
p70 = "70%"
|
||||
p80 = "80%"
|
||||
p90 = "90%"
|
||||
p95 = "95%"
|
||||
pciDss = "PCI DSS"
|
||||
quarantineDocument = "Mettre le document en quarantaine"
|
||||
routeToBucket = "Acheminer vers le bucket"
|
||||
s3Bucket = "Bucket S3"
|
||||
sevenYears = "7 ans"
|
||||
sharePoint = "SharePoint"
|
||||
soc2 = "SOC 2"
|
||||
taxDocuments = "Documents fiscaux"
|
||||
thirtyDays = "30 jours"
|
||||
threeYears = "3 ans"
|
||||
webhook = "Webhook"
|
||||
|
||||
[portal]
|
||||
comingSoon = "Bientôt disponible"
|
||||
|
||||
@@ -8050,6 +8067,10 @@ title = "Session expirée"
|
||||
[portal.users]
|
||||
title = "Utilisateurs"
|
||||
|
||||
[portal.users.roles]
|
||||
subtitle = "Chaque rôle existe sur chaque plan — ce que chacun peut faire est fixe dans toute l’organisation."
|
||||
title = "Rôles"
|
||||
|
||||
[portal.users.roles.admin]
|
||||
label = "Admin (propriétaire de l’organisation)"
|
||||
summary = "Gouvernance complète de l’espace de travail, des paramètres et des membres."
|
||||
|
||||
@@ -5980,6 +5980,16 @@ statDocsEnforced = "Docs enforced"
|
||||
statusActive = "Active"
|
||||
statusPaused = "Paused"
|
||||
|
||||
[policies.docType]
|
||||
Contracts = "Conarthaí"
|
||||
"Financial reports" = "Tuarascálacha airgeadais"
|
||||
"HR records" = "Taifid AD"
|
||||
Insurance = "Árachas"
|
||||
Invoices = "Sonraisc"
|
||||
"Legal filings" = "Comhdúcháin dlí"
|
||||
"Medical / PHI" = "Leighis / PHI"
|
||||
"Tax documents" = "Doiciméid chánach"
|
||||
|
||||
[policies.enforcement]
|
||||
applying = "Á chur {{names}} i bhfeidhm"
|
||||
applyingProgress = "Á chur {{names}} i bhfeidhm ({{done}} as {{total}})"
|
||||
@@ -6015,6 +6025,51 @@ notify = "Cuir ar an eolas ar ródú"
|
||||
onViolation = "Nuair nach bhfuil sé comhlíontach"
|
||||
webhookUrl = "Webhook URL"
|
||||
|
||||
[policies.fieldOption.archiveAfter]
|
||||
"1 year" = "1 bhliain"
|
||||
"30 days" = "30 lá"
|
||||
"90 days" = "90 lá"
|
||||
Never = "Riamh"
|
||||
|
||||
[policies.fieldOption.belowThreshold]
|
||||
"Flag for review" = "Marcáil le hathbhreithniú"
|
||||
Hold = "Coinnigh"
|
||||
"Route to bucket" = "Ródaigh chuig bucket"
|
||||
|
||||
[policies.fieldOption.destination]
|
||||
Documents = "Doiciméid"
|
||||
"S3 bucket" = "S3 bucket"
|
||||
SharePoint = "SharePoint"
|
||||
Webhook = "Webhook"
|
||||
|
||||
[policies.fieldOption.frameworks]
|
||||
FedRAMP = "FedRAMP"
|
||||
GDPR = "GDPR"
|
||||
HIPAA = "HIPAA"
|
||||
"ISO 27001" = "ISO 27001"
|
||||
"PCI DSS" = "PCI DSS"
|
||||
"SOC 2" = "SOC 2"
|
||||
|
||||
[policies.fieldOption.keepFor]
|
||||
"1 year" = "1 bhliain"
|
||||
"3 years" = "3 bliana"
|
||||
"30 days" = "30 lá"
|
||||
"7 years" = "7 mbliana"
|
||||
Indefinite = "Gan teorainn"
|
||||
|
||||
[policies.fieldOption.minConfidence]
|
||||
"60%" = "60%"
|
||||
"70%" = "70%"
|
||||
"80%" = "80%"
|
||||
"90%" = "90%"
|
||||
"95%" = "95%"
|
||||
|
||||
[policies.fieldOption.onViolation]
|
||||
"Auto-redact PHI" = "Ceil PHI go huathoibríoch"
|
||||
"Block export" = "Blocáil easpórtáil"
|
||||
"Flag for review" = "Marcáil le hathbhreithniú"
|
||||
"Quarantine document" = "Cuir doiciméad i gcoraintín"
|
||||
|
||||
[policies.fields]
|
||||
selectedCount = "{{count}} selected"
|
||||
|
||||
@@ -6148,44 +6203,6 @@ dismiss = "Dún forleagan"
|
||||
enforcingTitle = "Polasaí á chur i bhfeidhm..."
|
||||
viewAnyway = "Amharc ar chomhad (polasaí fós á chur i bhfeidhm)"
|
||||
|
||||
[policyOption]
|
||||
autoRedactPhi = "Ceil PHI go huathoibríoch"
|
||||
blockExport = "Blocáil easpórtáil"
|
||||
contracts = "Conarthaí"
|
||||
documents = "Doiciméid"
|
||||
fedramp = "FedRAMP"
|
||||
financialReports = "Tuarascálacha airgeadais"
|
||||
flagForReview = "Marcáil le hathbhreithniú"
|
||||
gdpr = "GDPR"
|
||||
hipaa = "HIPAA"
|
||||
hold = "Coinnigh"
|
||||
hrRecords = "Taifid AD"
|
||||
indefinite = "Gan teorainn"
|
||||
insurance = "Árachas"
|
||||
invoices = "Sonraisc"
|
||||
iso27001 = "ISO 27001"
|
||||
legalFilings = "Comhdúcháin dlí"
|
||||
medicalPhi = "Leighis / PHI"
|
||||
never = "Riamh"
|
||||
ninetyDays = "90 lá"
|
||||
oneYear = "1 bhliain"
|
||||
p60 = "60%"
|
||||
p70 = "70%"
|
||||
p80 = "80%"
|
||||
p90 = "90%"
|
||||
p95 = "95%"
|
||||
pciDss = "PCI DSS"
|
||||
quarantineDocument = "Cuir doiciméad i gcoraintín"
|
||||
routeToBucket = "Ródaigh chuig bucket"
|
||||
s3Bucket = "S3 bucket"
|
||||
sevenYears = "7 mbliana"
|
||||
sharePoint = "SharePoint"
|
||||
soc2 = "SOC 2"
|
||||
taxDocuments = "Doiciméid chánach"
|
||||
thirtyDays = "30 lá"
|
||||
threeYears = "3 bliana"
|
||||
webhook = "Webhook"
|
||||
|
||||
[portal]
|
||||
comingSoon = "Ag teacht go luath"
|
||||
|
||||
@@ -8050,6 +8067,10 @@ title = "Seisiún imithe in éag"
|
||||
[portal.users]
|
||||
title = "Úsáideoirí"
|
||||
|
||||
[portal.users.roles]
|
||||
subtitle = "Tá gach ról ann ar gach plean — tá an méid is féidir le gach ceann a dhéanamh socraithe ar fud na heagraíochta."
|
||||
title = "Róil"
|
||||
|
||||
[portal.users.roles.admin]
|
||||
label = "Riarachán (Úinéir eagraíochta)"
|
||||
summary = "Rialachas iomlán ar an spás oibre, socruithe agus baill."
|
||||
|
||||
@@ -5980,6 +5980,16 @@ statDocsEnforced = "Docs enforced"
|
||||
statusActive = "Active"
|
||||
statusPaused = "Paused"
|
||||
|
||||
[policies.docType]
|
||||
Contracts = "अनुबंध"
|
||||
"Financial reports" = "वित्तीय रिपोर्ट"
|
||||
"HR records" = "HR रिकॉर्ड"
|
||||
Insurance = "बीमा"
|
||||
Invoices = "इनवॉइस"
|
||||
"Legal filings" = "कानूनी फ़ाइलिंग"
|
||||
"Medical / PHI" = "मेडिकल / PHI"
|
||||
"Tax documents" = "कर दस्तावेज़"
|
||||
|
||||
[policies.enforcement]
|
||||
applying = "{{names}} लागू किए जा रहे हैं"
|
||||
applyingProgress = "{{names}} लागू किए जा रहे हैं ({{done}}/{{total}})"
|
||||
@@ -6015,6 +6025,51 @@ notify = "रूट पर सूचित करें"
|
||||
onViolation = "अनुपालन न होने पर"
|
||||
webhookUrl = "Webhook URL"
|
||||
|
||||
[policies.fieldOption.archiveAfter]
|
||||
"1 year" = "1 वर्ष"
|
||||
"30 days" = "30 दिन"
|
||||
"90 days" = "90 दिन"
|
||||
Never = "कभी नहीं"
|
||||
|
||||
[policies.fieldOption.belowThreshold]
|
||||
"Flag for review" = "समीक्षा के लिए फ़्लैग करें"
|
||||
Hold = "होल्ड करें"
|
||||
"Route to bucket" = "बकेट में रूट करें"
|
||||
|
||||
[policies.fieldOption.destination]
|
||||
Documents = "दस्तावेज़"
|
||||
"S3 bucket" = "S3 बकेट"
|
||||
SharePoint = "SharePoint"
|
||||
Webhook = "Webhook"
|
||||
|
||||
[policies.fieldOption.frameworks]
|
||||
FedRAMP = "FedRAMP"
|
||||
GDPR = "GDPR"
|
||||
HIPAA = "HIPAA"
|
||||
"ISO 27001" = "ISO 27001"
|
||||
"PCI DSS" = "PCI DSS"
|
||||
"SOC 2" = "SOC 2"
|
||||
|
||||
[policies.fieldOption.keepFor]
|
||||
"1 year" = "1 वर्ष"
|
||||
"3 years" = "3 वर्ष"
|
||||
"30 days" = "30 दिन"
|
||||
"7 years" = "7 वर्ष"
|
||||
Indefinite = "अनिश्चित काल"
|
||||
|
||||
[policies.fieldOption.minConfidence]
|
||||
"60%" = "60%"
|
||||
"70%" = "70%"
|
||||
"80%" = "80%"
|
||||
"90%" = "90%"
|
||||
"95%" = "95%"
|
||||
|
||||
[policies.fieldOption.onViolation]
|
||||
"Auto-redact PHI" = "PHI को अपने-आप redact करें"
|
||||
"Block export" = "export ब्लॉक करें"
|
||||
"Flag for review" = "समीक्षा के लिए फ़्लैग करें"
|
||||
"Quarantine document" = "दस्तावेज़ को क्वारंटीन करें"
|
||||
|
||||
[policies.fields]
|
||||
selectedCount = "{{count}} selected"
|
||||
|
||||
@@ -6148,44 +6203,6 @@ dismiss = "ओवरले हटाएँ"
|
||||
enforcingTitle = "policy लागू हो रही है..."
|
||||
viewAnyway = "फ़ाइल देखें (policy अभी भी लागू हो रही है)"
|
||||
|
||||
[policyOption]
|
||||
autoRedactPhi = "PHI को अपने-आप redact करें"
|
||||
blockExport = "export ब्लॉक करें"
|
||||
contracts = "अनुबंध"
|
||||
documents = "दस्तावेज़"
|
||||
fedramp = "FedRAMP"
|
||||
financialReports = "वित्तीय रिपोर्ट"
|
||||
flagForReview = "समीक्षा के लिए फ़्लैग करें"
|
||||
gdpr = "GDPR"
|
||||
hipaa = "HIPAA"
|
||||
hold = "होल्ड करें"
|
||||
hrRecords = "HR रिकॉर्ड"
|
||||
indefinite = "अनिश्चित काल"
|
||||
insurance = "बीमा"
|
||||
invoices = "इनवॉइस"
|
||||
iso27001 = "ISO 27001"
|
||||
legalFilings = "कानूनी फ़ाइलिंग"
|
||||
medicalPhi = "मेडिकल / PHI"
|
||||
never = "कभी नहीं"
|
||||
ninetyDays = "90 दिन"
|
||||
oneYear = "1 वर्ष"
|
||||
p60 = "60%"
|
||||
p70 = "70%"
|
||||
p80 = "80%"
|
||||
p90 = "90%"
|
||||
p95 = "95%"
|
||||
pciDss = "PCI DSS"
|
||||
quarantineDocument = "दस्तावेज़ को क्वारंटीन करें"
|
||||
routeToBucket = "बकेट में रूट करें"
|
||||
s3Bucket = "S3 बकेट"
|
||||
sevenYears = "7 वर्ष"
|
||||
sharePoint = "SharePoint"
|
||||
soc2 = "SOC 2"
|
||||
taxDocuments = "कर दस्तावेज़"
|
||||
thirtyDays = "30 दिन"
|
||||
threeYears = "3 वर्ष"
|
||||
webhook = "Webhook"
|
||||
|
||||
[portal]
|
||||
comingSoon = "जल्द आ रहा है"
|
||||
|
||||
@@ -8050,6 +8067,10 @@ title = "Session समाप्त"
|
||||
[portal.users]
|
||||
title = "उपयोगकर्ता"
|
||||
|
||||
[portal.users.roles]
|
||||
subtitle = "हर role हर plan पर मौजूद है — प्रत्येक क्या कर सकता है, यह org में fixed है।"
|
||||
title = "Roles"
|
||||
|
||||
[portal.users.roles.admin]
|
||||
label = "Admin (Org owner)"
|
||||
summary = "Workspace, settings और members पर पूर्ण governance।"
|
||||
|
||||
@@ -5980,6 +5980,16 @@ statDocsEnforced = "Docs enforced"
|
||||
statusActive = "Active"
|
||||
statusPaused = "Paused"
|
||||
|
||||
[policies.docType]
|
||||
Contracts = "Ugovori"
|
||||
"Financial reports" = "Financijska izvješća"
|
||||
"HR records" = "HR evidencija"
|
||||
Insurance = "Osiguranje"
|
||||
Invoices = "Računi"
|
||||
"Legal filings" = "Pravni podnesci"
|
||||
"Medical / PHI" = "Medicinski / PHI"
|
||||
"Tax documents" = "Porezni dokumenti"
|
||||
|
||||
[policies.enforcement]
|
||||
applying = "Primjenjuje se {{names}}"
|
||||
applyingProgress = "Primjenjuje se {{names}} ({{done}} od {{total}})"
|
||||
@@ -6015,6 +6025,51 @@ notify = "Obavijesti pri usmjeravanju"
|
||||
onViolation = "Kada nije usklađeno"
|
||||
webhookUrl = "Webhook URL"
|
||||
|
||||
[policies.fieldOption.archiveAfter]
|
||||
"1 year" = "1 godina"
|
||||
"30 days" = "30 dana"
|
||||
"90 days" = "90 dana"
|
||||
Never = "Nikad"
|
||||
|
||||
[policies.fieldOption.belowThreshold]
|
||||
"Flag for review" = "Označi za pregled"
|
||||
Hold = "Zadrži"
|
||||
"Route to bucket" = "Usmjeri u bucket"
|
||||
|
||||
[policies.fieldOption.destination]
|
||||
Documents = "Dokumenti"
|
||||
"S3 bucket" = "S3 bucket"
|
||||
SharePoint = "SharePoint"
|
||||
Webhook = "Webhook"
|
||||
|
||||
[policies.fieldOption.frameworks]
|
||||
FedRAMP = "FedRAMP"
|
||||
GDPR = "GDPR"
|
||||
HIPAA = "HIPAA"
|
||||
"ISO 27001" = "ISO 27001"
|
||||
"PCI DSS" = "PCI DSS"
|
||||
"SOC 2" = "SOC 2"
|
||||
|
||||
[policies.fieldOption.keepFor]
|
||||
"1 year" = "1 godina"
|
||||
"3 years" = "3 godine"
|
||||
"30 days" = "30 dana"
|
||||
"7 years" = "7 godina"
|
||||
Indefinite = "Neograničeno"
|
||||
|
||||
[policies.fieldOption.minConfidence]
|
||||
"60%" = "60%"
|
||||
"70%" = "70%"
|
||||
"80%" = "80%"
|
||||
"90%" = "90%"
|
||||
"95%" = "95%"
|
||||
|
||||
[policies.fieldOption.onViolation]
|
||||
"Auto-redact PHI" = "Automatski redigiraj PHI"
|
||||
"Block export" = "Blokiraj izvoz"
|
||||
"Flag for review" = "Označi za pregled"
|
||||
"Quarantine document" = "Stavi dokument u karantenu"
|
||||
|
||||
[policies.fields]
|
||||
selectedCount = "{{count}} selected"
|
||||
|
||||
@@ -6148,44 +6203,6 @@ dismiss = "Zatvori preklapanje"
|
||||
enforcingTitle = "Primjena pravila..."
|
||||
viewAnyway = "Prikaži datoteku (pravilo se još primjenjuje)"
|
||||
|
||||
[policyOption]
|
||||
autoRedactPhi = "Automatski redigiraj PHI"
|
||||
blockExport = "Blokiraj izvoz"
|
||||
contracts = "Ugovori"
|
||||
documents = "Dokumenti"
|
||||
fedramp = "FedRAMP"
|
||||
financialReports = "Financijska izvješća"
|
||||
flagForReview = "Označi za pregled"
|
||||
gdpr = "GDPR"
|
||||
hipaa = "HIPAA"
|
||||
hold = "Zadrži"
|
||||
hrRecords = "HR evidencija"
|
||||
indefinite = "Neograničeno"
|
||||
insurance = "Osiguranje"
|
||||
invoices = "Računi"
|
||||
iso27001 = "ISO 27001"
|
||||
legalFilings = "Pravni podnesci"
|
||||
medicalPhi = "Medicinski / PHI"
|
||||
never = "Nikad"
|
||||
ninetyDays = "90 dana"
|
||||
oneYear = "1 godina"
|
||||
p60 = "60%"
|
||||
p70 = "70%"
|
||||
p80 = "80%"
|
||||
p90 = "90%"
|
||||
p95 = "95%"
|
||||
pciDss = "PCI DSS"
|
||||
quarantineDocument = "Stavi dokument u karantenu"
|
||||
routeToBucket = "Usmjeri u bucket"
|
||||
s3Bucket = "S3 bucket"
|
||||
sevenYears = "7 godina"
|
||||
sharePoint = "SharePoint"
|
||||
soc2 = "SOC 2"
|
||||
taxDocuments = "Porezni dokumenti"
|
||||
thirtyDays = "30 dana"
|
||||
threeYears = "3 godine"
|
||||
webhook = "Webhook"
|
||||
|
||||
[portal]
|
||||
comingSoon = "Uskoro"
|
||||
|
||||
@@ -8050,6 +8067,10 @@ title = "Sesija je istekla"
|
||||
[portal.users]
|
||||
title = "Korisnici"
|
||||
|
||||
[portal.users.roles]
|
||||
subtitle = "Svaka uloga postoji na svakom planu — što svaka može raditi fiksno je na razini organizacije."
|
||||
title = "Uloge"
|
||||
|
||||
[portal.users.roles.admin]
|
||||
label = "Admin (vlasnik organizacije)"
|
||||
summary = "Potpuno upravljanje radnim prostorom, postavkama i članovima."
|
||||
|
||||
@@ -5980,6 +5980,16 @@ statDocsEnforced = "Docs enforced"
|
||||
statusActive = "Active"
|
||||
statusPaused = "Paused"
|
||||
|
||||
[policies.docType]
|
||||
Contracts = "Szerződések"
|
||||
"Financial reports" = "Pénzügyi jelentések"
|
||||
"HR records" = "HR nyilvántartások"
|
||||
Insurance = "Biztosítás"
|
||||
Invoices = "Számlák"
|
||||
"Legal filings" = "Jogi beadványok"
|
||||
"Medical / PHI" = "Orvosi / PHI"
|
||||
"Tax documents" = "Adóügyi dokumentumok"
|
||||
|
||||
[policies.enforcement]
|
||||
applying = "A(z) {{names}} alkalmazása"
|
||||
applyingProgress = "A(z) {{names}} alkalmazása ({{done}} / {{total}})"
|
||||
@@ -6015,6 +6025,51 @@ notify = "Értesítés útvonalon"
|
||||
onViolation = "Ha nem megfelelő"
|
||||
webhookUrl = "Webhook URL"
|
||||
|
||||
[policies.fieldOption.archiveAfter]
|
||||
"1 year" = "1 év"
|
||||
"30 days" = "30 nap"
|
||||
"90 days" = "90 nap"
|
||||
Never = "Soha"
|
||||
|
||||
[policies.fieldOption.belowThreshold]
|
||||
"Flag for review" = "Megjelölés felülvizsgálatra"
|
||||
Hold = "Visszatartás"
|
||||
"Route to bucket" = "Továbbítás bucketbe"
|
||||
|
||||
[policies.fieldOption.destination]
|
||||
Documents = "Dokumentumok"
|
||||
"S3 bucket" = "S3 bucket"
|
||||
SharePoint = "SharePoint"
|
||||
Webhook = "Webhook"
|
||||
|
||||
[policies.fieldOption.frameworks]
|
||||
FedRAMP = "FedRAMP"
|
||||
GDPR = "GDPR"
|
||||
HIPAA = "HIPAA"
|
||||
"ISO 27001" = "ISO 27001"
|
||||
"PCI DSS" = "PCI DSS"
|
||||
"SOC 2" = "SOC 2"
|
||||
|
||||
[policies.fieldOption.keepFor]
|
||||
"1 year" = "1 év"
|
||||
"3 years" = "3 év"
|
||||
"30 days" = "30 nap"
|
||||
"7 years" = "7 év"
|
||||
Indefinite = "Határozatlan ideig"
|
||||
|
||||
[policies.fieldOption.minConfidence]
|
||||
"60%" = "60%"
|
||||
"70%" = "70%"
|
||||
"80%" = "80%"
|
||||
"90%" = "90%"
|
||||
"95%" = "95%"
|
||||
|
||||
[policies.fieldOption.onViolation]
|
||||
"Auto-redact PHI" = "PHI automatikus kitakarása"
|
||||
"Block export" = "Exportálás blokkolása"
|
||||
"Flag for review" = "Megjelölés felülvizsgálatra"
|
||||
"Quarantine document" = "Dokumentum karanténba helyezése"
|
||||
|
||||
[policies.fields]
|
||||
selectedCount = "{{count}} selected"
|
||||
|
||||
@@ -6148,44 +6203,6 @@ dismiss = "Átfedés elvetése"
|
||||
enforcingTitle = "Szabályzat érvényesítése..."
|
||||
viewAnyway = "Fájl megtekintése (a szabályzat érvényesítése még tart)"
|
||||
|
||||
[policyOption]
|
||||
autoRedactPhi = "PHI automatikus kitakarása"
|
||||
blockExport = "Exportálás blokkolása"
|
||||
contracts = "Szerződések"
|
||||
documents = "Dokumentumok"
|
||||
fedramp = "FedRAMP"
|
||||
financialReports = "Pénzügyi jelentések"
|
||||
flagForReview = "Megjelölés felülvizsgálatra"
|
||||
gdpr = "GDPR"
|
||||
hipaa = "HIPAA"
|
||||
hold = "Visszatartás"
|
||||
hrRecords = "HR nyilvántartások"
|
||||
indefinite = "Határozatlan ideig"
|
||||
insurance = "Biztosítás"
|
||||
invoices = "Számlák"
|
||||
iso27001 = "ISO 27001"
|
||||
legalFilings = "Jogi beadványok"
|
||||
medicalPhi = "Orvosi / PHI"
|
||||
never = "Soha"
|
||||
ninetyDays = "90 nap"
|
||||
oneYear = "1 év"
|
||||
p60 = "60%"
|
||||
p70 = "70%"
|
||||
p80 = "80%"
|
||||
p90 = "90%"
|
||||
p95 = "95%"
|
||||
pciDss = "PCI DSS"
|
||||
quarantineDocument = "Dokumentum karanténba helyezése"
|
||||
routeToBucket = "Továbbítás bucketbe"
|
||||
s3Bucket = "S3 bucket"
|
||||
sevenYears = "7 év"
|
||||
sharePoint = "SharePoint"
|
||||
soc2 = "SOC 2"
|
||||
taxDocuments = "Adóügyi dokumentumok"
|
||||
thirtyDays = "30 nap"
|
||||
threeYears = "3 év"
|
||||
webhook = "Webhook"
|
||||
|
||||
[portal]
|
||||
comingSoon = "Hamarosan"
|
||||
|
||||
@@ -8050,6 +8067,10 @@ title = "Munkamenet lejárt"
|
||||
[portal.users]
|
||||
title = "Felhasználók"
|
||||
|
||||
[portal.users.roles]
|
||||
subtitle = "Minden szerepkör minden csomagban létezik — az, hogy melyik mit tehet, szervezetszerte rögzített."
|
||||
title = "Szerepkörök"
|
||||
|
||||
[portal.users.roles.admin]
|
||||
label = "Admin (szervezettulajdonos)"
|
||||
summary = "Teljes irányítás a munkaterület, beállítások és tagok felett."
|
||||
|
||||
@@ -5980,6 +5980,16 @@ statDocsEnforced = "Docs enforced"
|
||||
statusActive = "Active"
|
||||
statusPaused = "Paused"
|
||||
|
||||
[policies.docType]
|
||||
Contracts = "Kontrak"
|
||||
"Financial reports" = "Laporan keuangan"
|
||||
"HR records" = "Catatan HR"
|
||||
Insurance = "Asuransi"
|
||||
Invoices = "Faktur"
|
||||
"Legal filings" = "Pengajuan hukum"
|
||||
"Medical / PHI" = "Medis / PHI"
|
||||
"Tax documents" = "Dokumen pajak"
|
||||
|
||||
[policies.enforcement]
|
||||
applying = "Menerapkan {{names}}"
|
||||
applyingProgress = "Menerapkan {{names}} ({{done}} dari {{total}})"
|
||||
@@ -6015,6 +6025,51 @@ notify = "Beri tahu saat dirutekan"
|
||||
onViolation = "Saat tidak patuh"
|
||||
webhookUrl = "Webhook URL"
|
||||
|
||||
[policies.fieldOption.archiveAfter]
|
||||
"1 year" = "1 tahun"
|
||||
"30 days" = "30 hari"
|
||||
"90 days" = "90 hari"
|
||||
Never = "Tidak pernah"
|
||||
|
||||
[policies.fieldOption.belowThreshold]
|
||||
"Flag for review" = "Tandai untuk ditinjau"
|
||||
Hold = "Tahan"
|
||||
"Route to bucket" = "Rutekan ke bucket"
|
||||
|
||||
[policies.fieldOption.destination]
|
||||
Documents = "Dokumen"
|
||||
"S3 bucket" = "S3 bucket"
|
||||
SharePoint = "SharePoint"
|
||||
Webhook = "Webhook"
|
||||
|
||||
[policies.fieldOption.frameworks]
|
||||
FedRAMP = "FedRAMP"
|
||||
GDPR = "GDPR"
|
||||
HIPAA = "HIPAA"
|
||||
"ISO 27001" = "ISO 27001"
|
||||
"PCI DSS" = "PCI DSS"
|
||||
"SOC 2" = "SOC 2"
|
||||
|
||||
[policies.fieldOption.keepFor]
|
||||
"1 year" = "1 tahun"
|
||||
"3 years" = "3 tahun"
|
||||
"30 days" = "30 hari"
|
||||
"7 years" = "7 tahun"
|
||||
Indefinite = "Tanpa batas"
|
||||
|
||||
[policies.fieldOption.minConfidence]
|
||||
"60%" = "60%"
|
||||
"70%" = "70%"
|
||||
"80%" = "80%"
|
||||
"90%" = "90%"
|
||||
"95%" = "95%"
|
||||
|
||||
[policies.fieldOption.onViolation]
|
||||
"Auto-redact PHI" = "Redaksi otomatis PHI"
|
||||
"Block export" = "Blokir ekspor"
|
||||
"Flag for review" = "Tandai untuk ditinjau"
|
||||
"Quarantine document" = "Karantina dokumen"
|
||||
|
||||
[policies.fields]
|
||||
selectedCount = "{{count}} selected"
|
||||
|
||||
@@ -6148,44 +6203,6 @@ dismiss = "Tutup overlay"
|
||||
enforcingTitle = "Menerapkan kebijakan..."
|
||||
viewAnyway = "Lihat file (kebijakan masih diterapkan)"
|
||||
|
||||
[policyOption]
|
||||
autoRedactPhi = "Redaksi otomatis PHI"
|
||||
blockExport = "Blokir ekspor"
|
||||
contracts = "Kontrak"
|
||||
documents = "Dokumen"
|
||||
fedramp = "FedRAMP"
|
||||
financialReports = "Laporan keuangan"
|
||||
flagForReview = "Tandai untuk ditinjau"
|
||||
gdpr = "GDPR"
|
||||
hipaa = "HIPAA"
|
||||
hold = "Tahan"
|
||||
hrRecords = "Catatan HR"
|
||||
indefinite = "Tanpa batas"
|
||||
insurance = "Asuransi"
|
||||
invoices = "Faktur"
|
||||
iso27001 = "ISO 27001"
|
||||
legalFilings = "Pengajuan hukum"
|
||||
medicalPhi = "Medis / PHI"
|
||||
never = "Tidak pernah"
|
||||
ninetyDays = "90 hari"
|
||||
oneYear = "1 tahun"
|
||||
p60 = "60%"
|
||||
p70 = "70%"
|
||||
p80 = "80%"
|
||||
p90 = "90%"
|
||||
p95 = "95%"
|
||||
pciDss = "PCI DSS"
|
||||
quarantineDocument = "Karantina dokumen"
|
||||
routeToBucket = "Rutekan ke bucket"
|
||||
s3Bucket = "S3 bucket"
|
||||
sevenYears = "7 tahun"
|
||||
sharePoint = "SharePoint"
|
||||
soc2 = "SOC 2"
|
||||
taxDocuments = "Dokumen pajak"
|
||||
thirtyDays = "30 hari"
|
||||
threeYears = "3 tahun"
|
||||
webhook = "Webhook"
|
||||
|
||||
[portal]
|
||||
comingSoon = "Segera hadir"
|
||||
|
||||
@@ -8050,6 +8067,10 @@ title = "Sesi kedaluwarsa"
|
||||
[portal.users]
|
||||
title = "Pengguna"
|
||||
|
||||
[portal.users.roles]
|
||||
subtitle = "Setiap peran ada di setiap paket — apa yang dapat dilakukan masing-masing tetap di seluruh org."
|
||||
title = "Peran"
|
||||
|
||||
[portal.users.roles.admin]
|
||||
label = "Admin (Pemilik org)"
|
||||
summary = "Tata kelola penuh atas workspace, pengaturan, dan anggota."
|
||||
|
||||
@@ -5980,6 +5980,16 @@ statDocsEnforced = "Docs enforced"
|
||||
statusActive = "Active"
|
||||
statusPaused = "Paused"
|
||||
|
||||
[policies.docType]
|
||||
Contracts = "Contratti"
|
||||
"Financial reports" = "Report finanziari"
|
||||
"HR records" = "Record HR"
|
||||
Insurance = "Assicurazione"
|
||||
Invoices = "Fatture"
|
||||
"Legal filings" = "Depositi legali"
|
||||
"Medical / PHI" = "Medico / PHI"
|
||||
"Tax documents" = "Documenti fiscali"
|
||||
|
||||
[policies.enforcement]
|
||||
applying = "Applicazione di {{names}}"
|
||||
applyingProgress = "Applicazione di {{names}} ({{done}} di {{total}})"
|
||||
@@ -6015,6 +6025,51 @@ notify = "Notifica su instradamento"
|
||||
onViolation = "Quando non conforme"
|
||||
webhookUrl = "URL webhook"
|
||||
|
||||
[policies.fieldOption.archiveAfter]
|
||||
"1 year" = "1 anno"
|
||||
"30 days" = "30 giorni"
|
||||
"90 days" = "90 giorni"
|
||||
Never = "Mai"
|
||||
|
||||
[policies.fieldOption.belowThreshold]
|
||||
"Flag for review" = "Segnala per revisione"
|
||||
Hold = "Trattieni"
|
||||
"Route to bucket" = "Instrada al bucket"
|
||||
|
||||
[policies.fieldOption.destination]
|
||||
Documents = "Documenti"
|
||||
"S3 bucket" = "Bucket S3"
|
||||
SharePoint = "SharePoint"
|
||||
Webhook = "Webhook"
|
||||
|
||||
[policies.fieldOption.frameworks]
|
||||
FedRAMP = "FedRAMP"
|
||||
GDPR = "GDPR"
|
||||
HIPAA = "HIPAA"
|
||||
"ISO 27001" = "ISO 27001"
|
||||
"PCI DSS" = "PCI DSS"
|
||||
"SOC 2" = "SOC 2"
|
||||
|
||||
[policies.fieldOption.keepFor]
|
||||
"1 year" = "1 anno"
|
||||
"3 years" = "3 anni"
|
||||
"30 days" = "30 giorni"
|
||||
"7 years" = "7 anni"
|
||||
Indefinite = "A tempo indeterminato"
|
||||
|
||||
[policies.fieldOption.minConfidence]
|
||||
"60%" = "60%"
|
||||
"70%" = "70%"
|
||||
"80%" = "80%"
|
||||
"90%" = "90%"
|
||||
"95%" = "95%"
|
||||
|
||||
[policies.fieldOption.onViolation]
|
||||
"Auto-redact PHI" = "Oscura automaticamente PHI"
|
||||
"Block export" = "Blocca esportazione"
|
||||
"Flag for review" = "Segnala per revisione"
|
||||
"Quarantine document" = "Metti documento in quarantena"
|
||||
|
||||
[policies.fields]
|
||||
selectedCount = "{{count}} selected"
|
||||
|
||||
@@ -6148,44 +6203,6 @@ dismiss = "Chiudi overlay"
|
||||
enforcingTitle = "Applicazione criterio in corso..."
|
||||
viewAnyway = "Visualizza file (criterio ancora in applicazione)"
|
||||
|
||||
[policyOption]
|
||||
autoRedactPhi = "Oscura automaticamente PHI"
|
||||
blockExport = "Blocca esportazione"
|
||||
contracts = "Contratti"
|
||||
documents = "Documenti"
|
||||
fedramp = "FedRAMP"
|
||||
financialReports = "Report finanziari"
|
||||
flagForReview = "Segnala per revisione"
|
||||
gdpr = "GDPR"
|
||||
hipaa = "HIPAA"
|
||||
hold = "Trattieni"
|
||||
hrRecords = "Record HR"
|
||||
indefinite = "A tempo indeterminato"
|
||||
insurance = "Assicurazione"
|
||||
invoices = "Fatture"
|
||||
iso27001 = "ISO 27001"
|
||||
legalFilings = "Depositi legali"
|
||||
medicalPhi = "Medico / PHI"
|
||||
never = "Mai"
|
||||
ninetyDays = "90 giorni"
|
||||
oneYear = "1 anno"
|
||||
p60 = "60%"
|
||||
p70 = "70%"
|
||||
p80 = "80%"
|
||||
p90 = "90%"
|
||||
p95 = "95%"
|
||||
pciDss = "PCI DSS"
|
||||
quarantineDocument = "Metti documento in quarantena"
|
||||
routeToBucket = "Instrada al bucket"
|
||||
s3Bucket = "Bucket S3"
|
||||
sevenYears = "7 anni"
|
||||
sharePoint = "SharePoint"
|
||||
soc2 = "SOC 2"
|
||||
taxDocuments = "Documenti fiscali"
|
||||
thirtyDays = "30 giorni"
|
||||
threeYears = "3 anni"
|
||||
webhook = "Webhook"
|
||||
|
||||
[portal]
|
||||
comingSoon = "Disponibile a breve"
|
||||
|
||||
@@ -8050,6 +8067,10 @@ title = "Sessione scaduta"
|
||||
[portal.users]
|
||||
title = "Utenti"
|
||||
|
||||
[portal.users.roles]
|
||||
subtitle = "Ogni ruolo esiste su ogni piano — ciò che ciascuno può fare è fisso in tutta l'organizzazione."
|
||||
title = "Ruoli"
|
||||
|
||||
[portal.users.roles.admin]
|
||||
label = "Admin (proprietario org)"
|
||||
summary = "Governance completa su workspace, impostazioni e membri."
|
||||
|
||||
@@ -5980,6 +5980,16 @@ statDocsEnforced = "Docs enforced"
|
||||
statusActive = "Active"
|
||||
statusPaused = "Paused"
|
||||
|
||||
[policies.docType]
|
||||
Contracts = "契約書"
|
||||
"Financial reports" = "財務報告書"
|
||||
"HR records" = "人事記録"
|
||||
Insurance = "保険"
|
||||
Invoices = "請求書"
|
||||
"Legal filings" = "法的提出書類"
|
||||
"Medical / PHI" = "医療 / PHI"
|
||||
"Tax documents" = "税務書類"
|
||||
|
||||
[policies.enforcement]
|
||||
applying = "{{names}} を適用中"
|
||||
applyingProgress = "{{names}} を適用中({{total}} 中 {{done}})"
|
||||
@@ -6015,6 +6025,51 @@ notify = "ルート時に通知"
|
||||
onViolation = "非準拠時"
|
||||
webhookUrl = "Webhook URL"
|
||||
|
||||
[policies.fieldOption.archiveAfter]
|
||||
"1 year" = "1年"
|
||||
"30 days" = "30日"
|
||||
"90 days" = "90日"
|
||||
Never = "なし"
|
||||
|
||||
[policies.fieldOption.belowThreshold]
|
||||
"Flag for review" = "レビュー用にフラグ付け"
|
||||
Hold = "保留"
|
||||
"Route to bucket" = "バケットへルーティング"
|
||||
|
||||
[policies.fieldOption.destination]
|
||||
Documents = "ドキュメント"
|
||||
"S3 bucket" = "S3 バケット"
|
||||
SharePoint = "SharePoint"
|
||||
Webhook = "Webhook"
|
||||
|
||||
[policies.fieldOption.frameworks]
|
||||
FedRAMP = "FedRAMP"
|
||||
GDPR = "GDPR"
|
||||
HIPAA = "HIPAA"
|
||||
"ISO 27001" = "ISO 27001"
|
||||
"PCI DSS" = "PCI DSS"
|
||||
"SOC 2" = "SOC 2"
|
||||
|
||||
[policies.fieldOption.keepFor]
|
||||
"1 year" = "1年"
|
||||
"3 years" = "3年"
|
||||
"30 days" = "30日"
|
||||
"7 years" = "7年"
|
||||
Indefinite = "無期限"
|
||||
|
||||
[policies.fieldOption.minConfidence]
|
||||
"60%" = "60%"
|
||||
"70%" = "70%"
|
||||
"80%" = "80%"
|
||||
"90%" = "90%"
|
||||
"95%" = "95%"
|
||||
|
||||
[policies.fieldOption.onViolation]
|
||||
"Auto-redact PHI" = "PHIを自動墨消し"
|
||||
"Block export" = "エクスポートをブロック"
|
||||
"Flag for review" = "レビュー用にフラグ付け"
|
||||
"Quarantine document" = "ドキュメントを隔離"
|
||||
|
||||
[policies.fields]
|
||||
selectedCount = "{{count}} selected"
|
||||
|
||||
@@ -6148,44 +6203,6 @@ dismiss = "オーバーレイを閉じる"
|
||||
enforcingTitle = "ポリシーを適用中..."
|
||||
viewAnyway = "ファイルを表示(ポリシーはまだ適用中)"
|
||||
|
||||
[policyOption]
|
||||
autoRedactPhi = "PHIを自動墨消し"
|
||||
blockExport = "エクスポートをブロック"
|
||||
contracts = "契約書"
|
||||
documents = "ドキュメント"
|
||||
fedramp = "FedRAMP"
|
||||
financialReports = "財務報告書"
|
||||
flagForReview = "レビュー用にフラグ付け"
|
||||
gdpr = "GDPR"
|
||||
hipaa = "HIPAA"
|
||||
hold = "保留"
|
||||
hrRecords = "人事記録"
|
||||
indefinite = "無期限"
|
||||
insurance = "保険"
|
||||
invoices = "請求書"
|
||||
iso27001 = "ISO 27001"
|
||||
legalFilings = "法的提出書類"
|
||||
medicalPhi = "医療 / PHI"
|
||||
never = "なし"
|
||||
ninetyDays = "90日"
|
||||
oneYear = "1年"
|
||||
p60 = "60%"
|
||||
p70 = "70%"
|
||||
p80 = "80%"
|
||||
p90 = "90%"
|
||||
p95 = "95%"
|
||||
pciDss = "PCI DSS"
|
||||
quarantineDocument = "ドキュメントを隔離"
|
||||
routeToBucket = "バケットへルーティング"
|
||||
s3Bucket = "S3 バケット"
|
||||
sevenYears = "7年"
|
||||
sharePoint = "SharePoint"
|
||||
soc2 = "SOC 2"
|
||||
taxDocuments = "税務書類"
|
||||
thirtyDays = "30日"
|
||||
threeYears = "3年"
|
||||
webhook = "Webhook"
|
||||
|
||||
[portal]
|
||||
comingSoon = "近日公開"
|
||||
|
||||
@@ -8050,6 +8067,10 @@ title = "セッションの期限切れ"
|
||||
[portal.users]
|
||||
title = "ユーザー"
|
||||
|
||||
[portal.users.roles]
|
||||
subtitle = "すべてのロールはすべてのプランに存在し、各ロールでできることは組織全体で固定されています。"
|
||||
title = "ロール"
|
||||
|
||||
[portal.users.roles.admin]
|
||||
label = "管理者(組織オーナー)"
|
||||
summary = "ワークスペース、設定、メンバーを完全に管理できます。"
|
||||
|
||||
@@ -5980,6 +5980,16 @@ statDocsEnforced = "Docs enforced"
|
||||
statusActive = "Active"
|
||||
statusPaused = "Paused"
|
||||
|
||||
[policies.docType]
|
||||
Contracts = "계약서"
|
||||
"Financial reports" = "재무 보고서"
|
||||
"HR records" = "HR 기록"
|
||||
Insurance = "보험"
|
||||
Invoices = "송장"
|
||||
"Legal filings" = "법적 제출 서류"
|
||||
"Medical / PHI" = "의료 / PHI"
|
||||
"Tax documents" = "세금 문서"
|
||||
|
||||
[policies.enforcement]
|
||||
applying = "{{names}} 적용 중"
|
||||
applyingProgress = "{{names}} 적용 중 ({{done}}/{{total}})"
|
||||
@@ -6015,6 +6025,51 @@ notify = "라우팅 시 알림"
|
||||
onViolation = "비준수 시"
|
||||
webhookUrl = "Webhook URL"
|
||||
|
||||
[policies.fieldOption.archiveAfter]
|
||||
"1 year" = "1년"
|
||||
"30 days" = "30일"
|
||||
"90 days" = "90일"
|
||||
Never = "안 함"
|
||||
|
||||
[policies.fieldOption.belowThreshold]
|
||||
"Flag for review" = "검토 대상으로 표시"
|
||||
Hold = "보류"
|
||||
"Route to bucket" = "버킷으로 라우팅"
|
||||
|
||||
[policies.fieldOption.destination]
|
||||
Documents = "문서"
|
||||
"S3 bucket" = "S3 bucket"
|
||||
SharePoint = "SharePoint"
|
||||
Webhook = "Webhook"
|
||||
|
||||
[policies.fieldOption.frameworks]
|
||||
FedRAMP = "FedRAMP"
|
||||
GDPR = "GDPR"
|
||||
HIPAA = "HIPAA"
|
||||
"ISO 27001" = "ISO 27001"
|
||||
"PCI DSS" = "PCI DSS"
|
||||
"SOC 2" = "SOC 2"
|
||||
|
||||
[policies.fieldOption.keepFor]
|
||||
"1 year" = "1년"
|
||||
"3 years" = "3년"
|
||||
"30 days" = "30일"
|
||||
"7 years" = "7년"
|
||||
Indefinite = "무기한"
|
||||
|
||||
[policies.fieldOption.minConfidence]
|
||||
"60%" = "60%"
|
||||
"70%" = "70%"
|
||||
"80%" = "80%"
|
||||
"90%" = "90%"
|
||||
"95%" = "95%"
|
||||
|
||||
[policies.fieldOption.onViolation]
|
||||
"Auto-redact PHI" = "PHI 자동 수정"
|
||||
"Block export" = "내보내기 차단"
|
||||
"Flag for review" = "검토 대상으로 표시"
|
||||
"Quarantine document" = "문서 격리"
|
||||
|
||||
[policies.fields]
|
||||
selectedCount = "{{count}} selected"
|
||||
|
||||
@@ -6148,44 +6203,6 @@ dismiss = "오버레이 닫기"
|
||||
enforcingTitle = "정책 적용 중..."
|
||||
viewAnyway = "파일 보기(정책은 계속 적용 중)"
|
||||
|
||||
[policyOption]
|
||||
autoRedactPhi = "PHI 자동 수정"
|
||||
blockExport = "내보내기 차단"
|
||||
contracts = "계약서"
|
||||
documents = "문서"
|
||||
fedramp = "FedRAMP"
|
||||
financialReports = "재무 보고서"
|
||||
flagForReview = "검토 대상으로 표시"
|
||||
gdpr = "GDPR"
|
||||
hipaa = "HIPAA"
|
||||
hold = "보류"
|
||||
hrRecords = "HR 기록"
|
||||
indefinite = "무기한"
|
||||
insurance = "보험"
|
||||
invoices = "송장"
|
||||
iso27001 = "ISO 27001"
|
||||
legalFilings = "법적 제출 서류"
|
||||
medicalPhi = "의료 / PHI"
|
||||
never = "안 함"
|
||||
ninetyDays = "90일"
|
||||
oneYear = "1년"
|
||||
p60 = "60%"
|
||||
p70 = "70%"
|
||||
p80 = "80%"
|
||||
p90 = "90%"
|
||||
p95 = "95%"
|
||||
pciDss = "PCI DSS"
|
||||
quarantineDocument = "문서 격리"
|
||||
routeToBucket = "버킷으로 라우팅"
|
||||
s3Bucket = "S3 bucket"
|
||||
sevenYears = "7년"
|
||||
sharePoint = "SharePoint"
|
||||
soc2 = "SOC 2"
|
||||
taxDocuments = "세금 문서"
|
||||
thirtyDays = "30일"
|
||||
threeYears = "3년"
|
||||
webhook = "Webhook"
|
||||
|
||||
[portal]
|
||||
comingSoon = "곧 제공 예정"
|
||||
|
||||
@@ -8050,6 +8067,10 @@ title = "세션 만료됨"
|
||||
[portal.users]
|
||||
title = "사용자"
|
||||
|
||||
[portal.users.roles]
|
||||
subtitle = "모든 역할은 모든 플랜에 존재하며, 각 역할이 할 수 있는 일은 조직 전체에서 고정되어 있습니다."
|
||||
title = "역할"
|
||||
|
||||
[portal.users.roles.admin]
|
||||
label = "관리자(조직 소유자)"
|
||||
summary = "워크스페이스, 설정 및 구성원에 대한 전체 거버넌스."
|
||||
|
||||
@@ -5980,6 +5980,16 @@ statDocsEnforced = "Docs enforced"
|
||||
statusActive = "Active"
|
||||
statusPaused = "Paused"
|
||||
|
||||
[policies.docType]
|
||||
Contracts = "കരാറുകൾ"
|
||||
"Financial reports" = "സാമ്പത്തിക റിപ്പോർട്ടുകൾ"
|
||||
"HR records" = "HR രേഖകൾ"
|
||||
Insurance = "ഇൻഷുറൻസ്"
|
||||
Invoices = "ഇൻവോയിസുകൾ"
|
||||
"Legal filings" = "നിയമ ഫയലിംഗുകൾ"
|
||||
"Medical / PHI" = "മെഡിക്കൽ / PHI"
|
||||
"Tax documents" = "നികുതി രേഖകൾ"
|
||||
|
||||
[policies.enforcement]
|
||||
applying = "പ്രാബല്യപ്പെടുത്തുന്നു {{names}}"
|
||||
applyingProgress = "പ്രാബല്യപ്പെടുത്തുന്നു {{names}} ({{total}} ൽ {{done}})"
|
||||
@@ -6015,6 +6025,51 @@ notify = "റൂട്ടിൽ അറിയിക്കുക"
|
||||
onViolation = "അനുസരണക്കേട് ഉണ്ടായാൽ"
|
||||
webhookUrl = "Webhook URL"
|
||||
|
||||
[policies.fieldOption.archiveAfter]
|
||||
"1 year" = "1 വർഷം"
|
||||
"30 days" = "30 ദിവസം"
|
||||
"90 days" = "90 ദിവസം"
|
||||
Never = "ഒരിക്കലും ഇല്ല"
|
||||
|
||||
[policies.fieldOption.belowThreshold]
|
||||
"Flag for review" = "അവലോകനത്തിനായി അടയാളപ്പെടുത്തുക"
|
||||
Hold = "ഹോൾഡ് ചെയ്യുക"
|
||||
"Route to bucket" = "ബക്കറ്റിലേക്ക് റൂട്ട് ചെയ്യുക"
|
||||
|
||||
[policies.fieldOption.destination]
|
||||
Documents = "രേഖകൾ"
|
||||
"S3 bucket" = "S3 bucket"
|
||||
SharePoint = "SharePoint"
|
||||
Webhook = "Webhook"
|
||||
|
||||
[policies.fieldOption.frameworks]
|
||||
FedRAMP = "FedRAMP"
|
||||
GDPR = "GDPR"
|
||||
HIPAA = "HIPAA"
|
||||
"ISO 27001" = "ISO 27001"
|
||||
"PCI DSS" = "PCI DSS"
|
||||
"SOC 2" = "SOC 2"
|
||||
|
||||
[policies.fieldOption.keepFor]
|
||||
"1 year" = "1 വർഷം"
|
||||
"3 years" = "3 വർഷം"
|
||||
"30 days" = "30 ദിവസം"
|
||||
"7 years" = "7 വർഷം"
|
||||
Indefinite = "അനിശ്ചിതകാലം"
|
||||
|
||||
[policies.fieldOption.minConfidence]
|
||||
"60%" = "60%"
|
||||
"70%" = "70%"
|
||||
"80%" = "80%"
|
||||
"90%" = "90%"
|
||||
"95%" = "95%"
|
||||
|
||||
[policies.fieldOption.onViolation]
|
||||
"Auto-redact PHI" = "PHI സ്വയമേവ റിഡാക്റ്റ് ചെയ്യുക"
|
||||
"Block export" = "എക്സ്പോർട്ട് തടയുക"
|
||||
"Flag for review" = "അവലോകനത്തിനായി അടയാളപ്പെടുത്തുക"
|
||||
"Quarantine document" = "രേഖ ക്വാറന്റൈനിൽ ഇടുക"
|
||||
|
||||
[policies.fields]
|
||||
selectedCount = "{{count}} selected"
|
||||
|
||||
@@ -6148,44 +6203,6 @@ dismiss = "ഓവർലേ നിരസിക്കുക"
|
||||
enforcingTitle = "നയം നടപ്പിലാക്കുന്നു..."
|
||||
viewAnyway = "ഫയൽ കാണുക (നയം ഇപ്പോഴും നടപ്പിലാക്കുന്നു)"
|
||||
|
||||
[policyOption]
|
||||
autoRedactPhi = "PHI സ്വയമേവ റിഡാക്റ്റ് ചെയ്യുക"
|
||||
blockExport = "എക്സ്പോർട്ട് തടയുക"
|
||||
contracts = "കരാറുകൾ"
|
||||
documents = "രേഖകൾ"
|
||||
fedramp = "FedRAMP"
|
||||
financialReports = "സാമ്പത്തിക റിപ്പോർട്ടുകൾ"
|
||||
flagForReview = "അവലോകനത്തിനായി അടയാളപ്പെടുത്തുക"
|
||||
gdpr = "GDPR"
|
||||
hipaa = "HIPAA"
|
||||
hold = "ഹോൾഡ് ചെയ്യുക"
|
||||
hrRecords = "HR രേഖകൾ"
|
||||
indefinite = "അനിശ്ചിതകാലം"
|
||||
insurance = "ഇൻഷുറൻസ്"
|
||||
invoices = "ഇൻവോയിസുകൾ"
|
||||
iso27001 = "ISO 27001"
|
||||
legalFilings = "നിയമ ഫയലിംഗുകൾ"
|
||||
medicalPhi = "മെഡിക്കൽ / PHI"
|
||||
never = "ഒരിക്കലും ഇല്ല"
|
||||
ninetyDays = "90 ദിവസം"
|
||||
oneYear = "1 വർഷം"
|
||||
p60 = "60%"
|
||||
p70 = "70%"
|
||||
p80 = "80%"
|
||||
p90 = "90%"
|
||||
p95 = "95%"
|
||||
pciDss = "PCI DSS"
|
||||
quarantineDocument = "രേഖ ക്വാറന്റൈനിൽ ഇടുക"
|
||||
routeToBucket = "ബക്കറ്റിലേക്ക് റൂട്ട് ചെയ്യുക"
|
||||
s3Bucket = "S3 bucket"
|
||||
sevenYears = "7 വർഷം"
|
||||
sharePoint = "SharePoint"
|
||||
soc2 = "SOC 2"
|
||||
taxDocuments = "നികുതി രേഖകൾ"
|
||||
thirtyDays = "30 ദിവസം"
|
||||
threeYears = "3 വർഷം"
|
||||
webhook = "Webhook"
|
||||
|
||||
[portal]
|
||||
comingSoon = "ഉടൻ വരുന്നു"
|
||||
|
||||
@@ -8050,6 +8067,10 @@ title = "Session കാലഹരണപ്പെട്ടു"
|
||||
[portal.users]
|
||||
title = "ഉപയോക്താക്കൾ"
|
||||
|
||||
[portal.users.roles]
|
||||
subtitle = "എല്ലാ plan-ലും ഓരോ role ഉണ്ട് — ഓരോന്നിന് ചെയ്യാനാവുന്നത് org-ലാകെ നിശ്ചിതമാണ്."
|
||||
title = "Roles"
|
||||
|
||||
[portal.users.roles.admin]
|
||||
label = "Admin (Org owner)"
|
||||
summary = "Workspace, settings, members എന്നിവയിൽ പൂർണ്ണ governance."
|
||||
|
||||
@@ -5980,6 +5980,16 @@ statDocsEnforced = "Docs enforced"
|
||||
statusActive = "Active"
|
||||
statusPaused = "Paused"
|
||||
|
||||
[policies.docType]
|
||||
Contracts = "Contracten"
|
||||
"Financial reports" = "Financiële rapporten"
|
||||
"HR records" = "HR-dossiers"
|
||||
Insurance = "Verzekeringen"
|
||||
Invoices = "Facturen"
|
||||
"Legal filings" = "Juridische indieningen"
|
||||
"Medical / PHI" = "Medisch / PHI"
|
||||
"Tax documents" = "Belastingdocumenten"
|
||||
|
||||
[policies.enforcement]
|
||||
applying = "Bezig met toepassen van {{names}}"
|
||||
applyingProgress = "Bezig met toepassen van {{names}} ({{done}} van {{total}})"
|
||||
@@ -6015,6 +6025,51 @@ notify = "Melden bij routering"
|
||||
onViolation = "Bij niet-naleving"
|
||||
webhookUrl = "Webhook URL"
|
||||
|
||||
[policies.fieldOption.archiveAfter]
|
||||
"1 year" = "1 jaar"
|
||||
"30 days" = "30 dagen"
|
||||
"90 days" = "90 dagen"
|
||||
Never = "Nooit"
|
||||
|
||||
[policies.fieldOption.belowThreshold]
|
||||
"Flag for review" = "Markeren voor beoordeling"
|
||||
Hold = "Vasthouden"
|
||||
"Route to bucket" = "Routeren naar bucket"
|
||||
|
||||
[policies.fieldOption.destination]
|
||||
Documents = "Documenten"
|
||||
"S3 bucket" = "S3 bucket"
|
||||
SharePoint = "SharePoint"
|
||||
Webhook = "Webhook"
|
||||
|
||||
[policies.fieldOption.frameworks]
|
||||
FedRAMP = "FedRAMP"
|
||||
GDPR = "GDPR"
|
||||
HIPAA = "HIPAA"
|
||||
"ISO 27001" = "ISO 27001"
|
||||
"PCI DSS" = "PCI DSS"
|
||||
"SOC 2" = "SOC 2"
|
||||
|
||||
[policies.fieldOption.keepFor]
|
||||
"1 year" = "1 jaar"
|
||||
"3 years" = "3 jaar"
|
||||
"30 days" = "30 dagen"
|
||||
"7 years" = "7 jaar"
|
||||
Indefinite = "Onbepaalde tijd"
|
||||
|
||||
[policies.fieldOption.minConfidence]
|
||||
"60%" = "60%"
|
||||
"70%" = "70%"
|
||||
"80%" = "80%"
|
||||
"90%" = "90%"
|
||||
"95%" = "95%"
|
||||
|
||||
[policies.fieldOption.onViolation]
|
||||
"Auto-redact PHI" = "PHI automatisch redigeren"
|
||||
"Block export" = "Export blokkeren"
|
||||
"Flag for review" = "Markeren voor beoordeling"
|
||||
"Quarantine document" = "Document in quarantaine plaatsen"
|
||||
|
||||
[policies.fields]
|
||||
selectedCount = "{{count}} selected"
|
||||
|
||||
@@ -6148,44 +6203,6 @@ dismiss = "Overlay sluiten"
|
||||
enforcingTitle = "Beleid afdwingen..."
|
||||
viewAnyway = "Bestand bekijken (beleid wordt nog afgedwongen)"
|
||||
|
||||
[policyOption]
|
||||
autoRedactPhi = "PHI automatisch redigeren"
|
||||
blockExport = "Export blokkeren"
|
||||
contracts = "Contracten"
|
||||
documents = "Documenten"
|
||||
fedramp = "FedRAMP"
|
||||
financialReports = "Financiële rapporten"
|
||||
flagForReview = "Markeren voor beoordeling"
|
||||
gdpr = "GDPR"
|
||||
hipaa = "HIPAA"
|
||||
hold = "Vasthouden"
|
||||
hrRecords = "HR-dossiers"
|
||||
indefinite = "Onbepaalde tijd"
|
||||
insurance = "Verzekeringen"
|
||||
invoices = "Facturen"
|
||||
iso27001 = "ISO 27001"
|
||||
legalFilings = "Juridische indieningen"
|
||||
medicalPhi = "Medisch / PHI"
|
||||
never = "Nooit"
|
||||
ninetyDays = "90 dagen"
|
||||
oneYear = "1 jaar"
|
||||
p60 = "60%"
|
||||
p70 = "70%"
|
||||
p80 = "80%"
|
||||
p90 = "90%"
|
||||
p95 = "95%"
|
||||
pciDss = "PCI DSS"
|
||||
quarantineDocument = "Document in quarantaine plaatsen"
|
||||
routeToBucket = "Routeren naar bucket"
|
||||
s3Bucket = "S3 bucket"
|
||||
sevenYears = "7 jaar"
|
||||
sharePoint = "SharePoint"
|
||||
soc2 = "SOC 2"
|
||||
taxDocuments = "Belastingdocumenten"
|
||||
thirtyDays = "30 dagen"
|
||||
threeYears = "3 jaar"
|
||||
webhook = "Webhook"
|
||||
|
||||
[portal]
|
||||
comingSoon = "Binnenkort beschikbaar"
|
||||
|
||||
@@ -8050,6 +8067,10 @@ title = "Sessie verlopen"
|
||||
[portal.users]
|
||||
title = "Gebruikers"
|
||||
|
||||
[portal.users.roles]
|
||||
subtitle = "Elke rol bestaat op elk abonnement — wat elke rol kan doen is vastgelegd voor de hele organisatie."
|
||||
title = "Rollen"
|
||||
|
||||
[portal.users.roles.admin]
|
||||
label = "Admin (organisatie-eigenaar)"
|
||||
summary = "Volledig beheer over de workspace, instellingen en leden."
|
||||
|
||||
@@ -5980,6 +5980,16 @@ statDocsEnforced = "Docs enforced"
|
||||
statusActive = "Active"
|
||||
statusPaused = "Paused"
|
||||
|
||||
[policies.docType]
|
||||
Contracts = "Kontrakter"
|
||||
"Financial reports" = "Finansrapporter"
|
||||
"HR records" = "HR-poster"
|
||||
Insurance = "Forsikring"
|
||||
Invoices = "Fakturaer"
|
||||
"Legal filings" = "Juridiske innsendelser"
|
||||
"Medical / PHI" = "Medisinsk / PHI"
|
||||
"Tax documents" = "Skattedokumenter"
|
||||
|
||||
[policies.enforcement]
|
||||
applying = "Tar i bruk {{names}}"
|
||||
applyingProgress = "Tar i bruk {{names}} ({{done}} av {{total}})"
|
||||
@@ -6015,6 +6025,51 @@ notify = "Varsle ved ruting"
|
||||
onViolation = "Ved manglende samsvar"
|
||||
webhookUrl = "Webhook URL"
|
||||
|
||||
[policies.fieldOption.archiveAfter]
|
||||
"1 year" = "1 år"
|
||||
"30 days" = "30 dager"
|
||||
"90 days" = "90 dager"
|
||||
Never = "Aldri"
|
||||
|
||||
[policies.fieldOption.belowThreshold]
|
||||
"Flag for review" = "Merk for gjennomgang"
|
||||
Hold = "Hold tilbake"
|
||||
"Route to bucket" = "Rut til bucket"
|
||||
|
||||
[policies.fieldOption.destination]
|
||||
Documents = "Dokumenter"
|
||||
"S3 bucket" = "S3 bucket"
|
||||
SharePoint = "SharePoint"
|
||||
Webhook = "Webhook"
|
||||
|
||||
[policies.fieldOption.frameworks]
|
||||
FedRAMP = "FedRAMP"
|
||||
GDPR = "GDPR"
|
||||
HIPAA = "HIPAA"
|
||||
"ISO 27001" = "ISO 27001"
|
||||
"PCI DSS" = "PCI DSS"
|
||||
"SOC 2" = "SOC 2"
|
||||
|
||||
[policies.fieldOption.keepFor]
|
||||
"1 year" = "1 år"
|
||||
"3 years" = "3 år"
|
||||
"30 days" = "30 dager"
|
||||
"7 years" = "7 år"
|
||||
Indefinite = "På ubestemt tid"
|
||||
|
||||
[policies.fieldOption.minConfidence]
|
||||
"60%" = "60%"
|
||||
"70%" = "70%"
|
||||
"80%" = "80%"
|
||||
"90%" = "90%"
|
||||
"95%" = "95%"
|
||||
|
||||
[policies.fieldOption.onViolation]
|
||||
"Auto-redact PHI" = "Sladd PHI automatisk"
|
||||
"Block export" = "Blokker eksport"
|
||||
"Flag for review" = "Merk for gjennomgang"
|
||||
"Quarantine document" = "Sett dokument i karantene"
|
||||
|
||||
[policies.fields]
|
||||
selectedCount = "{{count}} selected"
|
||||
|
||||
@@ -6148,44 +6203,6 @@ dismiss = "Avvis overlegg"
|
||||
enforcingTitle = "Håndhever policy..."
|
||||
viewAnyway = "Vis fil (policy håndheves fortsatt)"
|
||||
|
||||
[policyOption]
|
||||
autoRedactPhi = "Sladd PHI automatisk"
|
||||
blockExport = "Blokker eksport"
|
||||
contracts = "Kontrakter"
|
||||
documents = "Dokumenter"
|
||||
fedramp = "FedRAMP"
|
||||
financialReports = "Finansrapporter"
|
||||
flagForReview = "Merk for gjennomgang"
|
||||
gdpr = "GDPR"
|
||||
hipaa = "HIPAA"
|
||||
hold = "Hold tilbake"
|
||||
hrRecords = "HR-poster"
|
||||
indefinite = "På ubestemt tid"
|
||||
insurance = "Forsikring"
|
||||
invoices = "Fakturaer"
|
||||
iso27001 = "ISO 27001"
|
||||
legalFilings = "Juridiske innsendelser"
|
||||
medicalPhi = "Medisinsk / PHI"
|
||||
never = "Aldri"
|
||||
ninetyDays = "90 dager"
|
||||
oneYear = "1 år"
|
||||
p60 = "60%"
|
||||
p70 = "70%"
|
||||
p80 = "80%"
|
||||
p90 = "90%"
|
||||
p95 = "95%"
|
||||
pciDss = "PCI DSS"
|
||||
quarantineDocument = "Sett dokument i karantene"
|
||||
routeToBucket = "Rut til bucket"
|
||||
s3Bucket = "S3 bucket"
|
||||
sevenYears = "7 år"
|
||||
sharePoint = "SharePoint"
|
||||
soc2 = "SOC 2"
|
||||
taxDocuments = "Skattedokumenter"
|
||||
thirtyDays = "30 dager"
|
||||
threeYears = "3 år"
|
||||
webhook = "Webhook"
|
||||
|
||||
[portal]
|
||||
comingSoon = "Kommer snart"
|
||||
|
||||
@@ -8050,6 +8067,10 @@ title = "Økten er utløpt"
|
||||
[portal.users]
|
||||
title = "Brukere"
|
||||
|
||||
[portal.users.roles]
|
||||
subtitle = "Alle roller finnes på alle abonnementer — hva hver enkelt kan gjøre, er fast på tvers av organisasjonen."
|
||||
title = "Roller"
|
||||
|
||||
[portal.users.roles.admin]
|
||||
label = "Administrator (org-eier)"
|
||||
summary = "Full styring over arbeidsområdet, innstillinger og medlemmer."
|
||||
|
||||