Skip to content

AKS Review workbook is incorrectly identifying public api endpoint compliance #1021

@johnbilliris

Description

@johnbilliris

The AKS Review workbook is incorrectly identifying public API endpoint compliance. The query logic is incorrect.

Current (incorrect) logic:
compliant = ((isnull(properties.apiServerAccessProfile.enablePrivateCluster) or properties.apiServerAccessProfile.enablePrivateCluster==false) and isnotnull(properties.apiServerAccessProfile.authorizedIPRanges))

Correct logic:
compliant = ( (isnull(properties.apiServerAccessProfile.enablePrivateCluster)==true) or ( isnull(properties.apiServerAccessProfile.enablePrivateCluster)==false and isnotnull(properties.apiServerAccessProfile.authorizedIPRanges) ) )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions