From cf146d092f74a23f4294d8a370d855a181f2162a Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Fri, 16 Aug 2024 12:04:29 -0700 Subject: [PATCH] More resource updates Chris is on a roll Signed-off-by: Tim Smith --- docs/mql/resources/ms365-pack/README.md | 1 + .../microsoft.user.authenticationmethods.md | 27 ++++++++++ .../resources/ms365-pack/microsoft.user.md | 51 ++++++++++--------- docs/platform/maintain/export/schema/asset.md | 4 +- yarn.lock | 16 +++--- 5 files changed, 65 insertions(+), 34 deletions(-) create mode 100644 docs/mql/resources/ms365-pack/microsoft.user.authenticationmethods.md diff --git a/docs/mql/resources/ms365-pack/README.md b/docs/mql/resources/ms365-pack/README.md index 97b7fbdfd..d657db61d 100644 --- a/docs/mql/resources/ms365-pack/README.md +++ b/docs/mql/resources/ms365-pack/README.md @@ -34,6 +34,7 @@ Resources included in this pack: | [microsoft.serviceprincipal](microsoft.serviceprincipal.md) | Microsoft service principal (Enterprise application) | | [microsoft.serviceprincipal.assignment](microsoft.serviceprincipal.assignment.md) | Microsoft Service Principal Assignment | | [microsoft.user](microsoft.user.md) | Microsoft Entra ID user | +| [microsoft.user.authenticationMethods](microsoft.user.authenticationmethods.md) | Microsoft Entra authentication methods | | [ms365.exchangeonline](ms365.exchangeonline.md) | Microsoft 365 Exchange Online | | [ms365.exchangeonline.exoMailbox](ms365.exchangeonline.exomailbox.md) | Microsoft 365 Exchange Online Mailbox | | [ms365.exchangeonline.externalSender](ms365.exchangeonline.externalsender.md) | Microsoft 365 Exchange Online External Sender | diff --git a/docs/mql/resources/ms365-pack/microsoft.user.authenticationmethods.md b/docs/mql/resources/ms365-pack/microsoft.user.authenticationmethods.md new file mode 100644 index 000000000..8731166c5 --- /dev/null +++ b/docs/mql/resources/ms365-pack/microsoft.user.authenticationmethods.md @@ -0,0 +1,27 @@ +--- +title: microsoft.user.authenticationMethods +id: microsoft.user.authenticationMethods +sidebar_label: microsoft.user.authenticationMethods +displayed_sidebar: MQL +description: Microsoft Entra authentication methods +--- + +# microsoft.user.authenticationMethods + +**Description** + +Microsoft Entra authentication methods + +**Fields** + +| ID | TYPE | DESCRIPTION | +| -------------------------- | -------------- | --------------------------------------------------------------------- | +| count | int | Count of authentication methods | +| phoneMethods | []dict | Phone number and type registered to a user | +| emailMethods | []dict | Email authentication method for self-service password reset (SSPR) | +| fido2Methods | []dict | FIDO2 security key registered to a user | +| softwareMethods | []dict | Software OATH token registered to a user | +| microsoftAuthenticator | []dict | Microsoft Authenticator app registered to a user | +| passwordMethods | []dict | User password authentication method | +| temporaryAccessPassMethods | []dict | Temporary Access Pass registered to a user | +| windowsHelloMethods | []dict | Windows Hello for Business authentication method registered to a user | diff --git a/docs/mql/resources/ms365-pack/microsoft.user.md b/docs/mql/resources/ms365-pack/microsoft.user.md index eccbe0c6d..e4f451bde 100644 --- a/docs/mql/resources/ms365-pack/microsoft.user.md +++ b/docs/mql/resources/ms365-pack/microsoft.user.md @@ -14,27 +14,30 @@ Microsoft Entra ID user **Fields** -| ID | TYPE | DESCRIPTION | -| ----------------- | ---------------- | ----------------------------------- | -| id | string | User ID | -| accountEnabled | bool | Whether the user account is enabled | -| city | string | User city | -| companyName | string | User company name | -| country | string | User country | -| createdDateTime | time | User create time | -| department | string | User department | -| displayName | string | User display name | -| employeeId | string | User employee ID | -| givenName | string | User given name | -| jobTitle | string | User job title | -| mail | string | User email | -| mobilePhone | string | User mobile phone | -| otherMails | []string | List of other email addresses | -| officeLocation | string | User office location | -| postalCode | string | User postal code | -| state | string | User state | -| streetAddress | string | User street address | -| surname | string | User surname | -| userPrincipalName | string | User service principal name | -| userType | string | User type | -| settings | dict | User settings | +| ID | TYPE | DESCRIPTION | +| ----------------- | ------------------------------------------------------------------------------- | --------------------------------------------- | +| id | string | User Object ID | +| accountEnabled | bool | Whether the user account is enabled | +| city | string | User city | +| companyName | string | Deprecated: use job.companyName instead | +| country | string | Deprecated: use contact.country instead | +| createdDateTime | time | User create time | +| department | string | Deprecated: use job.department instead | +| displayName | string | User display name | +| employeeId | string | Deprecated: use job.employeeId instead | +| givenName | string | User given name | +| jobTitle | string | Deprecated: use job.title instead | +| mail | string | Deprecated: use contact.email instead | +| mobilePhone | string | Deprecated: use contact.mobilePhone instead | +| otherMails | []string | Deprecated: use contact.otherMails instead | +| officeLocation | string | Deprecated: use job.officeLocation instead | +| postalCode | string | Deprecated: use contact.postalCode instead | +| state | string | Deprecated: use contact.state instead | +| streetAddress | string | Deprecated: use contact.streetAddress instead | +| surname | string | User surname | +| userPrincipalName | string | User service principal name | +| userType | string | User type | +| settings | dict | User settings | +| job | dict | Job information | +| contact | dict | Contact information | +| authMethods | [microsoft.user.authenticationMethods](microsoft.user.authenticationmethods.md) | Authentication information | diff --git a/docs/platform/maintain/export/schema/asset.md b/docs/platform/maintain/export/schema/asset.md index dddd4eedc..ec3a0dbbf 100644 --- a/docs/platform/maintain/export/schema/asset.md +++ b/docs/platform/maintain/export/schema/asset.md @@ -90,9 +90,9 @@ Name of the space containing the asset Name of the asset `name` -| Type | Required? | Nullable? | +| Type | Required? | Nullable? | | :----- | :-------- | :-------- | -| String | Yes | No | +| String | Yes | No | ### platform_name property diff --git a/yarn.lock b/yarn.lock index f9f4c946e..bb64e3bd2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2182,11 +2182,11 @@ "@types/node" "*" "@types/node@*": - version "22.3.0" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.3.0.tgz#7f8da0e2b72c27c4f9bd3cb5ef805209d04d4f9e" - integrity sha512-nrWpWVaDZuaVc5X84xJ0vNrLvomM205oQyLsRt7OHNZbSHslcWsvgFR7O7hire2ZonjLrWBbedmotmIlJDVd6g== + version "22.4.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.4.0.tgz#c295fe1d6f5f58916cc61dbef8cf65b5b9b71de9" + integrity sha512-49AbMDwYUz7EXxKU/r7mXOsxwFr4BYbvB7tWYxVuLdb2ibd30ijjXINSMAHiEEZk5PCRBmW1gUeisn2VMKt3cQ== dependencies: - undici-types "~6.18.2" + undici-types "~6.19.2" "@types/node@^17.0.5": version "17.0.45" @@ -8065,10 +8065,10 @@ typescript@^5.5.3: resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.4.tgz#d9852d6c82bad2d2eda4fd74a5762a8f5909e9ba" integrity sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q== -undici-types@~6.18.2: - version "6.18.2" - resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.18.2.tgz#8b678cf939d4fc9ec56be3c68ed69c619dee28b0" - integrity sha512-5ruQbENj95yDYJNS3TvcaxPMshV7aizdv/hWYjGIKoANWKjhWNBsr2YEuYZKodQulB1b8l7ILOuDQep3afowQQ== +undici-types@~6.19.2: + version "6.19.6" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.6.tgz#e218c3df0987f4c0e0008ca00d6b6472d9b89b36" + integrity sha512-e/vggGopEfTKSvj4ihnOLTsqhrKRN3LeO6qSN/GxohhuRv8qH9bNQ4B8W7e/vFL+0XTnmHPB4/kegunZGA4Org== unicode-canonical-property-names-ecmascript@^2.0.0: version "2.0.0"