This policy is not attached to a Step in the bundle

Hi Team,

in code smell tab, i can see this issue “This policy is not attached to a Step in the bundle”

Unattached policies are dead code. They should be removed from bundles before releasing the bundle to production.

can anyone help me what and why we are getting this and how can we rectify in our kotlin/java code.

Files affected - *.xml

Hey there.

I’m taking a guess that this issue is raised by GitHub - ntiss/sonar-apigee-plugin: Sonar Plugin for Apigee. Provides metrics about bad practices for apiproxies development. You’ll probably want to ask the maintainer.