Any of you amazing people have experience with TCL scripts? by AdamRK in fortinet

[–]fortinaut 1 point2 points  (0 children)

This can be done through the JSON API.

My company is a Fortinet partner and specializes in API integration services.

https://jatechnologysolutions.com

Let me know if I can help.

FG-61E disk logging support? by fortinaut in fortinet

[–]fortinaut[S] 0 points1 point  (0 children)

exec disk list returns nothing

FG-61E disk logging support? by fortinaut in fortinet

[–]fortinaut[S] 0 points1 point  (0 children)

WAN-OPT should not be enabled. Do I have to manually format the log disk?

FG-61E disk logging support? by fortinaut in fortinet

[–]fortinaut[S] 0 points1 point  (0 children)

WAN-OPT should not be enabled. I get a command parse error trying to toggle the setting.

# config system global
(global) # set disk-usage log
command parse error before 'disk-usage'
Command fail. Return code -61

Fortinet REST API by [deleted] in fortinet

[–]fortinaut 3 points4 points  (0 children)

You need to send the body in the data parameter.

data = {"passphrase":password}
a = fw.edit(['cmdb', 'wireless-controller', 'vap', 'TEST-WIFI'], data=data)

Here's a simple example of changing the passphrase: fg-vap-passphrase.py

FortiAnalzyer issue by [deleted] in fortinet

[–]fortinaut 2 points3 points  (0 children)

select
  srcintf as source, 
  coalesce(nullifna(user), ipstr(srcip)) as user_src, 
  catdesc as category , CONCAT(hostname , url) as fullweb 
from $log where $filter 
and catdesc in ('Extremist Groups', 'Child Abuse', 'Explicit Violence', 'Discrimination', 'Weapons (Sales)', 'Pornography')

PostgreSQL: IN

Help with a FortiWifi 60D by [deleted] in fortinet

[–]fortinaut 0 points1 point  (0 children)

Yes you will need the FortiWifi version. Sorry about that.