Azure / appcat-rulesets

Repository for maintaining Rulesets for Windup
Eclipse Public License 2.0
5 stars 7 forks source link

Create a rule for PCF manifest.yml #184

Open mnriem opened 8 months ago

mnriem commented 8 months ago

When running AppCat on PCF style applications it does not discover the framework level dependencies that are in the manifest.yml file

mnriem commented 3 months ago

@brunoborges @karianna Can we get this triaged?

karianna commented 3 months ago

@mnriem so these would be dependencies separate to what a Maven POM file or Gradle Build file would have?

mnriem commented 3 months ago

It is more like dependent services within the context of PCF. E.g database, messaging, etceteras.

brunoborges commented 1 month ago

@mnriem @agoncal would either of you have examples to help us draft the rule?

mnriem commented 1 month ago

I think it would look something like this? Note I asked Copilot so please verify.

applications:
  - name: YOUR-APP-NAME
    services:
      - name: my-database-service
        plan: db-small
      - name: my-redis-cache
        plan: cache-small
      # Add other services with different plans
      - name: my-email-service
        plan: email-basic
      - name: my-search-service
        plan: search-premium