You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i create panos.objects.CustomUrlCategory with parameter "url_value", i have error "panos.errors.PanDeviceXapiError: Black list internal URL -> list 'http://example.ru' is invalid. custom-url-category entry has to be type specified
Black list internal URL -> list is invalid".
Expected behavior
In class panos.objects.CustomUrlCategory need set parameter type (URL List or Category Match).
Current behavior
If i send comand (panos.objects.CustomUrlCategory('Black list internal URL')) without parameter url_value (only with name), i don't have error.
And when i set type "URL List" for UrlCategory in web concole and next send comand with url_value (panos.objects.CustomUrlCategory('Black list internal URL', url_value=ioc)), i don't have error.
Possible solution
Add new parameter call type with value "URL List or Category Match"' for class panos.objects.CustomUrlCategory
Hello.
Describe the bug
When i create panos.objects.CustomUrlCategory with parameter "url_value", i have error "panos.errors.PanDeviceXapiError: Black list internal URL -> list 'http://example.ru' is invalid. custom-url-category entry has to be type specified
Black list internal URL -> list is invalid".
Expected behavior
In class panos.objects.CustomUrlCategory need set parameter type (URL List or Category Match).
Current behavior
If i send comand (panos.objects.CustomUrlCategory('Black list internal URL')) without parameter url_value (only with name), i don't have error.
And when i set type "URL List" for UrlCategory in web concole and next send comand with url_value (panos.objects.CustomUrlCategory('Black list internal URL', url_value=ioc)), i don't have error.
Possible solution
Add new parameter call type with value "URL List or Category Match"' for class panos.objects.CustomUrlCategory
Steps to reproduce
code with error:
Context
I need create CustomUrlCategory, add url, and add CustomUrlCategory in security rule.
Your Environment
The text was updated successfully, but these errors were encountered: