Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This process involves gathering a token and creating CURL commands in the clu

  • cURL

    • Code Block
      curl --location '{{CLUSTER_URL}}/auth/realms/gv/protocol/openid-connect/token' \
      --header 'Content-Type: application/x-www-form-urlencoded' \
      --data-urlencode 'client_id=dashboard' \
      --data-urlencode 'username={{USERNAME}}' \
      --data-urlencode 'password={{PASSWORD}}' \
      --data-urlencode 'grant_type=password'
  • This will return the token

  • For Windows

    • Code Block
      curl --location "{{CLUSTER_URL}}/auth/realms/gv/protocol/openid-connect/token" ^
      --header "Content-Type: application/x-www-form-urlencoded" ^
      --data-urlencode "client_id=dashboard" ^
      --data-urlencode "username={{USERNAME}}" ^
      --data-urlencode "password={{PASSWORD}}" ^
      --data-urlencode "grant_type=password"
  • Otherwise

    • Open Network tab on browser

    • login to Getvisbility UI

    • In Network, search for the POST called token

    • Go to Response

      • Copy the raw access token

  • Use the GET CURL command to file data. Increment the offset value as you go. This command will give details for the first 100 files in the database.

    • Code Block
      curl --location '{{CLUSTER_URL}}/scan-data-manager/files?limit=100&offset=0' \
      --header 'Authorization: Bearer {{TOKEN}}'

...