Update AITM Predictor

PUT {{apiPath}}/environments/{{envID}}/riskPredictors/{{aitmPredictorID}}

This request updates an existing Adversary-in-the-Middle (AitM) predictor, providing an updated list of domains.

The whiteList parameter is used to specify the domains.

Note that while the predictor is identified by the predictor ID in the URL of the request, the following parameters are also required in order for the request to succeed: name, compactName, type.

Prerequisites

See Risk Predictors for the complete data models.

Base data model

PropertyTypeRequired?
compactNameStringRequired
nameStringRequired
typeStringRequired
whiteListList[]Optional

Request Body

{"name"=>"Adversary In The Middle", "compactName"=>"adversaryInTheMiddle", "type"=>"ADVERSARY_IN_THE_MIDDLE", "domainWhiteList"=>["example.com"]}

RESPONSES

status: OK

{"_links":{"self":{"href":"https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/riskPredictors/7a6e027b-8d24-039b-055a-1d4994050d52"},"environment":{"href":"https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"}},"id":"7a6e027b-8d24-039b-055a-1d4994050d52","environment":{"id":"abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"},"createdAt":"2021-05-12T13:11:50.960Z","createdBy":"SYSTEM_GENERATED","updatedAt":"2024-01-24T16:49:11.532Z","name":"Adversary In The Middle","compactName":"adversaryInTheMiddle","licensed":true,"domainWhiteList":["example.com"],"type":"ADVERSARY_IN_THE_MIDDLE","condition":{"scores":[{"name":"HIGH","value":"HIGH"},{"name":"MEDIUM","value":"MEDIUM"},{"name":"LOW","value":"LOW"}]},"deletable":false,"tooltip":"predictor.tooltip.adversary.in.the.middle","default":{"weight":5,"score":80,"result":{"type":"VALUE"},"evaluated":true}}