Skip to main content
systemgeek
Visitor III
May 1, 2025
Question

ZTNA posture tag trace in policy

  • May 1, 2025
  • 2 replies
  • 1371 views

FortiGate running 7.4.2

 

This is probably going to sound weird but I setup my first ZTNA ssh proxy and it works.  However, in the firewall policy I have defined a few tags that can use the policy.  The tags are different ActiveDirectory Groups our EMS has picked up.

 

So I have a tag for the Operations group (which I am a member of) and a tag for the QA group which I am not a member of.  Then we have a tag called EXAMPLE which is our entire AD domain.  All users in our domain are a member of this tag.

 

When the firewall policy only has the tags Operations and QA with a match ANY I get a deny for this policy.  If I add the tag EXAMPLE to the policy I can use it.

 

My question is is there a diagnose command I can run to see how the FortiGate is going through the policy and trying to determine if a users tag is a match or not?

2 replies

Anthony_E
Staff
Staff
May 5, 2025

Hello,


Thank you for using the Community Forum. I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible.


Thanks,

Best Regards
Anthony_E
Staff
Staff
May 7, 2025

Hello,

 

To trace ZTNA posture tags in a policy, follow these steps:

  1. Access FortiOS: Log into your FortiGate device where the ZTNA policies are configured.
  2. Navigate to ZTNA Tags: Go to Policy & Objects > ZTNA > ZTNA Tags. Here, you can view the synchronized ZTNA tags that are used in your policies.
  3. Review Tagging Rules: Ensure that the tagging rules are correctly defined in FortiSASE. These rules specify the attributes that are checked on the FortiClient endpoint.
  4. Check Policy Configuration: Go to Policy & Objects > IPv4 Policy or Policy & Objects > IPv6 Policy, depending on your network configuration. Review the policies that use ZTNA tags to ensure they are correctly applied.
  5. Monitor and Verify: Use the Security Posture Tag Monitor in FortiClient EMS to verify that the correct tags are being applied to endpoints. This helps ensure that the posture checks are functioning as expected.

 

Regards,

Best Regards
Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT