gabstopper / smc-python

Forcepoint Security Management Center python library:(Moved to official Forcepoint repo)
https://github.com/Forcepoint/fp-NGFW-SMC-python
Apache License 2.0
29 stars 13 forks source link

Creating ipv4 access rules function is not working #76

Open amrmekky28 opened 3 years ago

amrmekky28 commented 3 years ago

policy.fw_ipv4_access_rules.create(name='223', sources='any',destinations='any',services=[TCPService('SSH')],action='discard')

please update this function because it is not working!

kalevivt commented 3 years ago

You should check https://github.com/Forcepoint/fp-NGFW-SMC-python as that is the official package for accessing API using Python.