Skip to content

Commit

Permalink
Edit new MS365 and Clourflare docs (#4953)
Browse files Browse the repository at this point in the history
  • Loading branch information
misterpantz authored Dec 3, 2024
1 parent 75141bf commit 1a17aba
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 26 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ lr/docs/markdown: providers/lr
--output ../docs/docs/mql/resources/mondoo-pack
./lr markdown providers/cloudflare/resources/cloudflare.lr \
--pack-name "Cloudflare" \
--description "The Cloudflare resource pack lets you use MQL to query and assess the security of your Cloureflare configuration." \
--description "The Cloudflare resource pack lets you use MQL to query and assess the security of your Cloudflare configuration." \
--docs-file providers/cloudflare/resources/cloudflare.lr.manifest.yaml \
--output ../docs/docs/mql/resources/cloudflare-pack

Expand Down
4 changes: 2 additions & 2 deletions providers/cloudflare/resources/cloudflare.lr
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ private cloudflare.dns.record @defaults("type content name") {
// Whether the record can be proxied
proxiable bool

// Type of record (A, AAAA, CNAME, etc.)
// Type of record (e.g., A, AAAA, or CNAME)
type string
// Content of the record (hostname, IP Address, etc.)
// Content of the record (e.g., hostname or IP Address)
content string
// Time to live (in seconds)
ttl int
Expand Down
45 changes: 22 additions & 23 deletions providers/ms365/resources/ms365.lr
Original file line number Diff line number Diff line change
Expand Up @@ -138,56 +138,55 @@ private microsoft.user @defaults("id displayName userPrincipalName") {
contact() dict
// Authentication information
authMethods() microsoft.user.authenticationMethods
// Whether MFA is enabled for the user.
// Whether MFA is enabled for the user
mfaEnabled() bool
// The user creation type.
// The user's creation type
creationType string
// The user's identities.
// The user's identities
identities []microsoft.user.identity
// The user's audit-log.
// The user's audit log
auditlog() microsoft.user.auditlog
}

// Microsoft User Audit log
// Microsoft user audit log
private microsoft.user.auditlog {
// The user's identifier.
// The user's ID
userId string
// The user's sign-in entries. Only entries from the last 24 hours are fetched and up to 50 at most.
// Note that only interactive sign-in entries are currently returned.
// The user's interactive sign-in entries (a maximum of 50 entries from the last 24 hours only)
signins() []microsoft.user.signin
// The user's last interactive sign-in.
// The user's last interactive sign-in
lastInteractiveSignIn() microsoft.user.signin
// The user's last non-interactive sign-in. Only entries from the last 24 hours are currently considered.
// The user's last non-interactive sign-in (from the last 24 hours only)
lastNonInteractiveSignIn() microsoft.user.signin
}

// Microsoft User Identity
// Microsoft user identity
private microsoft.user.identity @defaults("issuerAssignedId") {
// The id as assigned by the issuer.
// The identity as assigned by the issuer
issuerAssignedId string
// The identity issuer.
// The identity issuer
issuer string
// The sign-in type for the identity (e.g. 'federated', 'userPrincipalName')
// The sign-in type for the identity (e.g., 'federated' or 'userPrincipalName')
signInType string
}

// Microsoft User Sign in
// Microsoft user sign-in
private microsoft.user.signin {
// The sign-in entry's identifier.
// The sign-in entry's identifier
id string
// The creation time of the sign-in entry.
// The date and time the sign-in entry was created
createdDateTime time
// The id of the user.
// The ID of the user
userId string
// The display name of the user.
// The display name of the user
userDisplayName string
// The client app, used to perform the sign-in.
// The client app used to perform the sign-in
clientAppUsed string
// The app's display name.
// The display name of the client app used to perform the sign-in
appDisplayName string
// The resource's display name.
// The resource's display name
resourceDisplayName string
// Whether the sign-in was interactive.
// Whether the sign-in was interactive
interactive bool
}

Expand Down

0 comments on commit 1a17aba

Please sign in to comment.