Skip to content

SOAR-6687 Fix Metasploit plugin#1008

Merged
pmara-r7 merged 24 commits intomasterfrom
SOAR-6687-Fix-Metasploit-Cons
Sep 29, 2021
Merged

SOAR-6687 Fix Metasploit plugin#1008
pmara-r7 merged 24 commits intomasterfrom
SOAR-6687-Fix-Metasploit-Cons

Conversation

@pmara-r7
Copy link
Copy Markdown
Contributor

Proposed Changes

Fix Argument passing for the login method for the API
Add try/catch in case of bad server response in search for exploit
Fixed JSON field references in trigger as the name had changed
Add integration test files for the future
[TODO] Updated plugin spec and help to be up to date

Description

Describe the proposed changes:

  • See Proposed changes

PR Requirements

Developers, verify you have completed the following items by checking them off:

Testing

Ran integration tests, output below in comments.

Unit Tests

Review our documentation on generating and writing plugin unit tests

  • Unit tests written for any new or updated code

In-Product Tests

If you are an InsightConnect customer or have access to an InsightConnect instance, the following in-product tests should be done:

  • Screenshot of job output with the plugin changes
  • Screenshot of the changed connection, actions, or triggers input within the InsightConnect workflow builder

Style

Review the style guide

Functional Checklist

  • Work fully completed
  • Functional
    • Any new actions/triggers include JSON test files in the tests/ directory created with icon-plugin run -c sample $action > tests/$action.json
    • Tests should all pass unless it's a negative test. Negative tests have a naming convention of tests/$action_bad.json
    • Unsuccessful tests should fail by raising an exception causing the plugin to die and an object should be returned on successful test
    • Add functioning test results to PR, sanitize any output if necessary
      • Single action/trigger icon-plugin run -T tests/example.json --debug --jq
      • All actions/triggers shortcut icon-plugin run -T all --debug --jq (use PR format at end)
    • Add functioning run results to PR, sanitize any output if necessary
      • Single action/trigger icon-plugin run -R tests/example.json --debug --jq
      • All actions/triggers shortcut icon-plugin run -R all --debug --jq (use PR format at end)

Assessment

You must validate your work to reviewers:

  1. Run make validate and make sure everything passes
  2. Run the assessment tool: icon-plugin run -A -R all -T all. For single action validation: icon-plugin run -A -R tests/my_action.json -T tests/my_action.json
  3. Copy (icon-plugin ... | pbcopy) and paste the output in a new post on this PR
  4. Add required screenshots from the In-Product Tests section

@pmara-r7 pmara-r7 changed the title SOAR-6687 fix metasploit plugin SOAR-6687 Fix Metasploit plugin Sep 16, 2021
@pmara-r7 pmara-r7 added the Work in Progress 🚧 PR is in progress label Sep 16, 2021
@pmara-r7 pmara-r7 removed the Work in Progress 🚧 PR is in progress label Sep 24, 2021
mberezin-r7
mberezin-r7 previously approved these changes Sep 24, 2021
Copy link
Copy Markdown
Contributor

@mberezin-r7 mberezin-r7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mberezin-r7 mberezin-r7 added the Needs 2nd Reviewer PR needs a second reviewer label Sep 24, 2021
raise
return {"success": True}

def do_section(self, client, search_term, results, list_in: list, list_name: str, dictionary_key: str):
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you typehint client, search_term, and results?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

@mrinehart-r7
Copy link
Copy Markdown
Contributor

@pmara-r7 can you post screenshots of in-product testing?

@mrinehart-r7 mrinehart-r7 added Needs Testing PR needs additional testing and removed Needs 2nd Reviewer PR needs a second reviewer labels Sep 28, 2021
@pmara-r7
Copy link
Copy Markdown
Contributor Author

Assessment

Run

Details
{
  "body": {
    "log": "Connect: Connecting...\n{'credentials': {'password': 'redacted', 'username': 'redacted'}, 'port': 3790, 'server': 'https://example.com', 'ssl': True, 'uri': '/api/'}\nClient connection established\nrapid7/Rapid7 https://example.com Step name: execute_exploit\n",
    "meta": {},
    "output": {
      "console_output": [
        "No payload configured, defaulting to java/meterpreter/reverse_tcp",
        "[https://example.com] Started reverse TCP handler on https://example.com ",
        "[https://example.com] https://example.com - Using URL: https://example.com",
        "[https://example.com] https://example.com - Local IP: https://example.com",
        "[https://example.com] https://example.com - Server started.",
        "[https://example.com] https://example.com - Server stopped.",
        "Exploit completed, but no session was created."
      ],
      "session_information": {}
    },
    "status": "ok"
  },
  "type": "action_event",
  "version": "v1"
}

