Skip to content

refactor(azure): migrate from custom JSON parser #9025

@nikpivkin

Description

@nikpivkin

Trivy currently uses a custom JSON parser for ARM templates, likely to support comments in the input. We can now replace it with the standard JSON parser from github.com/go-json-experiment/json used throughout the project by preprocessing the templates with the recently added ToRFC8259 function to strip comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    scan/misconfigurationIssues relating to misconfiguration scanning

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions