fortinet-ansible-dev / ansible-galaxy-fortios-collection

GNU General Public License v3.0
84 stars 47 forks source link

Correcting DLP Profile "type" property #313

Open andrewlass opened 2 months ago

andrewlass commented 2 months ago

Correcting DLP Profile "type" property

See notes in issue: https://github.com/fortinet-ansible-dev/ansible-galaxy-fortios-collection/issues/312

This has been tested in my dev environment and proven to work.

fortios_dlp_profile -> dlp_profile rule property "Type" will properly create and update when value is "message". This removes a bug where property "fos_message" was expected, but not working as intended. Instead fos_message value was implicitly ignoring the assertion which used the default value of "file" in FortiOS config.

andrewlass commented 2 months ago

Can someone look at this PR?

My concern is that, while this works in my dev environment, there's other dependencies that need updating which I'm ignorant of.