Skip to content

Commit

Permalink
🧹 fixing a bug in NamedLocation under confitional access - MS365
Browse files Browse the repository at this point in the history
Signed-off-by: Hossein Rouhani <[email protected]>
  • Loading branch information
HRouhani committed Nov 12, 2024
1 parent 001ee01 commit 425be68
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions providers/ms365/resources/conditional-access.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ import (
"go.mondoo.com/cnquery/v11/providers/ms365/connection"
)

func (m *mqlMicrosoftConditionalAccessIpNamedLocation) id() (string, error) {
return m.Name.Data, nil
}

func (a *mqlMicrosoftConditionalAccess) namedLocations() ([]interface{}, error) {
conn := a.MqlRuntime.Connection.(*connection.Ms365Connection)
graphClient, err := conn.GraphClient()
Expand Down
7 changes: 6 additions & 1 deletion providers/ms365/resources/ms365.lr.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 425be68

Please sign in to comment.