Skip to content

URL argument in "az rest" command is getting incorrectly flagged as directory access #1935

Closed

Description

@ebencarek

Describe the bug

Copilot CLI incorrectly flags --url "..." argument in az rest command as directory access and asks me for approval

Image

Affected version

1.0.3-0

Steps to reproduce the behavior

  1. operate cli without autopilot / allow-all / yolo permissions (use standard permissions)
  2. direct copilot cli to perform az rest command with --url option
  3. copilot prompts for directory access approval for path outside approved list
Image

Expected behavior

copilot cli should perform the az rest command without prompting for directory access approval (assuming az rest is an approved bash command)

Additional context

OS: Windows
Shell: Powershell 7

Activity

  1. added theissue type on Mar 9, 2026
  2. added
    area:permissionsTool approval, security boundaries, sandbox mode, and directory restrictions
    and removed on Apr 16, 2026
  3. copilot-cli-bot commented on Oct 25, 2026

    @copilot-cli-bot

    This appears to be resolved as of GitHub Copilot CLI v1.0.103. Please update to that release or a newer stable version. We're closing this as completed. If it still happens, please comment with your version and reproduction steps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:permissionsTool approval, security boundaries, sandbox mode, and directory restrictions

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions