apigee / apigeelint

Static code analysis for Apigee proxy bundles to encourage API developers to use best practices and avoid anti-patterns.
Apache License 2.0
92 stars 71 forks source link

feat(plugin): FE001 plugin to check use of Authentication element #400

Closed DinoChiesa closed 9 months ago

DinoChiesa commented 9 months ago

add a new plugin to check the use of the Authentication element in ServiceCallout, ExternalCallout, and TargetEndpoint. Because this check looks at two distinct policies and an endpoint, it didn't fit into any of the existing plugin categories. Rather than breaking it into 3 new plugins, one for each policy and one for the targetendpoint, I added a new "feature" plugin type, and created this plugin (FE001) as the first of its type. It checks for this feature in all three places.

DinoChiesa commented 9 months ago

This addresses #399