Skip to main content

KnowBe4KMSAT

This Integration is part of the KMSAT Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.5.0 and later.

KnowBe4's KMSAT Console is a security awareness training and simulated phishing console that you can use to improve your organization's overall security. This integration pack allows you to push and pull your external data to and from your KMSAT console.

What Does This Pack Do?
1. Pull Risk Score history for your account
2. Pull Risk Score history for your groups
3. Pull Risk Score history for your users
4. Pull all Phishing Security Test (PST) results for your account
5. Pull Phishing Security Test (PST) results for a specific campaign
6. Pull statuses of your training campaigns
7. Pull a list of your users’ training campaign enrollments
8. Pull your users’ event data
9. Add events to User Timelines in KMSAT
10. Delete events from User Timelines in KMSAT

Configuration#

ParameterDescriptionRequirement
Instance NameEnter a name for your KMSAT instance.Required
Your Reporting Server URLEnter the Reporting Server URL for your KMSAT instance, which you can find in KnowBe4’s Reporting API documentation.Required
Reporting API KeyEnter the Reporting API key to use for the connection. To generate this key, see KnowBe4’s Account Settings: API documentation.Required
Your User Events Server URLEnter the User Event URL for your KMSAT instance, which you can find in KnowBe4’s User Event API documentation.Required
User Events API KeyEnter the User Event API key to use for the connection. To generate this key, see KnowBe4’s User Event API documentation.Required

Commands#

CommandsDescription
kmsat-account-info-listDisplays account information
kmsat-account-risk-score-history-listDisplays your organization’s Risk Score history
kmsat-groups-listDisplays all groups
kmsat-groups-risk-score-history-listDisplays Risk Score history for groups
kmsat-groups-members-listDisplays members of groups
kmsat-users-risk-score-history-listDisplays Risk Score history for users
kmsat-phishing-security-tests-listDisplays all PSTs
kmsat-phishing-security-tests-recipients-listDisplays PSTs and user data for enrolled users
kmsat-phishing-security-tests-failed-recipients-listDisplays failed PSTs and user data for enrolled users
kmsat-phishing-campaign-security-tests-listDisplays PSTs for a phishing campaign
kmsat-training-campaigns-listDisplays all training campaigns
kmsat-training-enrollments-listDisplays all training enrollments
kmsat-user-event-listDisplays a user event by id
kmsat-user-events-listDisplays all user events
kmsat-user-event-types-listDisplays types of user events
kmsat-user-event-createCreates an event on the User Timeline
kmsat-user-event-deleteDeletes an event from the User Timeline
kmsat-user-event-status-listLists the status of user event request by request id
kmsat-user-event-statuses-listLists the statuses of user event requests

kmsat-account-info-list#

Context Output#

PathTypeDescription
KMSAT.AccountInfo.nameStringAccount name
KMSAT.AccountInfo.typeStringAccount type
KMSAT.AccountInfo.domainsStringAccount domains
KMSAT.AccountInfo.admins.idNumberAccount admin ID
KMSAT.AccountInfo.admins.first_nameStringAccount admin first name
KMSAT.AccountInfo.admins.last_nameStringAccount admin last name
KMSAT.AccountInfo.admins.emailStringAccount admin email address
KMSAT.AccountInfo.subscription_emailStringAccount subscription level
KMSAT.AccountInfo.subscription_end_dateDateAccount subscription end date
KMSAT.AccountInfo.number_of_seatsNumberNumber of account seats
KMSAT.AccountInfo.current_risk_scoreNumberAccount Risk Score

Command Example#

!kmsat-account-info-list

Context Example#

{
"name": "KB4-Demo",
"type": "paid",
"domains": [
"kb4-demo.com"
],
"admins": [
{
"id": 974278,
"first_name": "Grace",
"last_name": "O'Malley",
"email": "example5@kb4-demo.com"
}
],
"subscription_level": "Diamond",
"subscription_end_date": "2021-03-06",
"number_of_seats": 25,
"current_risk_score": 45.742
}

kmsat-account-risk-score-history#

Argument NameDescriptionRequired
pagePage NumberNo
per_pagePer Page AmountNo

Context Output#

PathTypeDescription
KMSAT.AccountRiskScoreHistory.risk_scoreStringAccount Risk Score and associated date
KMSAT.AccountRiskScoreHistory.dateDateAccount Risk Score history date

Command Example#

!kmsat-account-risk-score-history-list page=1 per_page=25

Context Example#

{
"risk_score": 37.3,
"date": "2021-02-07"
}

kmsat-groups-list#

kmsat-account-risk-score-history#

Argument NameDescriptionRequirement
pagePage NumberOptional
per_pagePer Page AmountOptional

Context Output#