docker run --rm -i pj-test/rapid7_metasploit:3.0.0 run < tests/execute_exploit.json
Details
{
  "body": {
    "log": "Connect: Connecting...\n{'credentials': {'password': 'redacted', 'username': 'redacted'}, 'port': 3790, 'server': 'https://example.com', 'ssl': True, 'uri': '/api/'}\nClient connection established\nrapid7/Rapid7 https://example.com Step name: search_for_exploit\nSkipping exploit linux/misc/saltstack_salt_unauth_rce due to connection error\nSkipping exploit linux/smtp/haraka due to connection error\nSkipping auxiliary admin/2wire/xslt_password_reset due to connection error\nSkipping auxiliary admin/http/cisco_7937g_ssh_privesc due to connection error\nSkipping auxiliary admin/http/grafana_auth_bypass due to connection error\nSkipping auxiliary admin/teradata/teradata_odbc_sql due to connection error\nSkipping auxiliary dos/cisco/cisco_7937g_dos due to connection error\nSkipping auxiliary dos/cisco/cisco_7937g_dos_reboot due to connection error\nSkipping auxiliary dos/http/slowloris due to connection error\nSkipping auxiliary dos/smb/smb_loris due to connection error\nSkipping auxiliary dos/tcp/claymore_dos due to connection error\nSkipping auxiliary gather/get_user_spns due to connection error\nSkipping auxiliary gather/mikrotik_winbox_fileread due to connection error\nSkipping auxiliary gather/office365userenum due to connection error\nSkipping auxiliary scanner/http/onion_omega2_login due to connection error\nSkipping auxiliary scanner/http/rdp_web_login due to connection error\nSkipping auxiliary scanner/msmail/exchange_enum due to connection error\nSkipping auxiliary scanner/msmail/host_id due to connection error\nSkipping auxiliary scanner/msmail/onprem_enum due to connection error\nSkipping auxiliary scanner/smb/impacket/dcomexec due to connection error\nSkipping auxiliary scanner/smb/impacket/secretsdump due to connection error\nSkipping auxiliary scanner/smb/impacket/wmiexec due to connection error\nSkipping auxiliary scanner/ssl/bleichenbacher_oracle due to connection error\nSkipping auxiliary scanner/teradata/teradata_odbc_login due to connection error\nSkipping auxiliary scanner/wproxy/att_open_proxy due to connection error\nSkipping post aix/hashdump due to connection error\n",
    "meta": {},
    "output": {
      "auxiliaries": [
        "admin/hp/hp_ilo_create_admin_account",
        "admin/http/linksys_tmunblock_admin_reset_bof",
        "admin/http/netgear_r6700_pass_reset",
        "admin/http/netgear_r7000_backup_cgi_heap_overflow_rce",
        "dos/http/cable_haunt_websocket_dos",
        "dos/http/rails_json_float_dos",
        "dos/scada/yokogawa_logsvr",
        "dos/ssl/dtls_fragment_overflow",
        "dos/windows/smb/ms05_047_pnp",
        "gather/qnap_backtrace_admin_hash",
        "scanner/http/smt_ipmi_cgi_scanner"
      ],
      "exploits": [
        "aix/rpc_cmsd_opcode21",
        "aix/rpc_ttdbserverd_realpath",
        "apple_ios/browser/safari_libtiff",
        "apple_ios/email/mobilemail_libtiff",
        "bsd/finger/morris_fingerd_bof",
        "bsdi/softcart/mercantec_softcart",
        "dialup/multi/login/manyargs",
        "freebsd/ftp/proftp_telnet_iac",
        "freebsd/samba/trans2open",
        "freebsd/tacacs/xtacacsd_report",
        "freebsd/telnet/telnet_encrypt_keyid",
        "hpux/lpd/cleanup_exec",
        "linux/ftp/proftp_sreplace",
        "linux/ftp/proftp_telnet_iac",
        "linux/http/airties_login_cgi_bof",
        "linux/http/belkin_login_bof",
        "linux/http/dlink_authentication_cgi_bof",
        "linux/http/dlink_dspw215_info_cgi_bof",
        "linux/http/dlink_hnap_bof",
        "linux/http/dlink_hnap_login_bof",
        "linux/http/linksys_apply_cgi",
        "linux/http/netgear_wnr2000_rce",
        "linux/http/nginx_chunked_size",
        "linux/http/peercast_url",
        "linux/http/smt_ipmi_close_window_bof",
        "linux/ids/snortbopre",
        "linux/imap/imap_uw_lsub",
        "linux/local/hp_smhstart",
        "linux/local/sudo_baron_samedit",
        "linux/misc/gld_postfix",
        "linux/misc/hikvision_rtsp_bof",
        "linux/misc/hp_nnmi_pmd_bof",
        "linux/misc/hp_vsa_login_bof",
        "linux/misc/ib_inet_connect",
        "linux/misc/ib_jrd8_create_database",
        "linux/misc/ib_open_marker_file",
        "linux/misc/ib_pwd_db_aliased",
        "linux/misc/netsupport_manager_agent",
        "linux/misc/novell_edirectory_ncp_bof",
        "linux/misc/quest_pmmasterd_bof",
        "linux/mysql/mysql_yassl_getname",
        "linux/mysql/mysql_yassl_hello",
        "linux/samba/trans2open",
        "linux/smtp/exim_gethostbyname_bof",
        "linux/telnet/telnet_encrypt_keyid",
        "linux/upnp/miniupnpd_soap_bof",
        "multi/browser/adobe_flash_nellymoser_bof",
        "multi/browser/adobe_flash_pixel_bender_bof",
        "multi/browser/adobe_flash_shader_job_overflow",
        "multi/browser/itms_overflow",
        "multi/http/sun_jsws_dav_options",
        "multi/ids/snort_dce_rpc",
        "multi/misc/wireshark_lwres_getaddrbyname",
        "multi/misc/wireshark_lwres_getaddrbyname_loop",
        "multi/ntp/ntp_overflow",
        "multi/realserver/describe",
        "multi/samba/nttrans",
        "multi/upnp/libupnp_ssdp_overflow",
        "multi/vpn/tincd_bof",
        "netware/smb/lsass_cifs",
        "netware/sunrpc/pkernel_callit",
        "osx/afp/loginext",
        "osx/arkeia/type77",
        "osx/ftp/webstar_ftp_user",
        "osx/http/evocam_webserver",
        "osx/local/nfs_mount_root",
        "osx/mdns/upnp_location",
        "osx/misc/ufo_ai",
        "osx/rtsp/quicktime_rtsp_content_type",
        "osx/samba/trans2open",
        "solaris/samba/trans2open",
        "solaris/ssh/pam_username_bof",
        "solaris/sunrpc/sadmind_adm_build_path",
        "solaris/telnet/ttyprompt",
        "unix/smtp/exim4_string_format",
        "windows/antivirus/symantec_iao",
        "windows/antivirus/symantec_rtvscan",
        "windows/antivirus/trendmicro_serverprotect",
        "windows/antivirus/trendmicro_serverprotect_createbinding",
        "windows/antivirus/trendmicro_serverprotect_earthagent",
        "windows/arkeia/type77",
        "windows/backupexec/remote_agent",
        "windows/brightstor/ca_arcserve_342",
        "windows/brightstor/discovery_udp",
        "windows/brightstor/etrust_itm_alert",
        "windows/brightstor/hsmserver",
        "windows/brightstor/lgserver",
        "windows/brightstor/lgserver_multi",
        "windows/brightstor/lgserver_rxrlogin",
        "windows/brightstor/lgserver_rxssetdatagrowthscheduleandfilter",
        "windows/brightstor/lgserver_rxsuselicenseini",
        "windows/brightstor/license_gcr",
        "windows/brightstor/mediasrv_sunrpc",
        "windows/brightstor/message_engine",
        "windows/brightstor/message_engine_72",
        "windows/brightstor/tape_engine",
        "windows/brightstor/tape_engine_0x8a",
        "windows/browser/adobe_geticon",
        "windows/browser/adobe_utilprintf",
        "windows/browser/advantech_webaccess_dvs_getcolor",
        "windows/browser/aladdin_choosefilepath_bof",
        "windows/browser/amaya_bdo",
        "windows/browser/aol_ampx_convertfile",
        "windows/browser/apple_itunes_playlist",
        "windows/browser/apple_quicktime_mime_type",
        "windows/browser/apple_quicktime_rdrf",
        "windows/browser/apple_quicktime_rtsp",
        "windows/browser/apple_quicktime_smil_debug",
        "windows/browser/apple_quicktime_texml_font_table",
        "windows/browser/ask_shortformat",
        "windows/browser/asus_net4switch_ipswcom",
        "windows/browser/athocgov_completeinstallation",
        "windows/browser/awingsoft_web3d_bof",
        "windows/browser/baofeng_storm_onbeforevideodownload",
        "windows/browser/barcode_ax49",
        "windows/browser/ca_brightstor_addcolumn",
        "windows/browser/cisco_playerpt_setsource",
        "windows/browser/cisco_playerpt_setsource_surl",
        "windows/browser/citrix_gateway_actx",
        "windows/browser/communicrypt_mail_activex",
        "windows/browser/creative_software_cachefolder",
        "windows/browser/crystal_reports_printcontrol",
        "windows/browser/ea_checkrequirements",
        "windows/browser/ebook_flipviewer_fviewerloading",
        "windows/browser/enjoysapgui_preparetoposthtml",
        "windows/browser/facebook_extractiptc",
        "windows/browser/foxit_reader_plugin_url_bof",
        "windows/browser/getgodm_http_response_bof",
        "windows/browser/gom_openurl",
        "windows/browser/greendam_url",
        "windows/browser/hp_loadrunner_addfile",
        "windows/browser/hp_loadrunner_addfolder",
        "windows/browser/hpmqc_progcolor",
        "windows/browser/hyleos_chemviewx_activex",
        "windows/browser/ibm_spss_c1sizer",
        "windows/browser/ibm_tivoli_pme_activex_bof",
        "windows/browser/ibmegath_getxmlvalue",
        "windows/browser/ibmlotusdomino_dwa_uploadmodule",
        "windows/browser/ie_iscomponentinstalled",
        "windows/browser/imgeviewer_tifmergemultifiles",
        "windows/browser/inotes_dwa85w_bof",
        "windows/browser/java_docbase_bof",
        "windows/browser/juniper_sslvpn_ive_setupdll",
        "windows/browser/kazaa_altnet_heap",
        "windows/browser/logitechvideocall_start",
        "windows/browser/lpviewer_url",
        "windows/browser/macrovision_downloadandexecute",
        "windows/browser/mcafee_mcsubmgr_vsprintf",
        "windows/browser/mcafeevisualtrace_tracetarget",
        "windows/browser/mirc_irc_url",
        "windows/browser/ms06_055_vml_method",
        "windows/browser/ms07_017_ani_loadimage_chunksize",
        "windows/browser/ms08_053_mediaencoder",
        "windows/browser/ms08_070_visual_studio_msmask",
        "windows/browser/ms09_043_owc_htmlurl",
        "windows/browser/ms10_026_avi_nsamplespersec",
        "windows/browser/mswhale_checkforupdates",
        "windows/browser/nctaudiofile2_setformatlikesample",
        "windows/browser/nis2004_antispam",
        "windows/browser/nis2004_get",
        "windows/browser/novelliprint_callbackurl",
        "windows/browser/novelliprint_datetime",
        "windows/browser/novelliprint_executerequest",
        "windows/browser/novelliprint_executerequest_dbg",
        "windows/browser/novelliprint_getdriversettings",
        "windows/browser/novelliprint_getdriversettings_2",
        "windows/browser/novelliprint_target_frame",
        "windows/browser/oracle_autovue_setmarkupmode",
        "windows/browser/oracle_dc_submittoexpress",
        "windows/browser/orbit_connecting",
        "windows/browser/quickr_qp2_bof",
        "windows/browser/realplayer_import",
        "windows/browser/realplayer_smil",
        "windows/browser/roxio_cineplayer",
        "windows/browser/samsung_neti_wiewer_backuptoavi_bof",
        "windows/browser/sapgui_saveviewtosessionfile",
        "windows/browser/softartisans_getdrivename",
        "windows/browser/sonicwall_addrouteentry",
        "windows/browser/symantec_altirisdeployment_runcmd",
        "windows/browser/symantec_backupexec_pvcalendar",
        "windows/browser/symantec_consoleutilities_browseandsavefile",
        "windows/browser/trendmicro_officescan",
        "windows/browser/tumbleweed_filetransfer",
        "windows/browser/ultramjcam_openfiledig_bof",
        "windows/browser/ultraoffice_httpupload",
        "windows/browser/viscom_movieplayer_drawtext",
        "windows/browser/vlc_mms_bof",
        "windows/browser/webex_ucf_newobject",
        "windows/browser/winamp_ultravox",
        "windows/browser/windvd7_applicationtype",
        "windows/browser/x360_video_player_set_text_bof",
        "windows/browser/xmplay_asx",
        "windows/browser/yahoomessenger_fvcom",
        "windows/browser/yahoomessenger_server",
        "windows/dcerpc/ms03_026_dcom",
        "windows/dcerpc/ms05_017_msmq",
        "windows/dcerpc/ms07_029_msdns_zonename",
        "windows/dcerpc/ms07_065_msmq",
        "windows/email/ms07_017_ani_loadimage_chunksize",
        "windows/emc/alphastor_agent",
        "windows/fileformat/a_pdf_wav_to_mp3",
        "windows/fileformat/abbs_amp_lst",
        "windows/fileformat/acdsee_fotoslate_string",
        "windows/fileformat/acdsee_xpm",
        "windows/fileformat/actfax_import_users_bof",
        "windows/fileformat/activepdf_webgrabber",
        "windows/fileformat/adobe_collectemailinfo",
        "windows/fileformat/adobe_geticon",
        "windows/fileformat/adobe_illustrator_v14_eps",
        "windows/fileformat/adobe_utilprintf",
        "windows/fileformat/allplayer_m3u_bof",
        "windows/fileformat/altap_salamander_pdb",
        "windows/fileformat/aol_phobos_bof",
        "windows/fileformat/apple_quicktime_rdrf",
        "windows/fileformat/apple_quicktime_texml",
        "windows/fileformat/audio_coder_m3u",
        "windows/fileformat/audio_wkstn_pls",
        "windows/fileformat/audiotran_pls",
        "windows/fileformat/audiotran_pls_1424",
        "windows/fileformat/bacnet_csv",
        "windows/fileformat/beetel_netconfig_ini_bof",
        "windows/fileformat/blazedvd_hdtv_bof",
        "windows/fileformat/boxoft_wav_to_mp3",
        "windows/fileformat/bpftp_client_bps_bof",
        "windows/fileformat/bsplayer_m3u",
        "windows/fileformat/ca_cab",
        "windows/fileformat/cain_abel_4918_rdp",
        "windows/fileformat/ccmplayer_m3u_bof",
        "windows/fileformat/chasys_draw_ies_bmp_bof",
        "windows/fileformat/coolpdf_image_stream_bof",
        "windows/fileformat/corelpdf_fusion_bof",
        "windows/fileformat/csound_getnum_bof",
        "windows/fileformat/cutezip_bof",
        "windows/fileformat/cyberlink_lpp_bof",
        "windows/fileformat/cyberlink_p2g_bof",
        "windows/fileformat/cytel_studio_cy3",
        "windows/fileformat/deepburner_path",
        "windows/fileformat/destinymediaplayer16",
        "windows/fileformat/digital_music_pad_pls",
        "windows/fileformat/djstudio_pls_bof",
        "windows/fileformat/djvu_imageurl",
        "windows/fileformat/documalis_pdf_editor_and_scanner",
        "windows/fileformat/dupscout_xml",
        "windows/fileformat/dvdx_plf_bof",
        "windows/fileformat/easycdda_pls_bof",
        "windows/fileformat/emc_appextender_keyworks",
        "windows/fileformat/erdas_er_viewer_bof",
        "windows/fileformat/erdas_er_viewer_rf_report_error",
        "windows/fileformat/etrust_pestscan",
        "windows/fileformat/ezip_wizard_bof",
        "windows/fileformat/fatplayer_wav",
        "windows/fileformat/fdm_torrent",
        "windows/fileformat/feeddemon_opml",
        "windows/fileformat/foxit_reader_launch",
        "windows/fileformat/foxit_title_bof",
        "windows/fileformat/free_mp3_ripper_wav",
        "windows/fileformat/galan_fileformat_bof",
        "windows/fileformat/gsm_sim",
        "windows/fileformat/gta_samp",
        "windows/fileformat/hhw_hhp_compiledfile_bof",
        "windows/fileformat/hhw_hhp_contentfile_bof",
        "windows/fileformat/hhw_hhp_indexfile_bof",
        "windows/fileformat/homm3_h3m",
        "windows/fileformat/ht_mp3player_ht3_bof",
        "windows/fileformat/ibm_forms_viewer_fontname",
        "windows/fileformat/ibm_pcm_ws",
        "windows/fileformat/icofx_bof",
        "windows/fileformat/ideal_migration_ipj",
        "windows/fileformat/iftp_schedule_bof",
        "windows/fileformat/irfanview_jpeg2000_bof",
        "windows/fileformat/ispvm_xcf_ispxcf",
        "windows/fileformat/lotusnotes_lzh",
        "windows/fileformat/magix_musikmaker_16_mmm",
        "windows/fileformat/mcafee_hercules_deletesnapshot",
        "windows/fileformat/mediacoder_m3u",
        "windows/fileformat/mediajukebox",
        "windows/fileformat/microp_mppl",
        "windows/fileformat/millenium_mp3_pls",
        "windows/fileformat/mini_stream_pls_bof",
        "windows/fileformat/mjm_coreplayer2011_s3m",
        "windows/fileformat/mjm_quickplayer_s3m",
        "windows/fileformat/moxa_mediadbplayback",
        "windows/fileformat/mplayer_m3u_bof",
        "windows/fileformat/mplayer_sami_bof",
        "windows/fileformat/ms10_004_textbytesatom",
        "windows/fileformat/ms10_087_rtf_pfragments_bof",
        "windows/fileformat/ms11_006_createsizeddibsection",
        "windows/fileformat/ms11_021_xlb_bof",
        "windows/fileformat/ms12_027_mscomctl_bof",
        "windows/fileformat/ms_visual_basic_vbp",
        "windows/fileformat/mymp3player_m3u",
        "windows/fileformat/netop",
        "windows/fileformat/nuance_pdf_launch_overflow",
        "windows/fileformat/orbit_download_failed_bof",
        "windows/fileformat/orbital_viewer_orb",
        "windows/fileformat/proshow_cellimage_bof",
        "windows/fileformat/proshow_load_bof",
        "windows/fileformat/publishit_pui",
        "windows/fileformat/real_networks_netzip_bof",
        "windows/fileformat/real_player_url_property_bof",
        "windows/fileformat/realplayer_ver_attribute_bof",
        "windows/fileformat/safenet_softremote_groupname",
        "windows/fileformat/sascam_get",
        "windows/fileformat/scadaphone_zip",
        "windows/fileformat/shadow_stream_recorder_bof",
        "windows/fileformat/somplplayer_m3u",
        "windows/fileformat/subtitle_processor_m3u_bof",
        "windows/fileformat/syncbreeze_xml",
        "windows/fileformat/tfm_mmplayer_m3u_ppl_bof",
        "windows/fileformat/total_video_player_ini_bof",
        "windows/fileformat/tugzip",
        "windows/fileformat/ultraiso_ccd",
        "windows/fileformat/ultraiso_cue",
        "windows/fileformat/ursoft_w32dasm",
        "windows/fileformat/varicad_dwb",
        "windows/fileformat/videocharge_studio",
        "windows/fileformat/videolan_tivo",
        "windows/fileformat/videospirit_visprj",
        "windows/fileformat/vlc_realtext",
        "windows/fileformat/vlc_smb_uri",
        "windows/fileformat/watermark_master",
        "windows/fileformat/winamp_maki_bof",
        "windows/fileformat/wireshark_mpeg_overflow",
        "windows/fileformat/wireshark_packet_dect",
        "windows/fileformat/wm_downloader_m3u",
        "windows/fileformat/xenorate_xpl_bof",
        "windows/fileformat/xion_m3u_sehbof",
        "windows/fileformat/xradio_xrl_sehbof",
        "windows/fileformat/zahir_enterprise_plus_csv",
        "windows/fileformat/zinfaudioplayer221_pls",
        "windows/firewall/blackice_pam_icq",
        "windows/firewall/kerio_auth",
        "windows/ftp/32bitftp_list_reply",
        "windows/ftp/aasync_list_reply",
        "windows/ftp/ability_server_stor",
        "windows/ftp/ayukov_nftp",
        "windows/ftp/bison_ftp_bof",
        "windows/ftp/cesarftp_mkd",
        "windows/ftp/easyfilesharing_pass",
        "windows/ftp/easyftp_cwd_fixret",
        "windows/ftp/easyftp_list_fixret",
        "windows/ftp/easyftp_mkd_fixret",
        "windows/ftp/filecopa_list_overflow",
        "windows/ftp/filewrangler_list_reply",
        "windows/ftp/freefloatftp_user",
        "windows/ftp/freeftpd_pass",
        "windows/ftp/freeftpd_user",
        "windows/ftp/ftpgetter_pwd_reply",
        "windows/ftp/ftppad_list_reply",
        "windows/ftp/ftpshell51_pwd_reply",
        "windows/ftp/ftpshell_cli_bof",
        "windows/ftp/ftpsynch_list_reply",
        "windows/ftp/gekkomgr_list_reply",
        "windows/ftp/globalscapeftp_input",
        "windows/ftp/goldenftp_pass_bof",
        "windows/ftp/labf_nfsaxe",
        "windows/ftp/leapftp_list_reply",
        "windows/ftp/leapftp_pasv_reply",
        "windows/ftp/ms09_053_ftpd_nlst",
        "windows/ftp/odin_list_reply",
        "windows/ftp/oracle9i_xdb_ftp_pass",
        "windows/ftp/oracle9i_xdb_ftp_unlock",
        "windows/ftp/pcman_put",
        "windows/ftp/pcman_stor",
        "windows/ftp/proftp_banner",
        "windows/ftp/ricoh_dl_bof",
        "windows/ftp/sami_ftpd_list",
        "windows/ftp/sami_ftpd_user",
        "windows/ftp/scriptftp_list",
        "windows/ftp/seagull_list_reply",
        "windows/ftp/servu_chmod",
        "windows/ftp/slimftpd_list_concat",
        "windows/ftp/trellian_client_pasv",
        "windows/ftp/turboftp_port",
        "windows/ftp/warftpd_165_pass",
        "windows/ftp/warftpd_165_user",
        "windows/ftp/wftpd_size",
        "windows/ftp/winaxe_server_ready",
        "windows/ftp/wsftp_server_503_mkd",
        "windows/ftp/wsftp_server_505_xmd5",
        "windows/ftp/xftp_client_pwd",
        "windows/ftp/xlink_client",
        "windows/ftp/xlink_server",
        "windows/games/mohaa_getinfo",
        "windows/http/altn_securitygateway",
        "windows/http/altn_webadmin",
        "windows/http/amlibweb_webquerydll_app",
        "windows/http/apache_modjk_overflow",
        "windows/http/badblue_ext_overflow",
        "windows/http/badblue_passthru",
        "windows/http/bea_weblogic_jsessionid",
        "windows/http/bea_weblogic_post_bof",
        "windows/http/bea_weblogic_transfer_encoding",
        "windows/http/belkin_bulldog",
        "windows/http/cogent_datahub_request_headers_bof",
        "windows/http/disk_pulse_enterprise_bof",
        "windows/http/disk_pulse_enterprise_get",
        "windows/http/diskboss_get_bof",
        "windows/http/disksavvy_get_bof",
        "windows/http/disksorter_bof",
        "windows/http/dup_scout_enterprise_login_bof",
        "windows/http/dupscts_bof",
        "windows/http/easychatserver_seh",
        "windows/http/easyfilesharing_post",
        "windows/http/easyftp_list",
        "windows/http/edirectory_host",
        "windows/http/edirectory_imonitor",
        "windows/http/efs_easychatserver_username",
        "windows/http/efs_fmws_userid_bof",
        "windows/http/ericom_access_now_bof",
        "windows/http/ezserver_http",
        "windows/http/fdm_auth_header",
        "windows/http/file_sharing_wizard_seh",
        "windows/http/geutebrueck_gcore_x64_rce_bo",
        "windows/http/hp_nnm_getnnmdata_hostname",
        "windows/http/hp_nnm_getnnmdata_icount",
        "windows/http/hp_nnm_getnnmdata_maxage",
        "windows/http/hp_nnm_openview5",
        "windows/http/hp_nnm_ovalarm_lang",
        "windows/http/hp_nnm_ovas",
        "windows/http/hp_nnm_ovbuildpath_textfile",
        "windows/http/hp_nnm_ovwebhelp",
        "windows/http/hp_nnm_ovwebsnmpsrv_main",
        "windows/http/hp_nnm_ovwebsnmpsrv_ovutil",
        "windows/http/hp_nnm_ovwebsnmpsrv_uro",
        "windows/http/hp_nnm_snmp",
        "windows/http/hp_nnm_snmpviewer_actapp",
        "windows/http/hp_nnm_toolbar_01",
        "windows/http/hp_nnm_toolbar_02",
        "windows/http/hp_nnm_webappmon_execvp",
        "windows/http/hp_nnm_webappmon_ovjavalocale",
        "windows/http/hp_power_manager_filename",
        "windows/http/hp_power_manager_login",
        "windows/http/httpdx_handlepeer",
        "windows/http/ia_webmail",
        "windows/http/ibm_tivoli_endpoint_bof",
        "windows/http/ibm_tpmfosd_overflow",
        "windows/http/ibm_tsm_cad_header",
        "windows/http/icecast_header",
        "windows/http/integard_password_bof",
        "windows/http/intersystems_cache",
        "windows/http/ipswitch_wug_maincfgret",
        "windows/http/kolibri_http",
        "windows/http/mailenable_auth_header",
        "windows/http/maxdb_webdbm_database",
        "windows/http/maxdb_webdbm_get_overflow",
        "windows/http/mdaemon_worldclient_form2raw",
        "windows/http/minishare_get_overflow",
        "windows/http/navicopa_get_overflow",
        "windows/http/novell_messenger_acceptlang",
        "windows/http/nowsms",
        "windows/http/oracle9i_xdb_pass",
        "windows/http/peercast_url",
        "windows/http/php_apache_request_headers_bof",
        "windows/http/privatewire_gateway",
        "windows/http/psoproxy91_overflow",
        "windows/http/rabidhamster_r4_log",
        "windows/http/sambar6_search_results",
        "windows/http/sapdb_webtools",
        "windows/http/savant_31_overflow",
        "windows/http/servu_session_cookie",
        "windows/http/shttpd_post",
        "windows/http/steamcast_useragent",
        "windows/http/sybase_easerver",
        "windows/http/syncbreeze_bof",
        "windows/http/sysax_create_folder",
        "windows/http/trackercam_phparg_overflow",
        "windows/http/trendmicro_officescan",
        "windows/http/ultraminihttp_bof",
        "windows/http/vxsrchs_bof",
        "windows/http/webster_http",
        "windows/http/xitami_if_mod_since",
        "windows/iis/iis_webdav_scstoragepathfromurl",
        "windows/iis/ms01_023_printer",
        "windows/iis/ms01_033_idq",
        "windows/iis/ms02_018_htr",
        "windows/iis/ms03_007_ntdll_webdav",
        "windows/imap/eudora_list",
        "windows/imap/imail_delete",
        "windows/imap/ipswitch_search",
        "windows/imap/mailenable_login",
        "windows/imap/mailenable_status",
        "windows/imap/mailenable_w3c_select",
        "windows/imap/mdaemon_cram_md5",
        "windows/imap/mdaemon_fetch",
        "windows/imap/mercur_imap_select_overflow",
        "windows/imap/mercur_login",
        "windows/imap/mercury_login",
        "windows/imap/mercury_rename",
        "windows/imap/novell_netmail_append",
        "windows/imap/novell_netmail_auth",
        "windows/imap/novell_netmail_status",
        "windows/imap/novell_netmail_subscribe",
        "windows/isapi/ms03_022_nsiislog_post",
        "windows/isapi/ms03_051_fp30reg_chunked",
        "windows/isapi/rsa_webagent_redirect",
        "windows/isapi/w3who_query",
        "windows/ldap/imail_thc",
        "windows/ldap/pgp_keyserver7",
        "windows/license/flexnet_lmgrd_bof",
        "windows/license/sentinel_lm7_udp",
        "windows/local/adobe_sandbox_adobecollabsync",
        "windows/local/ms15_078_atmfd_bof",
        "windows/local/nvidia_nvsvc",
        "windows/lotus/domino_http_accept_language",
        "windows/lotus/domino_sametime_stmux",
        "windows/lotus/lotusnotes_lzh",
        "windows/lpd/hummingbird_exceed",
        "windows/lpd/niprint",
        "windows/lpd/saplpd",
        "windows/lpd/wincomlpd_admin",
        "windows/misc/achat_bof",
        "windows/misc/actfax_raw_server_bof",
        "windows/misc/agentxpp_receive_agentx",
        "windows/misc/allmediaserver_bof",
        "windows/misc/apple_quicktime_rtsp_response",
        "windows/misc/asus_dpcproxy_overflow",
        "windows/misc/avaya_winpmd_unihostrouter",
        "windows/misc/avidphoneticindexer",
        "windows/misc/bcaaa_bof",
        "windows/misc/bigant_server",
        "windows/misc/bigant_server_250",
        "windows/misc/bigant_server_sch_dupf_bof",
        "windows/misc/bigant_server_usv",
        "windows/misc/bomberclone_overflow",
        "windows/misc/bopup_comm",
        "windows/misc/borland_interbase",
        "windows/misc/borland_starteam",
        "windows/misc/citrix_streamprocess",
        "windows/misc/citrix_streamprocess_data_msg",
        "windows/misc/citrix_streamprocess_get_boot_record_request",
        "windows/misc/citrix_streamprocess_get_footer",
        "windows/misc/citrix_streamprocess_get_objects",
        "windows/misc/cloudme_sync",
        "windows/misc/crosschex_device_bof",
        "windows/misc/disk_savvy_adm",
        "windows/misc/doubletake",
        "windows/misc/eiqnetworks_esa",
        "windows/misc/eiqnetworks_esa_topology",
        "windows/misc/enterasys_netsight_syslog_bof",
        "windows/misc/eureka_mail_err",
        "windows/misc/fb_isc_attach_database",
        "windows/misc/fb_isc_create_database",
        "windows/misc/fb_svc_attach",
        "windows/misc/gh0st",
        "windows/misc/gimp_script_fu",
        "windows/misc/hp_dataprotector_crs",
        "windows/misc/hp_dataprotector_dtbclslogin",
        "windows/misc/hp_dataprotector_new_folder",
        "windows/misc/hp_imc_uam",
        "windows/misc/hp_loadrunner_magentproc",
        "windows/misc/hp_magentservice",
        "windows/misc/hp_omniinet_1",
        "windows/misc/hp_omniinet_2",
        "windows/misc/hp_omniinet_3",
        "windows/misc/hp_omniinet_4",
        "windows/misc/hp_operations_agent_coda_34",
        "windows/misc/hp_operations_agent_coda_8c",
        "windows/misc/hp_ovtrace",
        "windows/misc/ib_isc_attach_database",
        "windows/misc/ib_isc_create_database",
        "windows/misc/ib_svc_attach",
        "windows/misc/ibm_cognos_tm1admsd_bof",
        "windows/misc/ibm_tsm_cad_ping",
        "windows/misc/ibm_tsm_rca_dicugetidentify",
        "windows/misc/itunes_extm3u_bof",
        "windows/misc/landesk_aolnsrvr",
        "windows/misc/lianja_db_net",
        "windows/misc/mercury_phonebook",
        "windows/misc/mini_stream",
        "windows/misc/mirc_privmsg_server",
        "windows/misc/ms07_064_sami",
        "windows/misc/netcat110_nt",
        "windows/misc/nettransport",
        "windows/misc/plugx",
        "windows/misc/poisonivy_21x_bof",
        "windows/misc/poisonivy_bof",
        "windows/misc/poppeeper_date",
        "windows/misc/poppeeper_uidl",
        "windows/misc/realtek_playlist",
        "windows/misc/sap_2005_license",
        "windows/misc/sap_netweaver_dispatcher",
        "windows/misc/shixxnote_font",
        "windows/misc/splayer_content_type",
        "windows/misc/stream_down_bof",
        "windows/misc/talkative_response",
        "windows/misc/tiny_identd_overflow",
        "windows/misc/ufo_ai",
        "windows/misc/wireshark_packet_dect",
        "windows/mmsp/ms10_025_wmss_connect_funnel",
        "windows/mssql/ms02_039_slammer",
        "windows/mssql/ms09_004_sp_replwritetovarbin",
        "windows/mssql/ms09_004_sp_replwritetovarbin_sqli",
        "windows/mysql/mysql_yassl_hello",
        "windows/nfs/xlink_nfsd",
        "windows/nimsoft/nimcontroller_bof",
        "windows/nntp/ms05_030_nntp",
        "windows/novell/groupwisemessenger_client",
        "windows/novell/nmap_stor",
        "windows/novell/zenworks_preboot_op21_bof",
        "windows/novell/zenworks_preboot_op4c_bof",
        "windows/novell/zenworks_preboot_op6_bof",
        "windows/novell/zenworks_preboot_op6c_bof",
        "windows/oracle/osb_ndmp_auth",
        "windows/oracle/tns_arguments",
        "windows/oracle/tns_auth_sesskey",
        "windows/oracle/tns_service_name",
        "windows/pop3/seattlelab_pass",
        "windows/proxy/bluecoat_winproxy_host",
        "windows/proxy/proxypro_http_get",
        "windows/proxy/qbik_wingate_wwwproxy",
        "windows/scada/abb_wserver_exec",
        "windows/scada/advantech_webaccess_webvrpcs_bof",
        "windows/scada/citect_scada_odbc",
        "windows/scada/codesys_web_server",
        "windows/scada/daq_factory_bof",
        "windows/scada/delta_ia_commgr_bof",
        "windows/scada/factorylink_csservice",
        "windows/scada/factorylink_vrn_09",
        "windows/scada/iconics_webhmi_setactivexguid",
        "windows/scada/igss9_igssdataserver_listall",
        "windows/scada/igss9_igssdataserver_rename",
        "windows/scada/moxa_mdmtool",
        "windows/scada/procyon_core_server",
        "windows/scada/realwin",
        "windows/scada/realwin_on_fc_binfile_a",
        "windows/scada/realwin_on_fcs_login",
        "windows/scada/realwin_scpc_initialize",
        "windows/scada/realwin_scpc_initialize_rf",
        "windows/scada/realwin_scpc_txtevent",
        "windows/scada/sunway_force_control_netdbsrv",
        "windows/scada/winlog_runtime",
        "windows/scada/winlog_runtime_2",
        "windows/scada/yokogawa_bkbcopyd_bof",
        "windows/scada/yokogawa_bkesimmgr_bof",
        "windows/scada/yokogawa_bkfsim_vhfd",
        "windows/scada/yokogawa_bkhodeq_bof",
        "windows/sip/aim_triton_cseq",
        "windows/sip/sipxezphone_cseq",
        "windows/sip/sipxphone_cseq",
        "windows/smb/ms03_049_netapi",
        "windows/smb/ms04_011_lsass",
        "windows/smb/ms04_031_netdde",
        "windows/smb/ms05_039_pnp",
        "windows/smb/ms06_025_rasmans_reg",
        "windows/smb/ms06_025_rras",
        "windows/smb/ms06_040_netapi",
        "windows/smb/ms06_066_nwapi",
        "windows/smb/ms06_066_nwwks",
        "windows/smb/ms06_070_wkssvc",
        "windows/smb/ms07_029_msdns_zonename",
        "windows/smb/ms17_010_eternalblue",
        "windows/smb/netidentity_xtierrpcpipe",
        "windows/smb/timbuktu_plughntcommand_bof",
        "windows/smtp/mercury_cram_md5",
        "windows/smtp/njstar_smtp_bof",
        "windows/smtp/wmailserver",
        "windows/smtp/ypops_overflow1",
        "windows/ssh/freeftpd_key_exchange",
        "windows/ssh/freesshd_key_exchange",
        "windows/ssh/putty_msg_debug",
        "windows/ssh/securecrt_ssh1",
        "windows/ssl/ms04_011_pct",
        "windows/telnet/gamsoft_telsrv_username",
        "windows/telnet/goodtech_telnet",
        "windows/tftp/attftp_long_filename",
        "windows/tftp/dlink_long_filename",
        "windows/tftp/futuresoft_transfermode",
        "windows/tftp/opentftp_error_code",
        "windows/tftp/quick_tftp_pro_mode",
        "windows/tftp/tftpd32_long_filename",
        "windows/tftp/threectftpsvc_long_mode",
        "windows/vnc/realvnc_client",
        "windows/vnc/ultravnc_client",
        "windows/vnc/ultravnc_viewer_bof",
        "windows/vnc/winvnc_http_get",
        "windows/vpn/safenet_ike_11"
      ],
      "post_exploits": []
    },
    "status": "ok"
  },
  "type": "action_event",
  "version": "v1"
}

