Skip to main content

Add Logon Settings

POST 

/api/v32.07/settings/logon

x-prisma-cloud-target-env: {"permission":"authConfiguration"}

Configures the timeout for Prisma Cloud Compute sessions.

For more information, see Logon Settings.

cURL Request

Refer to the following example cURL request that uses basic auth to set the timeout to 900 seconds (15 minutes):

curl -k \
-u <USER> \
-H 'Content-Type: application/json' \
-w "\nResponse code: %{http_code}\n" \
-X POST \
-d '{"sessionTimeoutSec": 900}' \
"https://<CONSOLE>/api/v<VERSION>/settings/logon"

Request

Body

    basicAuthDisabled boolean

    Indicates whether the user can use basic auth.

    includeTLS boolean

    IncludeTLS indicates that TLS checks should be included in copy links.

    sessionTimeoutSec int64

    SessionTimeoutSec defines the session timeout in seconds.

    strongPassword boolean

    StrongPassword indicates whether strong password enforcement is applied.

    useSupportCredentials boolean

    UseSupportCredentials indicates whether to include credentials in the URL.

Responses

OK

Loading...