Skip to content

AzSK 4.14 Install-AzSKContinuousAssuranceForCluster: Any way to run in a non-interactive mode #1361

@tommychoy

Description

@tommychoy

Title

AzSK 4.14 Install-AzSKContinuousAssuranceForCluster: Any way to run in a non-interactive mode

Description

When running the below Install-AzSKContinuousAssuranceForCluster with all the required parameters input, it will always ask for accepting EULA and selecting the context.

Steps to reproduce

Run below Install-AzSKContinuousAssuranceForCluster with all the required parameters input.

Install-AzSKContinuousAssuranceForCluster -SubscriptionId <SubscriptionId> -ResourceGroupName <ResourceGroupName> -ResourceName <ResourceName> -ResourceType Kubernetes [ -LAWorkspaceId <ID of Log Analytics workspace> -LASharedSecret <Shared key of Log Analytics workspace> ]

Expected behavior

-Force or -Confirm or -AcceptEULA parameter shall be available to allow the command to be run in a non-interactive mode

Actual behavior

It will always ask for accepting EULA and selecting the context. No way to by-pass it in an non-interactive mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions