Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

How to retrieve files in violation of a given policy? #112

@Boston-of-Gilead

Description

@Boston-of-Gilead

How to access https://security.microsoft.com/cloudapps/policy/file//report?tab=matches&tid= programmatically? I need to get the filenames of everything in violation of a given policy.

I can get the policy using Get-MCASPolicy, but Get-MCASFile and Get-MCASAlerts don't grab what I need because you cannot filter by policy... i.e. Get-MCASAlerts | ? {$_.policy -eq ""}

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