docker run --rm -i pj-test/rapid7_metasploit:3.0.0 run < tests/search_for_exploit.json

@pmara-r7
Copy link
Copy Markdown
Contributor Author

The output for new_modules works, but the first time it runs it gets every single module and sends it (since everything appears to be new at this point). Posting a snippet of one of the items that it sends from the "test" module.

Details
{
  "body": {
    "log": "Connect: Connecting...\n{'credentials': {'password': 'redacted', 'username': 'redacted'}, 'port': 3790, 'server': 'https://example.com', 'ssl': True, 'uri': '/api/'}\nClient connection established\nrapid7/Rapid7 https://example.com Step name: new_modules\nRun: Got or created cache file: \https://example.com name='/var/cache/metasploit_modules' mode='r+' encoding='UTF-8'\u003e\n",
    "meta": {},
    "output": {
      "success": "true"
    },
    "status": "ok"
  },
  "type": "trigger_event",
  "version": "v1"
}

docker run --rm -i pj-test/rapid7_metasploit:3.0.0 --debug test < tests/new_modules.json

@pmara-r7
Copy link
Copy Markdown
Contributor Author

pmara-r7 commented Sep 28, 2021

Here is an example of one of the new modules that output when tested:

{
  "body": {
    "meta": {},
    "output": {
      "module": {
        "name": "Kerberos Domain User Enumeration",
        "fullname": "auxiliary/gather/kerberos_enumusers",
        "aliases": [],
        "rank": 300,
        "type": "auxiliary",
        "author": [
          "Matt Byrne <redacted@gmail.com>"
        ],
        "description": "This module will enumerate valid Domain Users via Kerberos from an unauthenticated perspective. It utilizes\n        the different responses returned by the service for valid and invalid users.",
        "references": [
          "URL-https://nmap.org/nsedoc/scripts/krb5-enum-users.html"
        ],
        "rport": 88,
        "autofilter_ports": [],
        "autofilter_services": [],
        "mod_time": "2019-11-05 18:32:45 +0000",
        "path": "/modules/auxiliary/gather/kerberos_enumusers.rb",
        "is_install_path": true,
        "ref_name": "gather/kerberos_enumusers",
        "check": false,
        "post_auth": false,
        "default_credential": false,
        "notes": {},
        "session_types": false,
        "needs_cleanup": false
      }
    },
    "log": ""
  },
  "type": "trigger_event",
  "version": "v1"
}

