padok-team / yatas-markdown

Generates a markdown report of YATAS checks
https://github.com/stangirard/yatas
Apache License 2.0
0 stars 1 forks source link

Report is not generated successfully #14

Open za opened 10 months ago

za commented 10 months ago

Hi there,

I've enabled the report plugin .yatas.yml:

plugins:
  - name: "aws"
    enabled: true
    source: "github.com/padok-team/yatas-aws"
    version: "latest"
    description: "Check for AWS good practices"
    exclude:
     # - AWS_S3_001
    include:
     # - "AWS_VPC_004"
     # - "AWS_VPC_003"
  - name: "markdown"
    enabled: true
    source: "github.com/padok-team/yatas-markdown"
    version: "latest"
    description: "Generates a markdown report"

And after I run yatas, I can only see this on report.md:

# Yatas 

Is there a way to debug this?

cc: @StanGirard

StanGirard commented 10 months ago

Type: report in the markdown plugin conf :)


Stanislas Girard

Engineering Manager +33 7 86 00 13 57 1 rue de Saint-Pétersbourg 75008 Paris www.padok.fr ( https://www.padok.fr/ )

Sent via Superhuman iOS ( @.*** )

On Mon, Jul 10 2023 at 7:49 AM, za < @.*** > wrote:

Hi there,

I've enabled the report plugin.yatas.yml :

plugins:

  • name: "aws" enabled: true source: "github.com/padok-team/yatas-aws" version: "latest" description: "Check for AWS good practices" exclude:

    - AWS_S3_001

include:

- "AWS_VPC_004"

 # - "AWS_VPC_003"
  • name: "markdown" enabled: true source: "github.com/padok-team/yatas-markdown" version: "latest"

description: "Generates a markdown report"

And after I run yatas , I can only see this on report.md :

Yatas

Is there a way to debug this?

cc: @StanGirard ( https://github.com/StanGirard )

— Reply to this email directly, view it on GitHub ( https://github.com/padok-team/yatas-markdown/issues/14 ) , or unsubscribe ( https://github.com/notifications/unsubscribe-auth/AEVUW3AISFNM5XM7PEPWXWLXPOJXTANCNFSM6AAAAAA2EA4VFE ). You are receiving this because you were mentioned. Message ID: <padok-team/yatas-markdown/issues/14 @ github. com>

StanGirard commented 10 months ago
name: "markdown"
enabled: true
type: "report"
za commented 10 months ago

Ah, missed that line. I copied and pasted from the default config file. Thanks @StanGirard it works now! 🎉

Oh, if I run with -details will it generate the detailed report too?