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.
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.