PathTypeDescription
KMSAT.Groups.idNumberGroup ID
KMSAT.Groups.nameStringGroup name
KMSAT.Groups.group_typeStringGroup type
KMSAT.Groups.provisioning_guidStringGroup provisioning GUID
KMSAT.Groups.member_countNumberGroup member count
KMSAT.Groups.current_risk_scoreNumberGroup's current Risk Score
KMSAT.Groups.statusStringGroups status

Command Example#

!kmsat-groups-list page=1 per_page=25

Context Example#

{
"id": 3142,
"name": "Customer Service",
"group_type": "console_group",
"provisioning_guid": "abc12345-6789-abc-1234-456789abc123",
"member_count": 42,
"current_risk_score": 45.742,
"status": "active"
}

kmsat-groups-risk-score-history#

Argument NameDescriptionRequirement
group_idGroup IDOptional
pagePage numberOptional
per_pageAmount per pageOptional

Context Output#

PathTypeDescription
KMSAT.GroupRiskScoreHistory.risk_scoreStringGroup Risk Score And associated date
KMSAT.GroupRiskHistory.dateDateGroup Risk Score history date

Command Example#

!kmsat-groups-risk-score-history-list page=1 per_page=25

Context Example#

{
"risk_score": 37.3,
"date": "2021-02-07"
}

kmsat-groups-members#

Argument NameDescriptionRequirement
group_idGroup IDRequired
pagePage NumberOptional
per_pagePer Page AmountOptional

Context Output#

PathTypeDescription
KMSAT.GroupsMembers.idNumberUser's ID
KMSAT.GroupsMembers.employee_numberStringUser's employee number
KMSAT.GroupsMembers.first_nameStringUser's first name
KMSAT.GroupsMembers.last_nameStringUser's last name
KMSAT.GroupsMembers.job_titleStringUser's job title
KMSAT.GroupsMembers.emailStringUser's email address
KMSAT.GroupsMembers.phish_prone_percentageNumberUser's Phish-prone Percentage
KMSAT.GroupsMembers.phone_numberStringUser's phone number
KMSAT.GroupsMembers.extensionStringUser's extension
KMSAT.GroupsMembers.mobile_phone_numberStringUser's phone number
KMSAT.GroupsMembers.locationStringUser's location
KMSAT.GroupsMembers.divisionStringUser's division
KMSAT.GroupsMembers.manager_nameStringName of user's manager
KMSAT.GroupsMembers.provisioning_managedBooleanEmail address of user's manager
KMSAT.GroupsMembers.provisioning_guidUnknownUser’s provisioning GUID
KMSAT.GroupsMembers.groupsNumberUser's groups
KMSAT.GroupsMembers.current_risk_scoreNumberUser’s current Risk Score
KMSAT.GroupsMembers.aliasesStringUser's aliases
KMSAT.GroupsMembers.joined_onDateUser created at
KMSAT.GroupsMembers.last_sign_inDateUser's last login
KMSAT.GroupsMembers.statusStringUser's status
KMSAT.GroupsMembers.organizationStringUser's organization
KMSAT.GroupsMembers.departmentStringUser's department
KMSAT.GroupsMembers.languageStringUser's language
KMSAT.GroupsMembers.commentStringUser comment
KMSAT.GroupsMembers.employee_start_dateDateUser's employee start date
KMSAT.GroupsMembers.archived_atDateUser archived at
KMSAT.GroupsMembers.custom_field_1StringUser custom field 1
KMSAT.GroupsMembers.custom_field_2StringUser custom field 2
KMSAT.GroupsMembers.custom_field_3StringUser custom field 3
KMSAT.GroupsMembers.custom_date_1DateUser custom date 1
KMSAT.GroupsMembers.custom_date_2DateUser custom date 2

Command Example#

!kmsat-groups-members-list group_id=1 page=1 per_page=25

Context Example#

{
"id": 667542,
"employee_number": "19425",
"first_name": "William",
"last_name": "Marcoux",
"job_title": "VP of Sales",
"email": "example2@kb4-demo.com",
"phish_prone_percentage": 14.235,
"phone_number": "555-554-2222",
"extension": "42",
"mobile_phone_number": "555-553-4422",
"location": "Office A",
"division": "Sales",
"manager_name": "Michael Scott",
"manager_email": "example3@kb4-demo.com",
"provisioning_managed": false,
"provisioning_guid": null,
"groups": [
3264
],
"current_risk_score": 45.742,
"aliases": [
"alias_email@kb4-demo.com"
],
"joined_on": "2019-04-02T15:02:38.000Z",
"last_sign_in": "2019-04-02T15:02:38.000Z",
"status": "active",
"organization": "KB4-Demo",
"department": "Sales",
"language": "English - United States",
"comment": "Low PPP",
"employee_start_date": "2019-04-02T15:02:38.000Z",
"archived_at": null,
"custom_field_1": "Building C, 4th Floor",
"custom_field_2": null,
"custom_field_3": null,
"custom_field_4": null,
"custom_date_1": "1986-11-26",
"custom_date_2": null
}

