Skip to content

Commit

Permalink
✨ Fetch 100 mondoo assets by default. (#4658)
Browse files Browse the repository at this point in the history
Signed-off-by: Preslav <[email protected]>
  • Loading branch information
preslavgerchev authored Sep 16, 2024
1 parent bfc4908 commit c873913
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion providers/mondoo/resources/mondoo_space.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,11 @@ func (m *mqlMondooSpace) assets() ([]any, error) {
}
}
}
} `graphql:"assets(spaceMrn: $spaceMrn)"`
} `graphql:"assets(spaceMrn: $spaceMrn, first: $first)"`
}
vars := map[string]any{
"spaceMrn": mondoogql.String(m.Mrn.Data),
"first": mondoogql.NewIntPtr(100),
}

err := conn.Client.Query(context.Background(), &q, vars)
Expand Down

0 comments on commit c873913

Please sign in to comment.