@pmara-r7 pmara-r7 removed the Needs Testing PR needs additional testing label Sep 29, 2021
@pmara-r7
Copy link
Copy Markdown
Contributor Author

@mrinehart-r7 Is testing above sufficient? Or are there some other specific tests you would like to see?

@mrinehart-r7
Copy link
Copy Markdown
Contributor

@mrinehart-r7 Is testing above sufficient? Or are there some other specific tests you would like to see?

Should be good!

@pmara-r7 pmara-r7 added the Needs 2nd Reviewer PR needs a second reviewer label Sep 29, 2021
@mberezin-r7 mberezin-r7 added Ready to Merge ✅ PR is ready to merge to develop and removed Needs 2nd Reviewer PR needs a second reviewer labels Sep 29, 2021
@pmara-r7 pmara-r7 merged commit 1a8f7cb into master Sep 29, 2021
@pmara-r7 pmara-r7 deleted the SOAR-6687-Fix-Metasploit-Cons branch September 29, 2021 16:53
cmcnally-r7 pushed a commit that referenced this pull request Jan 21, 2022
* tried to implement fix- pending new library upload to test properly:

* initial fix commit. Lots in here, sorry about that

* fixed up trigger to make it functional

* black formatting

* ready to merge except for help.md

* added comments, supported versions, manually fixed up help.md

