Qwiet
Qwiet/ShiftLeft integration endpoints
Get Qwiet proxy configuration and feature flag status for the account
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness personal or service access token
Exercitationem quaerat omnis.OK response.
Whether STO proxy mode is enabled for this account
falseSTO gRPC API host:port. Same value as grpcTelemetryHost. Set only when enabled is true.
sto.example.com:443STO gRPC telemetry host:port. Same value as grpcApiHost. Set only when enabled is true.
sto.example.com:443BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
GET /gateway/sto/api/v2/qwiet/proxy-config?accountId=abcdef1234567890ghijkl HTTP/1.1
Host: app.harness.io
X-Api-Key: YOUR_API_KEY
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"enabled": false,
"grpcApiHost": "sto.example.com:443",
"grpcTelemetryHost": "sto.example.com:443"
}Get Qwiet token and organization ID for an account
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Type of license to validate
qwietExample: sastPossible values: Harness personal or service access token
Velit commodi deleniti culpa facere a qui.OK response.
Authorization status (sast/sca license types)
trueType of license validated
sastPossible values: Qwiet organization ID (qwiet license type only)
org_123456Qwiet access token (qwiet license type only)
qwiet_token_abc123xyzBadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
GET /gateway/sto/api/v2/qwiet/token?accountId=abcdef1234567890ghijkl HTTP/1.1
Host: app.harness.io
X-Api-Key: YOUR_API_KEY
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"authorized": true,
"licenseType": "sast",
"organizationId": "org_123456",
"token": "qwiet_token_abc123xyz"
}Get Qwiet user access token for the authenticated user
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness personal or service access token
Eum dicta eius odit.OK response.
User email address. Set only when useStoProxy is false.
user@example.comSTO gRPC host:port (API and telemetry). Set only when useStoProxy is true. One mesh.
sto.example.com:443Deprecated. Omitted; sl copies grpcApiHost when empty.
sto.example.com:443Qwiet organization ID. Set only when useStoProxy is false.
3fa85f64-5717-4562-b3fc-2c963f66afa6Qwiet user access token. Set only when useStoProxy is false.
Voluptatem cum unde et autem.True when this account must call the STO proxy. False when sl calls Qwiet directly.
falseBadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
GET /gateway/sto/api/v2/qwiet/user-token?accountId=abcdef1234567890ghijkl HTTP/1.1
Host: app.harness.io
X-Api-Key: YOUR_API_KEY
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"email": "user@example.com",
"grpcApiHost": "sto.example.com:443",
"grpcTelemetryHost": "sto.example.com:443",
"organizationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"token": "Dolores nihil ab.",
"useStoProxy": false
}Last updated
Was this helpful?