Skip to content

Refreshing Data

Terminal window
kubectl config use-context gke_torch-security-demo_europe-west1-b_gke-cluster
kubectl port-forward svc/connectors 18080:8080

Trigger a sync (IMPORT_DATA for apps, IMPORT_PEOPLE for the HRIS):

Terminal window
curl -s -X POST http://127.0.0.1:18080/twirp/torch.v1.ConnectorsService/SyncConnector \
-H 'Content-Type: application/json' \
-H 'X-Torch-Tenant-ID: <cascade-tenant-id>' \
-d '{"connectorId":"<id>","tenantId":"<cascade-tenant-id>","user":{"email":"you@torch.security"}}'
  • Restore an app’s baseline: MOCK_APP generation is seed-deterministic, so re-running IMPORT_DATA regenerates the same data — undoing demo changes.
  • Change people: edit Obscura Entra users, then IMPORT_PEOPLE on the HRIS connector.