Forum Discussion

JustJozef's avatar
JustJozef
Icon for Cirrus rankCirrus
Jun 17, 2022
Solved

icontrol - policy not visible after import

Hello, trying to import policy with REST API but after call "import-policy" it's not visible in GUI and in asm logs can see follow errors:     info perl[19936]: 01310053:6: ASMConfig change: Imp...
  • JustJozef's avatar
    Jun 28, 2022

    I just found that error reported in logs is correct!. It's not the issue with auth with icontrol and waf itself but there is a issue in swagger file where endpoint from log is with method "POST" instead "GET" so parameter accessToken cannot be related to the GET /api/Token/Check as it does not exist.