kmsat-users-risk-score-history#

Argument NameDescriptionRequirement
user_idUser IDRequired
pagePage numberOptional
per_pageAmount per pageOptional

Context Output#

PathTypeDescription
KMSAT.UsersRiskHistory.risk_scoreNumberUser's Risk Score and associated date
KMSAT.UsersRiskHistory.dateDateUser's Risk Score history date

Command Example#

!kmsat-users-risk-score-history-list user_id=1 page=1 per_page=25

Context Example#

{
"risk_score": 37.3,
"date": "2021-02-07"
}

kmsat-phishing-security-tests#

Argument NameDescriptionRequirement
pagePage numberOptional
per_pageAmount per pageOptional

Context Output#

PathTypeDescription
KMSAT.PhishingSecurity.campaign_idNumberPhishing campaign ID
KMSAT.PhishingSecurity.pst_idNumberPST ID
KMSAT.PhishingSecurity.statusStringPST status
KMSAT.PhishingSecurity.nameStringPST name
KMSAT.PhishingSecurity.groups.group_idNumberPST group ID
KMSAT.PhishingSecurity.groups.nameStringPST group name
KMSAT.PhishingSecurity.phish_prone_percentageNumberPST Phish-prone Percentage
KMSAT.PhishingSecurity.started_atDatePST started date
KMSAT.PhishingSecurity.durationNumberPST duration
KMSAT.PhishingSecurity.categories.category_idNumberPST category ID
KMSAT.PhishingSecurity.categories.nameStringPST category name
KMSAT.PhishingSecurity.template.idNumberPST template ID
KMSAT.PhishingSecurity.template.nameStringPST template Name
KMSAT.PhishingSecurity.lading_page.idNumberPST landing page ID
KMSAT.PhishingSecurity.landing_page.nameStringPST landing page name
KMSAT.PhishingSecurity.scheduled_countNumberPST scheduled count
KMSAT.PhishingSecurity.delivered_countNumberPST delivered count
KMSAT.PhishingSecurity.opened_countNumberPST opened count
KMSAT.PhishingSecurity.clicked_countNumberPST clicked count
KMSAT.PhishingSecurity.replied_countNumberPST replied count
KMSAT.PhishingSecurity.attachment_open_countNumberPST attachment opened count
KMSAT.PhishingSecurity.macro_enabled_countNumberPST macro enabled count
KMSAT.PhishingSecurity.data_entered_countNumberPST data entered count
KMSAT.PhishingSecurity.qr_code_scanned_countNumberPST QR Code scanned count
KMSAT.PhishingSecurity.reported_countNumberPST reported count
KMSAT.PhishingSecurity.bounced_countNumberPST bounced count

Command Example#

!kmsat-phishing-security-tests-list page=1 per_page=25

Context Example#

[
{
"campaign_id": 3423,
"pst_id": 16142,
"status": "Closed",
"name": "Corporate Test",
"groups": [
{
"group_id": 16342,
"name": "Corporate Employees"
}
],
"phish_prone_percentage": 0.5,
"started_at": "2019-04-02T15:02:38.000Z",
"duration": 1,
"categories": [
{
"category_id": 4237,
"name": "Current Events"
}
],
"template": {
"id": 11428,
"name": "CNN Breaking News"
},
"landing_page": {
"id": 1842,
"name": "SEI Landing Page"
},
"scheduled_count": 42,
"delivered_count": 4,
"opened_count": 24,
"clicked_count": 20,
"replied_count": 0,
"attachment_open_count": 3,
"macro_enabled_count": 0,
"data_entered_count": 0,
"qr_code_scanned_count": 0,
"reported_count": 0,
"bounced_count": 0
}
]

kmsat-phishing-security-tests-recipients#

Argument NameDescriptionRequirement
pst_idPST IDRequired
pagePage numberOptional
per_pageAmount per pageOptional

Context Output#

PathTypeDescription
KMSAT.PhishingSecurityPST.recipient_idNumberPST recipient ID
KMSAT.PhishingSecurityPST.pst_idNumberPST ID
KMSAT.PhishingSecurityPST.userStringPST user
KMSAT.PhishingSecurityPST.templateStringPST template
KMSAT.PhishingSecurityPST.scheduled_atDatePST scheduled at
KMSAT.PhishingSecurityPST.delivered_atDatePST delivered at
KMSAT.PhishingSecurityPST.opened_atDatePST opened at
KMSAT.PhishingSecurityPST.clicked_atDatePST clicked at
KMSAT.PhishingSecurityPST.replied_atDatePST replied at
KMSAT.PhishingSecurityPST.attachment_opened_atDatePST attachment opened at
KMSAT.PhishingSecurityPST.macro_enabled_atDatePST macro enabled at
KMSAT.PhishingSecurityPST.data_entered_atDatePST data entered at
KMSAT.PhishingSecurityPST.qr_code_scannedDatePST QR code scanned at
KMSAT.PhishingSecurityPST.reported_atDatePST reported at
KMSAT.PhishingSecurityPST.bounced_atDatePST bounced at
KMSAT.PhishingSecurityPST.ipStringPST IP address
KMSAT.PhishingSecurityPST.up_locationStringPST IP address location
KMSAT.PhishingSecurityPST.browserStringPST browser
KMSAT.PhishingSecurityPST.browser_versionStringPST browser version
KMSAT.PhishingSecurityPST.osStringPST operating system

Command Example#

!kmsat-phishing-security-tests-recipients-list pst_id=1 page=1 per_page=25

Context Example#

[
{
"recipient_id": 3077742,
"pst_id": 14240,
"user": {
"id": 264215,
"provisioning_guid": null,
"first_name": "Bob",
"last_name": "Ross",
"email": "example4@kb4-demo.com"
},
"template": {
"id": 2,
"name": "Your Amazon Order"
},
"scheduled_at": "2019-04-02T15:02:38.000Z",
"delivered_at": "2019-04-02T15:02:38.000Z",
"opened_at": "2019-04-02T15:02:38.000Z",
"clicked_at": "2019-04-02T15:02:38.000Z",
"replied_at": null,
"attachment_opened_at": null,
"macro_enabled_at": null,
"data_entered_at": "2019-04-02T15:02:38.000Z",
"qr_code_scanned": "2022-05-12T15:29:54.000Z",
"reported_at": null,
"bounced_at": null,
"ip": "XX.XX.XXX.XXX",
"ip_location": "St.Petersburg, FL",
"browser": "Chrome",
"browser_version": "48.0",
"os": "MacOSX"
}
]

kmsat-phishing-security-tests-failed-recipients#

Argument NameDescriptionRequirement
pst_idPST IDRequired

Context Output#

PathTypeDescription
KMSAT.PhishingSecurityPST.recipient_idNumberPST recipient ID
KMSAT.PhishingSecurityPST.pst_idNumberPST ID
KMSAT.PhishingSecurityPST.userStringPST user
KMSAT.PhishingSecurityPST.templateStringPST template
KMSAT.PhishingSecurityPST.scheduled_atDatePST scheduled at
KMSAT.PhishingSecurityPST.delivered_atDatePST delivered at
KMSAT.PhishingSecurityPST.opened_atDatePST opened at
KMSAT.PhishingSecurityPST.clicked_atDatePST clicked at
KMSAT.PhishingSecurityPST.replied_atDatePST replied at
KMSAT.PhishingSecurityPST.attachment_opened_atDatePST attachment opened at
KMSAT.PhishingSecurityPST.macro_enabled_atDatePST macro enabled at
KMSAT.PhishingSecurityPST.data_entered_atDatePST data entered at
KMSAT.PhishingSecurityPST.qr_code_scannedDatePST QR code scanned at
KMSAT.PhishingSecurityPST.reported_atDatePST reported at
KMSAT.PhishingSecurityPST.bounced_atDatePST bounced at
KMSAT.PhishingSecurityPST.ipStringPST IP address
KMSAT.PhishingSecurityPST.up_locationStringPST IP address location
KMSAT.PhishingSecurityPST.browserStringPST browser
KMSAT.PhishingSecurityPST.browser_versionStringPST browser version
KMSAT.PhishingSecurityPST.osStringPST operating system

Command Example#

!kmsat-phishing-security-tests-failed-recipients-list pst_id=1

Context Example#

[
{
"recipient_id": 3077742,
"pst_id": 14240,
"user": {
"id": 264215,
"provisioning_guid": null,
"first_name": "Bob",
"last_name": "Ross",
"email": "example4@kb4-demo.com"
},
"template": {
"id": 2,
"name": "Your Amazon Order"
},
"scheduled_at": "2019-04-02T15:02:38.000Z",
"delivered_at": "2019-04-02T15:02:38.000Z",
"opened_at": "2019-04-02T15:02:38.000Z",
"clicked_at": "2019-04-02T15:02:38.000Z",
"replied_at": null,
"attachment_opened_at": null,
"macro_enabled_at": null,
"data_entered_at": "2019-04-02T15:02:38.000Z",
"qr_code_scanned": "2022-05-12T15:29:54.000Z",
"reported_at": null,
"bounced_at": null,
"ip": "XX.XX.XXX.XXX",
"ip_location": "St.Petersburg, FL",
"browser": "Chrome",
"browser_version": "48.0",
"os": "MacOSX"
}
]

kmsat-phishing-campaign-security-tests#

Argument NameDescriptionRequirement
campaign_idCampaign IDRequired
pagePage numberOptional
per_pageAmount per pageOptional

Context Output#

PathTypeDescription
KMSAT.CampaignPST.campaign_idNumberPhishing campaign ID
KMSAT.CampaignPST.pst_idNumberPST ID
KMSAT.CampaignPST.statusStringPST status
KMSAT.CampaignPST.nameStringPST name
KMSAT.CampaignPST.groups.group_idNumberPST group ID
KMSAT.CampaignPST.groups.nameStringPST group name
KMSAT.CampaignPST.phish_prone_percentageNumberPST Phish-prone Percentage
KMSAT.CampaignPST.started_atDatePST started at
KMSAT.CampaignPST.durationNumberPST duration
KMSAT.CampaignPST.categories.category_idNumberPST category ID
KMSAT.CampaignPST.categories.nameStringPST category name
KMSAT.CampaignPST.template.idNumberPST template ID
KMSAT.CampaignPST.template.nameStringPST template name
KMSAT.CampaignPST.landing_page.idNumberPST landing page ID
KMSAT.CampaignPST.landing_page.nameStringPST landing page name
KMSAT.CampaignPST.scheduled_countNumberPST scheduled count
KMSAT.CampaignPST.delivered_countNumberPST delivered count
KMSAT.CampaignPST.opened_countNumberPST opened count
KMSAT.CampaignPST.clicked_countNumberPST clicked count
KMSAT.CampaignPST.replied_countNumberPST replied count
KMSAT.CampaignPST.attachment_open_countNumberPST attachment opened count
KMSAT.CampaignPST.macro_enabled_countNumberPST macro enabled count
KMSAT.CampaignPST.data_entered_countNumberPST data entered count
KMSAT.CampaignPST.qr_code_scanned_countNumberPST QR code scanned count
KMSAT.CampaignPST.reported_countNumberPST reported count
KMSAT.CampaignPST.bounced_countNumberPST bounced count

Command Example#

!kmsat-phishing-campaign-security-tests-list campaign_id=1 page=1 per_page=25

Context Example#

[
{
"campaign_id": 3423,
"pst_id": 16142,
"status": "Closed",
"name": "Corporate Test",
"groups": [
{
"group_id": 16342,
"name": "Corporate Employees"
}
],
"phish_prone_percentage": 0.5,
"started_at": "2019-04-02T15:02:38.000Z",
"duration": 1,
"categories": [
{
"category_id": 4237,
"name": "Current Events"
}
],
"template": {
"id": 11428,
"name": "CNN Breaking News"
},
"landing_page": {
"id": 1842,
"name": "SEI Landing Page"
},
"scheduled_count": 42,
"delivered_count": 4,
"opened_count": 24,
"clicked_count": 20,
"replied_count": 0,
"attachment_open_count": 3,
"macro_enabled_count": 0,
"data_entered_count": 0,
"qr_code_scanned_count": 0,
"reported_count": 0,
"bounced_count": 0
}
]

kmsat-training-campaigns#

Argument NameDescriptionRequireent
pagePage NumberOptional
per_pagePer Page AmountOptional

Context Output#

PathTypeDescription
KMSAT.TrainingCampaigns.campaign_idNumberTraining campaign ID
KMSAT.TrainingCampaigns.nameStringTraining campaign name
KMSAT.TrainingCampaigns.groups.group_idNumberTraining campaign group ID
KMSAT.TrainingCampaigns.groups.nameStringTraining campaign group name
KMSAT.TrainingCampaigns.statusStringTraining campaign Status
KMSAT.TrainingCampaigns.content.store_purchase_idNumberTraining campaign content store purchase ID
KMSAT.TrainingCampaigns.content.content_typeStringTraining campaign content type
KMSAT.TrainingCampaigns.content.nameStringTraining campaign content name
KMSAT.TrainingCampaigns.content.descriptionStringTraining campaign content description
KMSAT.TrainingCampaigns.content.typeStringTraining campaign content type
KMSAT.TrainingCampaigns.content.durationNumberTraining campaign content duration
KMSAT.TrainingCampaigns.content.retiredBooleanTraining campaign content retired
KMSAT.TrainingCampaigns.content.retirement_dateDateTraining campaign content retirement date
KMSAT.TrainingCampaigns.content.publish_dateDateTraining campaign content publish date
KMSAT.TrainingCampaigns.content.publisherStringTraining campaign content publisher
KMSAT.TrainingCampaigns.content.purchase_dateDateTraining campaign content purchase date
KMSAT.TrainingCampaigns.content.policy_urlStringTraining campaign content policy URL
KMSAT.TrainingCampaigns.content.policy_idNumberTraining campaign content policy ID
KMSAT.TrainingCampaigns.content.minimum_timeNumberTraining campaign content minimum time
KMSAT.TrainingCampaigns.content.default_languageStringTraining campaign content default language
KMSAT.TrainingCampaigns.content.publishedBooleanTraining campaign content published
KMSAT.TrainingCampaigns.duration_typeStringTraining campaign duration type
KMSAT.TrainingCampaigns.start_dateDateTraining campaign start date
KMSAT.TrainingCampaigns.end_dateDateTraining campaign end date
KMSAT.TrainingCampaigns.relative_durationStringTraining campaign relative duration
KMSAT.TrainingCampaigns.auto_enrollBooleanTraining campaign auto enrolls
KMSAT.TrainingCampaigns.allow_multiple_enrollmentsBooleanTraining campaign allows multiple enrollments
KMSAT.TrainingCampaigns.completion_percentageNumberTraining campaign completion percentage

Command Example#

!kmsat-training-campaigns-list campaign_id=1 page=1 per_page=25

Context Example#

{
"campaign_id": 4261,
"name": "Annual Training",
"groups": [
{
"group_id": 0,
"name": "All Users"
}
],
"status": "Completed",
"content": [
[
{
"store_purchase_id": 7,
"content_type": "Store Purchase",
"name": "2019 Security Awareness Training",
"description": "A comprehensive overview of best practices...",
"type": "Training Module",
"duration": 42,
"retired": false,
"retirement_date": null,
"publish_date": "2019-04-02T15:02:38.000Z",
"publisher": "KnowBe4",
"purchase_date": "2019-04-02T15:02:38.000Z",
"policy_url": "https://www.yourcompany.com/employees/acceptableusepolicy.html"
},
{
"policy_id": 142,
"content_type": "Uploaded Policy",
"name": "Security Awareness Policy",
"minimum_time": 3,
"default_language": "en-us",
"published": true
}
]
],
"duration_type": "Specific End Date",
"start_date": "2019-04-02T15:02:38.000Z",
"end_date": "2019-04-02T15:02:38.000Z",
"relative_duration": "string",
"auto_enroll": true,
"allow_multiple_enrollments": false,
"completion_percentage": 0
}

kmsat-training-enrollments#

Argument NameDescriptionRequirement
statusStatusOptional
pagePage numberOptional
per_pageAmount per pageOptional

Context Output#

PathTypeDescription
KMSAT.TrainingEnrollments.enrollment_idNumberTraining enrollment ID
KMSAT.TrainingEnrollments.content_typeStringTraining enrollment content type
KMSAT.TrainingEnrollments.module_nameStringTraining enrollment module name
KMSAT.TrainingEnrollments.user.idNumberTraining enrollment user ID
KMSAT.TrainingEnrollments.user.first_nameStringTraining enrollment user’s first name
KMSAT.TrainingEnrollments.user.last_nameStringTraining enrollment user’s last name
KMSAT.TrainingEnrollments.user.emailStringTraining enrollment user’s email address
KMSAT.TrainingEnrollments.campaign_nameStringTraining enrollment campaign name
KMSAT.TrainingEnrollments.enrollment_dateDateTraining enrollment date
KMSAT.TrainingEnrollments.start_dateDateTraining enrollment start date
KMSAT.TrainingEnrollments.completion_dateDateTraining enrollment completion date
KMSAT.TrainingEnrollments.statusStringTraining enrollment status
KMSAT.TrainingEnrollments.time_spentNumberTraining enrollment time spent
KMSAT.TrainingEnrollments.policy_acknowledgedBooleanTraining enrollment policy acknowledged

Command Example#

!kmsat-training-enrollments-list status="Completed" page=1 per_page=25

Context Example#

{
"enrollment_id": 1425526,
"content_type": "Uploaded Policy",
"module_name": "Acceptable Use Policy",
"user": {
"id": 796742,
"first_name": "Sarah",
"last_name": "Thomas",
"email": "example1@kb4-demo.com"
},
"campaign_name": "New Employee Policies",
"enrollment_date": "2019-04-02T15:02:38.000Z",
"start_date": "2019-04-02T15:02:38.000Z",
"completion_date": "2019-04-02T15:02:38.000Z",
"status": "Passed",
"time_spent": 2340,
"policy_acknowledged": false
}

kmsat-user-event-list#

Argument NameTypeRequirement
event_typeStringOptional
target_userStringOptional
external_idStringOptional
sourcestringOptional
occurred_dateStringOptional
risk_levelNumberOptional
risk_decay_modeNumberOptional
risk_expired_dateStringOptional
pageNumberOptional
per_pageNumberOptional
order_byStringOptional
order_directionStringOptional

Context Output#

PathTypeDescription
KMSAT.UserEvents.idNumberEvent ID
KMSAT.UserEvents.user.emailStringUser email address
KMSAT.UserEvents.user.idNumberUser ID
KMSAT.UserEvents.user.archivedBooleanUser archived
KMSAT.UserEvents.external_idStringExternal ID of the event
KMSAT.UserEvents.sourceStringSource of the event
KMSAT.UserEvents.descriptionStringDescription of the event
KMSAT.UserEvents.occurred_dateDateDate the event occurred
KMSAT.UserEvents.risk.levelNumberRisk level of the event
KMSAT.UserEvents.risk.factorNumberRisk factor of the event
KMSAT.UserEvents.risk.decay_modeStringDecay Mode of the risk level
KMSAT.UserEvents.risk.expire_dateStringRisk expiration date
KMSAT.UserEvents.event_type.idNumberID of event type
KMSAT.UserEvents.event_type.nameStringName of event type

Command Example#

!kmsat-user-event-list id=xyz

kmsat-user-events-list#

Argument NameTypeRequirement
event_typeStringOptional
target_userStringOptional
external_idStringOptional
sourcestringOptional
occurred_dateStringOptional
risk_levelNumberOptional
risk_decay_modeNumberOptional
risk_expired_dateStringOptional
pageNumberOptional
per_pageNumberOptional
order_byStringOptional
order_directionStringOptional

Context Output#

PathTypeDescription
KMSAT.UserEvents.idNumberEvent ID
KMSAT.UserEvents.user.emailStringUser email address
KMSAT.UserEvents.user.idNumberUser ID
KMSAT.UserEvents.user.archivedBooleanUser archived
KMSAT.UserEvents.external_idStringExternal ID of the event
KMSAT.UserEvents.sourceStringSource of the event
KMSAT.UserEvents.descriptionStringDescription of the event
KMSAT.UserEvents.occurred_dateDateDate the event occurred
KMSAT.UserEvents.risk.levelNumberRisk level of the event
KMSAT.UserEvents.risk.factorNumberRisk factor of the event
KMSAT.UserEvents.risk.decay_modeStringDecay Mode of the risk level
KMSAT.UserEvents.risk.expire_dateStringRisk expiration date
KMSAT.UserEvents.event_type.idNumberID of event type
KMSAT.UserEvents.event_type.nameStringName of event type

Command Example#

!kmsat-user-events-list target_user=1 risk_level=1 page=1 per_page=25

Context Example#

{
"data": [
{
"id": 0,
"user": {
"email": "string",
"id": 0,
"archived": true
},
"external_id": "string",
"source": "string",
"description": "string",
"occurred_date": "2019-08-24",
"risk": {
"level": 0,
"factor": 0,
"decay_mode": "string",
"expire_date": "string"
},
"event_type": {
"id": 0,
"name": "string"
}
}
]
}

kmsat-user-event-types-list#

Argument NameDescriptionRequirement
nameFilter by name of the event typeOptional

Context Output#

PathTypeDescription
KMSAT.UserEventTypes.idNumberID of the event type
KMSAT.UserEventTypes.account_idNumberAccount ID
KMSAT.UserEventTypes.nameStringName of the event type
KMSAT.UserEventTypes.descriptionStringDescription of event type

Command Example#

!kmsat-user-event-types-list name="John"

Context Example#

{
"data": [
{
"id": 0,
"name": "string",
"description": "string"
}
]
}

kmsat-user-event-create#

Argument NameDescriptionRequirement
target_userStringRequired
event_typeStringRequired
external_idStringOptional
sourcestringOptional
descriptionStringOptional
occurred_dateStringOptional
risk_levelNumberOptional
risk_decay_modeNumberOptional
risk_expired_dateStringOptional

Context Output#

PathTypeDescription
KMSAT.UserEventCreate.idNumberUnique ID of the event

Command Example#

!kmsat-user-event-create target_user="John" event_type="New Event"

Context Example#

{
"data": {
"id": "string"
}
}

kmsat-user-event-delete#

Argument NameDescriptionRequirement
idEvent IDRequired

Command Example#

!kmsat-user-event-delete id=1

kmsat-user-event-status-list#

Argument NameDescriptionRequirement
idrequest id from kmsat-Required

Context Output#

PathTypeDescription
KMSAT.UserEventStatus.idNumberID of the Event Type
KMSAT.UserEventTypes.detailsObjectDetails of event request including event id and any failures
KMSAT.UserEventTypes.details.eventsArraylist of event ids
KMSAT.UserEventTypes.details.failuresArrayreasons for failure
KMSAT.UserEventTypes.processedDateDate and time event was processed
KMSAT.UserEventTypes.api_keyStringName of api key used

Command Example#

!kmsat-user-event-status-list id=xyz

Context Example#

{
"data": {
"id": "abcdefgh-843c-4fc8-bb2f-decf89876f7b",
"details": {
"events": [
"123456-a083-42b9-b50a-fb69b8e2b185"
],
"failures": []
},
"processed": "2023-04-1T14:39:40.132Z",
"api_key": "Test integration"
}
}

kmsat-user-event-statuses-list#

Argument NameDescriptionRequirement
processeddate item was processedNo
pagePage NumberNo
per_pagePer Page AmountNo

Context Output#

PathTypeDescription
KMSAT.UserEventStatus.idNumberID of the Event Type
KMSAT.UserEventTypes.detailsObjectDetails of event request including event id and any failures
KMSAT.UserEventTypes.details.eventsArraylist of event ids
KMSAT.UserEventTypes.details.failuresArrayreasons for failure
KMSAT.UserEventTypes.processedDateDate and time event was processed
KMSAT.UserEventTypes.api_keyStringName of api key used

Command Example#

!kmsat-user-event-status-list id=xyz

Context Example#

{
"data": [
{
"id": "abcdefgh-843c-4fc8-bb2f-decf89876f7b",
"details": {
"events": [
"123456-a083-42b9-b50a-fb69b8e2b185"
],
"failures": []
},
"processed": "2023-04-1T14:39:40.132Z",
"api_key": "Test integration"
},
{
"id": "qrstevei-843c-4fc8-bb2f-decf89876f7b",
"details": {
"events": [
"9876543-a083-42b9-b50a-fb69b8e2b185"
],
"failures": []
},
"processed": "2023-04-1T00:39:40.132Z",
"api_key": "Test integration"
}
]
}

kmsat-phishing-campaigns-security-tests-list#


Returns All Campaign Phishing Security Tests (PSTs).

Base Command#

kmsat-phishing-campaigns-security-tests-list

Input#

Argument NameDescriptionRequired
campaign_idCampaign ID.Required
pagePage Number.Required
per_pagePer Page Amount.Optional

Context Output#

PathTypeDescription
KMSAT.CampaignPST.campaign_idNumberCampaign Phishing Security Campaign ID
KMSAT.CampaignPST.pst_idNumberCampaign Phishing Security PST ID
KMSAT.CampaignPST.statusStringCampaign Phishing Security Status
KMSAT.CampaignPST.nameStringCampaign Phishing Security Name
KMSAT.CampaignPST.groups.group_idNumberCampaign Phishing Security Group ID
KMSAT.CampaignPST.groups.nameStringCampaign Phishing Security Name
KMSAT.CampaignPST.phish_prone_percentageNumberCampaign Phishing Security Phish Prone Percentage
KMSAT.CampaignPST.started_atDateCampaign Phishing Security Started At
KMSAT.CampaignPST.durationNumberCampaign Phishing Security Duration
KMSAT.CampaignPST.categories.category_idNumberCampaign Phishing Security Categories Category ID
KMSAT.CampaignPST.categories.nameStringCampaign Phishing Security Categories Name
KMSAT.CampaignPST.template.idNumberCampaign Phishing Security Template ID
KMSAT.CampaignPST.template.nameStringCampaign Phishing Security Template Name
KMSAT.CampaignPST.landing_page.idNumberCampaign Phishing Security Landing Page ID
KMSAT.CampaignPST.landing_page.nameStringCampaign Phishing Security Landing Page Name
KMSAT.CampaignPST.scheduled_countNumberCampaign Phishing Security Scheduled Count
KMSAT.CampaignPST.delivered_countNumberCampaign Phishing Security Delivered Count
KMSAT.CampaignPST.opened_countNumberCampaign Phishing Security Opened Count
KMSAT.CampaignPST.clicked_countNumberCampaign Phishing Security Clicked Count
KMSAT.CampaignPST.replied_countNumberCampaign Phishing Security Replied Count
KMSAT.CampaignPST.attachment_open_countNumberCampaign Phishing Security Attachment Open Count
KMSAT.CampaignPST.macro_enabled_countNumberCampaign Phishing Security Macro Enabled Count
KMSAT.CampaignPST.data_entered_countNumberCampaign Phishing Security Data Entered Count
KMSAT.CampaignPST.qr_code_scanned_countNumberCampaign Phishing Security QR Code Scanned Count
KMSAT.CampaignPST.reported_countNumberCampaign Phishing Security Reported Count
KMSAT.CampaignPST.bounced_countNumberCampaign Phishing Security Bounced Count