* regen with supported versions

* fixing some validation issues

* fixed prospector errors, down to regen issues now

* fixed param issue in search for exploit

* fixed prospector msg

* removed another entry from checksum

* added type hints

* ran black formatting

* reformatting pt 2

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

[SOAR-7005] Update Teams Plugin with Troubleshooting from Discuss (#1021)

* add troubleshoot message about teams to help.md

* attempt fixing input violations in help.md

* Update plugins/microsoft_teams/help.md with correct troubleshooting message

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/microsoft_teams/help.md taking out unnec brackets

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* revert help.md dictionaries

* fix plugins/microsoft_teams/help.md dictionary

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

Jira: Fix bug in "Get Comments", failing normalize_user in Jira Cloud (#991)

* Add pass-thru is_cloud for normalize_user

The action for Get Comments never relays the state of the endpoint as
on-premise or cloud, but requires this state to return successfully.

By using the same process as is present in other actions, passing of
the client is_cloud boolean through the normalize_comment function
and on to the normalize_user function with a default value of False.

* Fix bug normalize_comment not receiving connection.is_cloud

With the action Get Comments, normalize_comment calls upon the function
normalize_user. This dependent function requires knowledge of the state
of is_cloud from the client connection.

This change passes the connection.is_cloud state into normalize_comment.

* bump version

* Updated version minor as previous Get Comments action only worked with Jira Server. Now works with both Server and Cloud.

* updated checksum with icon-plugin tool

* Update help.md

* Regenerate checksum.

* Add missing newline to help.md. Passing local validation.

Co-authored-by: Max Berezin <52976633+mberezin-r7@users.noreply.github.com>
Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>
Co-authored-by: pmara-r7 <87435279+pmara-r7@users.noreply.github.com>
Co-authored-by: Maxim Berezin <maxim_berezin@rapid7.com>

SOAR-7007: Fix Get Alerts Trigger in Microsoft ATP (#1017)

* Regen

* Add changelog

* fix missed fixes

* Fix Prospector warnings

* Add timeout-decorator

* Comment out test placeholders

* Blacken

* Lint jira

Co-authored-by: Elijah Martin-Merrill <elijah_martin-merrill@rapid7.com>
Co-authored-by: Maxim Berezin <maxim_berezin@rapid7.com>
Co-authored-by: PJ Mara <87435279+pmara-r7@users.noreply.github.com>

[MC-615][MC-664][MC-665] Add new actions in Google Drive plugin (#993)

* [MC-615][MC-664][MC-665] Add new actions in Google Drive plugin

* [MC-615][MC-664][MC-665] Reformat test_move_file.py

* Update plugins/google_drive/plugin.spec.yaml

Change Move File action description

Co-authored-by: jrose-r7 <87443773+jrose-r7@users.noreply.github.com>

* Update help.md.

* Update checksum

* [MC-615][MC-664][MC-665] Update Create File in Folder action

* Update input examples for connection in help.md

* [MC-708][MC-731][MC-732] Update Python version and code refactoring in Google Drive plugin

* [MC-708][MC-731][MC-732] Update requirements.txt and help.md

Co-authored-by: Max Berezin <52976633+mberezin-r7@users.noreply.github.com>
Co-authored-by: jrose-r7 <87443773+jrose-r7@users.noreply.github.com>
Co-authored-by: Maxim Berezin <maxim_berezin@rapid7.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: pmara-r7 <87435279+pmara-r7@users.noreply.github.com>
Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

MC-380 - PaloAlto Wildfire - Connection Test (#1019)

* [MC-380] Added connection test

* [MC-380] Make regenerate

* [MC-380] Added `supported_versions` and removed unsupported keyworks.

* [MC-380] Resolve the issue with importing plugin + make regenerate.

* Version pin in requirements.txt

* [MC-380] Updated the existing unit test to use mock response

* black validation failure fix

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

[MC-690][MC-728][MC-729][MC-730][MC-749] Code refactor and add new action in Subnet plugin (#1016)

* [MC-690][MC-728][MC-729][MC-730][MC-749] Code refactor and add new action in Subnet plugin

* [MC-690][MC-728][MC-729][MC-730][MC-749] Remove unnecessary f-string

* Test

* Remove init.py

* [MC-690][MC-728][MC-729][MC-730][MC-749] Update help.md and requirements.txt

* [MC-690][MC-728][MC-729][MC-730][MC-749] Remove trailing space

* [MC-690][MC-728][MC-729][MC-730][MC-749] Update plugin spec

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>
Co-authored-by: Mike Rinehart <mike_rinehart@rapid7.com>
Co-authored-by: Max Berezin <52976633+mberezin-r7@users.noreply.github.com>

MC-742 - ElasticSearch - Bugfix - Routing Issue (#1014)

* [MC-724] Corrected the `index_document` action.

* [MC-724] Minor code improvements.

* [MC-724] Search document routing fix.

* [MC-724] Corrected `update_document` action + black formatting.

* Added unit additional unit test for search_document with route

* [MC-724] Make regenerate

* [MC-724] Added `supported_versions`  + make regenerate

* [MC-742] Remove unused variables and add unit test with no routing.

* [MC-742] Applied black formatting.

Co-authored-by: PJ Mara <87435279+pmara-r7@users.noreply.github.com>
Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

Update README.md (#1023)

* Update README.md

* Update README.md

Co-authored-by: PJ Mara <87435279+pmara-r7@users.noreply.github.com>

Co-authored-by: PJ Mara <87435279+pmara-r7@users.noreply.github.com>

[SOAR-7134] update troubleshooting and requirements messaging for RBAC permissions (#1024)

* update troubleshooting and requirements messaging for RBAC permissions

* update get notifications troubleshooting info link

* Update plugins/carbon_black_defense/help.md

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* consolidate api key requirements info

* punctuation in troubleshooting section

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

Update Python 3 Script documentation & install g++ (#1025)

* Update documentation

* Update help.md

Co-authored-by: PJ Mara <87435279+pmara-r7@users.noreply.github.com>

SOAR-5837: Scrub Anomali API key from logger (#943)

* Add a util to scrub API keys from URLs using regex.

* Import logging to get_observables action, add formatter to logger
Black format
Update help.md and bump version number

* Regenerate plugin.

* Black format

* Generate unit tests

* Fix formatter import

* caught exception

* Only suppress ConnectionErrors, wrap censored original error in PluginException
Replace logging formatter with simple util function

* Black format

* Regenerate plugin.

* Add examples to plugin spec to satisfy validator, regenerate plugin

* Abstract send request to Connection class for all actions, delete utils

* Change example user to match example style guide

* Update plugins/anomali_threatstream/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/anomali_threatstream/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/anomali_threatstream/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/anomali_threatstream/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/anomali_threatstream/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/anomali_threatstream/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* help.md validates with plugin spec

* Raise plugin exception from None instead of additional Connection error

* Change send() parameters signature and add plugin root init

* Add connection test and API key suppression check

* Black format

* Add get observables unit test

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>
Co-authored-by: Joey McAdams <jmcadams@rapid7.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: pmara-r7 <87435279+pmara-r7@users.noreply.github.com>

SQL plugin change example in PORT input and update util.py file with Python3 (#1003)

* [MC-706] SQL plugin change example in PORT input and update util.py file with Python3

* Implement Pylint fixes for dict.get() and catch Exception

* Add version numbers to supported DB software

* Regenerate checksum

Co-authored-by: pmara-r7 <87435279+pmara-r7@users.noreply.github.com>
Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>
Co-authored-by: Max Berezin <52976633+mberezin-r7@users.noreply.github.com>
Co-authored-by: Maxim Berezin <maxim_berezin@rapid7.com>

Xdr monitor incident events bug fix (#1026)

* Add monitor alert task to palo alto xdr plugin

* style

* remove unused import

* changed to minor version bumo since there arent any non-backward compatible changes

* changed to get incidents endpoint, added inputs to the tasks

* delete old get alerts task

* remove unecessary code

* remove alert sources parameter since the XDR api behaves very inconsistently when it is present

* update checksum

* Update help.md

* Update help.md

* simplify conditions as per code review comments, fix json list representation in plugin spec and docs file

* incident bug fix

* fix bug where None value fields could be returned in incidents

* fix help.md, requirements section can only accept bullet points, move non-bullet points to setup section

* Comment out unused tests

* Add supported product versions

Co-authored-by: jrose-r7 <87443773+jrose-r7@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>
Co-authored-by: Mike Rinehart <mike_rinehart@rapid7.com>

[MC-676][MC-727] Update Domain Extractor in Extractit plugin (#1015)

* [MC-676][MC-727] Update Domain Extractor in Extractit plugin

* [MC-676][MC-727] Update requirements.txt

* [MC-676][MC-727] Add comments in extractor.py

* [MC-676][MC-727] Reformat

* [MC-676][MC-727] Add comments in extractor.py and fix unit tests

Co-authored-by: PJ Mara <87435279+pmara-r7@users.noreply.github.com>
Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>
Co-authored-by: jrose-r7 <87443773+jrose-r7@users.noreply.github.com>
Co-authored-by: Max Berezin <52976633+mberezin-r7@users.noreply.github.com>

Fix error messaging around invalid credentials (#1022)

Co-authored-by: PJ Mara <87435279+pmara-r7@users.noreply.github.com>
Co-authored-by: Max Berezin <52976633+mberezin-r7@users.noreply.github.com>

[MC-492][MC-694][MC-491][MC-726] Add Get Blocked Hosts and Block Host actions to Cisco ASA (#994)

* [MC-492][MC-694] Add Get Blocked Hosts action to Cisco ASA

* [MC-492][MC-694] Add section for supported version

* Scrub test example input

* [MC-491][MC-726] Add Block Host action to Cisco ASA

* [MC-492][MC-694][MC-491][MC-726] Update requirements.txt

* [MC-492][MC-694][MC-491][MC-726] Add ignore comments

* [MC-492][MC-694][MC-491][MC-726] Reformat

Co-authored-by: Max Berezin <52976633+mberezin-r7@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Maxim Berezin <maxim_berezin@rapid7.com>
Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>
Co-authored-by: PJ Mara <87435279+pmara-r7@users.noreply.github.com>

IntSights plugin (#1009)

* [MC-683] Init plugin | Add action Get Indicator by Value

* IntSights new actions and trigger draft

* [MC-717] Add action Get Indicator By Value

* [MC-683][MC-673][MC-681][MC-682][MC-684][MC-686][MC-688][MC-687] Add new Plugin IntSights

* [MC-717][MC-718][MC-719][MC-720][MC-721][MC-722][MC-723][MC-725] Update help.md

* Revert: Add microsoft ATP
Black reformat

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/icon_intsights/actions/takedown_request/action.py

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/icon_intsights/connection/connection.py

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/icon_intsights/util/api.py

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* [MC-683] Fix help

* [MC-683] Fix help

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* [MC-683] Change plugin name to rapid7_intsights

* [MC-683] Change plugin name to rapid7_intsights

* [MC-683] Fix unit tests

* [MC-683] Fix unit tests

* [MC-683] Add clean to enrich_indicator output

* [MC-683] Add clean to enrich_indicator output

* Add icon

* New graphics

* Fix unit_test path while getting payload

* Add cutom type

* Regenerate plugin and Black format

* Update help.md for validator

* Update plugins/rapid7_intsights/help.md

* [MC-683] Set some output to required false

Co-authored-by: r7-kszczepanskagorna <kamila_szczepanska-gorna@rapid7.com>
Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>
Co-authored-by: Mike Rinehart <mike_rinehart@rapid7.com>
Co-authored-by: Maxim Berezin <maxim_berezin@rapid7.com>

[MC-740] Fix threatscore KeyError (#1031)

* [MC-740] Fix threatscore KeyError

* Update plugins/hybrid_analysis/help.md

* used refactor to change hash to hash_ in 2 files

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>
Co-authored-by: PJ Mara <pj_mara@rapid7.com>
Co-authored-by: PJ Mara <87435279+pmara-r7@users.noreply.github.com>

Remove ISOLATE_MACHINE remediate option from Cybereason documentation (#1035)

* Update docs to remove ISOLATE_MACHINE remediate option

* Update changelog

MC-301 & MC-809 - Cybereason - New Action - Delete Registry Key (#1028)

* Make regenerate

* Added delete registry key action.

* Using example email address.

* Action + black formatting.

* Removed user email address and using an example one.

* Added tests and example payloads.

* Added example output and corrected the inputs

* [MC-301] Added comment to get_machine_targets.

* Update .CHECKSUM

* Update checksum

Co-authored-by: PJ Mara <87435279+pmara-r7@users.noreply.github.com>
Co-authored-by: Mike Rinehart <mike_rinehart@rapid7.com>
Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

[MC-709][MC-810] Support extraction from binary files for all actions in Extractit plugin (#1030)

* [MC-709] Support extraction from binary files for all actions

* [MC-709][MC-810] Update extractor.py and unit tests

* Replace manual file open/close with "with" context for Prospector validation

* [MC-709][MC-810] Remove manual closing of file

Co-authored-by: PJ Mara <87435279+pmara-r7@users.noreply.github.com>
Co-authored-by: Max Berezin <52976633+mberezin-r7@users.noreply.github.com>

Elasticsearch fix search action (#988)

* MC-677 Fix search example input in help.md | Add exception message in search action

* Regen and fix docs

* Fix syntax in action.py

* [MC-677] Fix search example input in help.md | Add exception message in search action

* [MC-677] Fix search example input in help.md | Add exception message in search action

* Black reformat

* [MC-677] Fix help | Fix unit test | Add unit test to check wrong query input

* [MC-677] Fix help | Fix unit test | Add unit test to check wrong query input

* Update plugins/elasticsearch/komand_elasticsearch/actions/search_documents/action.py

* Update plugins/elasticsearch/unit_test/test_search_documents.py

* Update expected error string

* Black format.

Co-authored-by: Jon Schipp <30870727+jschipp-r7@users.noreply.github.com>
Co-authored-by: Jon Schipp <jonschipp@gmail.com>
Co-authored-by: Maxim Berezin <maxim_berezin@rapid7.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>
Co-authored-by: Max Berezin <52976633+mberezin-r7@users.noreply.github.com>
Co-authored-by: PJ Mara <87435279+pmara-r7@users.noreply.github.com>

[SOAR-7434] ipstack schema update (#1040)

* updated komand to icon runtime

* added time_zone fix

* passing individual unit tests

* fixed unit test bug

* black reformat

* fixed api url

* added ignore pylint unused args because implementation is blank

* increased version from 2->3 and reformat

* fixing prospector

Add support of ! character to the URL extraction (#1041)

1. Update Regex to support ! character to the URL extractor
2. Update plugin minor version
3. Add a test string to the Unit test set
4. Update help.md to include release details
5. Regenerate the plugin files

JIRA: SOAR-7356

[MC-754][MC-838][MC-839][MC-840] PDF Reader plugin - Fix Extract Text action (#1038)

* [MC-754] Fix Extract Text action

* [MC-754] Update plugin spec

* [MC-754][MC-838][MC-839][MC-840] Update Dockerfile and Extract Text action

* [MC-754] Update Extract Text action

* [MC-754][MC-838][MC-839][MC-840] Update error messaging in Extract Text action

* Update plugins/pdf_reader/help.md

Co-authored-by: Max Berezin <52976633+mberezin-r7@users.noreply.github.com>
Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

Add new trigger in Rapid7 IntSights plugin (#1033)

* [MC-683] Init plugin | Add action Get Indicator by Value

* IntSights new actions and trigger draft

* [MC-717] Add action Get Indicator By Value

* [MC-683][MC-673][MC-681][MC-682][MC-684][MC-686][MC-688][MC-687] Add new Plugin IntSights

* [MC-717][MC-718][MC-719][MC-720][MC-721][MC-722][MC-723][MC-725] Update help.md

* Revert: Add microsoft ATP
Black reformat

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/icon_intsights/actions/takedown_request/action.py

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/icon_intsights/connection/connection.py

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/icon_intsights/util/api.py

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* [MC-683] Fix help

* [MC-683] Fix help

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* [MC-683] Change plugin name to rapid7_intsights

* [MC-683] Change plugin name to rapid7_intsights

* [MC-683] Fix unit tests

* [MC-683] Fix unit tests

* [MC-683] Add clean to enrich_indicator output

* [MC-683] Add clean to enrich_indicator output

* Add icon

* New graphics

* Fix unit_test path while getting payload

* [MC-771][MC-808] plugin.spec and action code

* Add cutom type

* [MC-771][MC-808] Add unit tests

* [MC-771][MC-808] Add unit tests

* [MC-771][MC-808] Fix description

* [MC-771][MC-808] Fix f-string in API

* [MC-771][MC-808] Fix unit_test expecteds files

* [MC-685][MC-724] Add new trigger New Alert with unittest

* [MC-685][MC-724] Add new trigger New Alert with unittest

* [MC-685][MC-724] Add new trigger New Alert with unittest

* [MC-685][MC-724] Add new trigger New Alert with unittest

* [MC-685][MC-724] black

* [MC-685][MC-724] Add module to requirements

* Update plugins/rapid7_intsights/plugin.spec.yaml

Co-authored-by: jrose-r7 <87443773+jrose-r7@users.noreply.github.com>

* Update plugins/rapid7_intsights/plugin.spec.yaml

Co-authored-by: PJ Mara <87435279+pmara-r7@users.noreply.github.com>

* Update plugins/rapid7_intsights/plugin.spec.yaml

Co-authored-by: PJ Mara <87435279+pmara-r7@users.noreply.github.com>

* Update plugins/rapid7_intsights/plugin.spec.yaml

Co-authored-by: jrose-r7 <87443773+jrose-r7@users.noreply.github.com>

* Update plugins/rapid7_intsights/plugin.spec.yaml

Co-authored-by: jrose-r7 <87443773+jrose-r7@users.noreply.github.com>

* Update plugins/rapid7_intsights/plugin.spec.yaml

Co-authored-by: jrose-r7 <87443773+jrose-r7@users.noreply.github.com>

* [MC-771][MC-808] Add pagination to action get_cve_by_id

* [MC-771][MC-808] Add pagination to action get_cve_by_id

* [MC-771][MC-808] Black format

* [MC-685] Add new case to unit tests, Change descriptions in plugin.spec

* [MC-685] Black format

* [MC-685] Add new case to unit tests, Change descriptions in plugin.spec

* Update plugins/rapid7_intsights/plugin.spec.yaml

Co-authored-by: jrose-r7 <87443773+jrose-r7@users.noreply.github.com>

* Update plugins/rapid7_intsights/plugin.spec.yaml

Co-authored-by: jrose-r7 <87443773+jrose-r7@users.noreply.github.com>

* Update plugins/rapid7_intsights/plugin.spec.yaml

Co-authored-by: jrose-r7 <87443773+jrose-r7@users.noreply.github.com>

* Update plugins/rapid7_intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* [MC-685] Fix query in get_cve

* [MC-685] Fix query in get_cve

* Update plugins/rapid7_intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* [MC-685] Fix validator issues

* [MC-717] Fix score from integer to float

* Update plugins/rapid7_intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/rapid7_intsights/help.md

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/rapid7_intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/rapid7_intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/rapid7_intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/rapid7_intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/rapid7_intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/rapid7_intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/rapid7_intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/rapid7_intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/rapid7_intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/rapid7_intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/rapid7_intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/rapid7_intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* Update plugins/rapid7_intsights/plugin.spec.yaml

Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>

* [MC-685] Fix input enum errors

Co-authored-by: r7-kszczepanskagorna <kamila_szczepanska-gorna@rapid7.com>
Co-authored-by: Mike Rinehart <32079048+mrinehart-r7@users.noreply.github.com>
Co-authored-by: Mike Rinehart <mike_rinehart@rapid7.com>
Co-authored-by: jrose-r7 <87443773+jrose-r7@users.noreply.github.com>
Co-authored-by: PJ Mara <87435279+pmara-r7@users.noreply.github.com>
Co-authored-by: Max Berezin <52976633+mberezin-r7@users.noreply.github.com>

Fix plugin validator GH Action

[MC-800] Improve error messaging in Palo Alto MineMeld plugin (#1046) (#1051)

[MC-800] Update PaloAltoMineMeld to 1.0.1 with below:
1. Update unit tests
2. Update requirements. txt

[MC-801] Fix Set Address Object action in Palo Alto PAN-OS plugin (#1047) (#1055)

Co-authored-by: dsliwinski-r7 <73613193+dsliwinski-r7@users.noreply.github.com>

Microsoftteams_3.1.5 (#1058)

* [MC-772] Add `microsoft_teams` keyword

* [MC-772] Fix unit tests

* Update plugins/microsoft_teams/help.md

[SOAR-7961] Configurable interval for devo  (#1059) (#1065)

* configurable interval
* set interval default to 10 seconds

[MC-751] - ServiceNow Get Attachments (#1054)

Automox Plugin: Initial release of plugin with base management functionality (#1042)

Cisco Umbrella Destinations Lists
The below actions have been added:
dGet
dAdd
dDelete
dlGet
dlGetAll
dlPatch
dlDelete
dlCreate

Updated acronyms in spec file

Update plugins/cisco_umbrella_destinations/plugin.spec.yaml

text fix to capitalize acronyms

Co-authored-by: jrose-r7 <87443773+jrose-r7@users.noreply.github.com>

Update plugins/cisco_umbrella_destinations/plugin.spec.yaml

text fix to capitalize acronyms

Co-authored-by: jrose-r7 <87443773+jrose-r7@users.noreply.github.com>

Update plugins/cisco_umbrella_destinations/plugin.spec.yaml

text fix to capitalize acronyms

Co-authored-by: jrose-r7 <87443773+jrose-r7@users.noreply.github.com>

Updated spec

Changing org_id & dl_id to input

Added basic PluginException error handling

removed unitTests & greeting yaml

Updated examples in spec file

Added PluginException to api.py & removed from actions

Removed unused imports

Final api.py

Updated api.py

Fixed broken logger

..

Commented out connection bug for now

Change return to pass

Fix prospector issue #1

Fix prospector issue #2

Validators fix attempt#1

Fix validators #2

Fix validators #3

Fix validators #4

Fix validators #5

Fix validators #6

Fix validators #7

Added black formatting

Test black #1

Black formatting complete

Moved orgID to connection input

Black formatting #2

Fix prospector issue #3

--

Cisco Umbrella Destinations Lists
The below actions have been added:
dGet
dAdd
dDelete
dlGet
dlGetAll
dlPatch
dlDelete
dlCreate

Changing org_id & dl_id to input

Added basic PluginException error handling

removed unitTests & greeting yaml

Updated examples in spec file

Added PluginException to api.py & removed from actions

Final api.py

Updated api.py

Fixed broken logger

Commented out connection bug for now

Change return to pass

Validators fix attempt#1

Fix validators #2

Fix validators #3

Fix validators #4

Fix validators #5

Fix validators #6

Fix validators #7

Added black formatting

Black formatting complete

Moved orgID to connection input

Cisco Umbrella Destinations Lists
The below actions have been added:
dGet
dAdd
dDelete
dlGet
dlGetAll
dlPatch
dlDelete
dlCreate

Changing org_id & dl_id to input

Added basic PluginException error handling

removed unitTests & greeting yaml

Updated examples in spec file

Added PluginException to api.py & removed from actions

Final api.py

Updated api.py

Fixed broken logger

Commented out connection bug for now

Change return to pass

Validators fix attempt#1

Fix validators #2

Fix validators #3

Fix validators #4

Fix validators #5

Fix validators #6

Fix validators #7

Added black formatting

Black formatting complete

Moved orgID to connection input

Test Commit #1

Updated help.md & plugin spec

Black formatting #3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready to Merge ✅ PR is ready to merge to develop

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants