update.sh script">

PingIntelligence

Running the update.sh script

About this task

To run the update.sh script:

Steps

  1. Copy the update.sh script from the util directory to your MongoDB primary node.

    You can find the script in the /opt/pingidentity/abs/util directory.

  2. Access script help by logging into the MongoDB primary machine and running the following command:

    /opt/pingidentity/mongo/update.sh help

    Example:

    For example, change the training period to 48 hours:

    /opt/pingidentity/mongo/update.sh -u absuser -p abs123 --attack_initial_training 48
    updating training_period to 48
    WriteResult({ "nMatched" : 1, "nUpserted" : 0, "nModified" : 1 })
    The current values of the variables are:
    attack_initial_training=48
    attack_update_interval=24
    api_discovery=false
    discovery_update_interval=1
    continuous_learning=true
    discovery_initial_period=24
    url_limit=100
    response_size=100
    window_length=24
    discovery_subpath=3
    percentage_diskusage_limit=80
    
    Global Config successfully updated
  3. After running the script, stop and start all ABS nodes for the updated values to take effect.

    You can change the training period and threshold simultaneously or individually.