Docy

AWS Security Lake Plugin for Log Shipper

AWS Security Lake Plugin for Log Shipper

This document explains how to configure the AWS Security Lake integration with the Cloud Log Shipper module of the Netskope Cloud Exchange platform. The AWS Security Lake plugin supports:

Prerequisites

To complete this configuration, you need:

  • A Netskope Tenant (or multiple, for example, production and development/test instances)
  • A Netskope Cloud Exchange tenant with the Log Shipper module already configured.
  • A Security Lake enabled AWS account. You will need to get the Access Key ID and Secret Access Key for your account prior to starting this procedure.
  • An AWS event bridge with the configured Lambda script.
Security Lake Plugin Support

The AWS Security Lake plugin supports:

  • Events
  • Alerts
  • WebTx

All Netskope events, alert logs, and web transaction logs will be shared.

Workflow

  1. Configure the AWS Security Lake plugin.
  2. Configure the Log Shipper Business Rules for AWS Security Lake.
  3. Configure the Log Shipper SIEM Mappings for AWS Security Lake.
  4. Validate the AWS Security Lake plugin.

To watch a demo, click play.

 

Configure the AWS Security Lake Plugin

  1. In Cloud Exchange, go to Settings > Plugins.
  2. Search for and select the Amazon Security Lake box to open the plugin creation dialog.
  3. For Basic Information, first enter a Configuration Name.
  4. Select the valid Mapping. (Default Mappings for all plugins are available.)
  5. Enable the Transform the raw logs toggle (if not already), as we cannot send data directly to S3 bucket bucket because the lambda expects those files to be in a specific form in order to convert them into parquet.
    image2.png
  6. Click Next.
  7. For Configuration Parameters, enter these values:
    • AWS Access Key ID (Public Key): AWS Security Lake Access Key ID.
    • AWS Secret Access Key (Private Key): AWS Security Lake Secret Access Key.
    • Region Name: Region Name of the bucket.
    • Bucket Name: Bucket name to store a data object.
    image3.png
  8. Click Save.
    image4.png

Configure the Log Shipper Business Rules for AWS Security Lake

  1. Click Log Shipper > Business Rules.
    image5.png
  2. Click Create New Rule.
    image6.png
  3. Enter a Rule Name and clickConfigure Filter. Enter Folder Name if any.
  4. Click Save.
    image7.png

Configure the Log Shipper SIEM Mappings for AWS Security Lake

  1. Click Log Shipper > SIEM Mappings > Add SIEM Mapping.
    image8.png
  2. Select a Source Configuration , a Destination Configuration, and a Business Rule.
    image9.png
  3. Click Save.

Validate the AWS Security Lake Plugin

To validate the plugin, you can check from Netskope Cloud Exchange and from AWS.

  1. To validate from Netskope Cloud Exchange, go to Log Shipper > Logging.
    image10.png
  2. To validate from the AWS, go to S3 Bucket and select the configured bucket name for the plugin.
    image11.png

Troubleshooting the AWS Security Lake Plugin

  1. Check the logs from Logging (bottom left corner)
    image12.png
  2. Check in the Log Shipper -> SEIM Mappings -> Total Logs Sent section if any log is sent or not.
  3. To confirm if the logs are pulled or not, check logs from Logging (bottom left corner)
  4. If you see that the data is sent from Netskope and still the parquet files are not visible in the destination bucket, in that case please confirm that the Bucket name in Netskope configuration and SRC_BUCKET in Lambda is the same. Also confirm that the destination bucket you are monitoring for the parquet files is the same bucket specified in DST_BUCKET in Lambda env.
Mapping Field Descriptions

The OCSF versions will be maintained with the update of the plugin.

Data TypeSub TypeNetskope FieldOCSF FieldDefault value
Webtxv2x-cs-appapp_nameNone
Webtxv2sc-bytesbytes_inNone
Webtxv2x-c-countrycountryNone
Webtxv2x-c-devicedevice.nameNone
Webtxv2Nonedevice.type_id-1
Webtxv2time-takendurationNone
Webtxv2cs-usernameemail_addrNone
Webtxv2cs-methodhttp_methodNone
Webtxv2sc-statushttp_statusNone
Webtxv2x-c-osos.nameNone
Webtxv2Noneos.type_id-1
Webtxv2x-c-zipcodepostal_codeNone
Webtxv2cs-refererreferrerNone
Webtxv2x-cs-session-idsession_uidNone
Webtxv2cs-user-agentuser_agentNone
Webtxv2bytesbytesNone
Webtxv2c-ipsrc_endpoint.ipNone
Webtxv2cs-bytesbytes_outNone
Webtxv2cs-dnsdomainNone
Webtxv2cs-hosthostnameNone
Webtxv2cs-uri-portportNone
Webtxv2cs-uri-queryquery_stringNone
Webtxv2cs-uri-schemeschemeNone
Webtxv2s-ipdst_endpoint.ipNone
Webtxv2sc-content-typecontent_typeNone
Webtxv2x-transaction-idtransaction_uidNone
Alertsanomalysrcipsrc_endpoint.ipNone
Alertsanomalydstipdst_endpoint.ipNone
Alertsanomalyappapp_nameNone
Alertsanomalyuseruser.nameNone
AlertsanomalyactivityactivityNone
Alertsanomalytimestamp_timeNone
AlertsanomalyurltextNone
Alertsanomalyclass_nameevent_typeNone
AlertsCompromised Credentialtimestamp_timeNone
Alertspolicysrcipsrc_endpoint.ipNone
Alertspolicydstipdst_endpoint.ipNone
Alertspolicyappapp_nameNone
Alertspolicyuseruser.nameNone
AlertspolicyactivityactivityNone
Alertspolicytimestamp_timeNone
AlertspolicyhostnamehostnameNone
Alertspolicydevicedevice.nameNone
AlertspolicyNonedevice.type_id-1
Alertspolicyosos.nameNone
AlertspolicyNoneos.type_id-1
AlertspolicypolicypolicyNone
AlertspolicyurltextNone
AlertspolicyrefererreferrerNone
AlertsLegal Holdsrcipsrc_endpoint.ipNone
AlertsLegal Holddstipdst_endpoint.ipNone
AlertsLegal Holdappapp_nameNone
AlertsLegal Holduseruser.nameNone
AlertsLegal HoldactivityactivityNone
AlertsLegal Holdtimestamp_timeNone
AlertsLegal HoldhostnamehostnameNone
AlertsLegal Holddevicedevice.nameNone
AlertsLegal HoldNonedevice.type_id-1
AlertsLegal Holdosos.nameNone
AlertsLegal HoldNoneos.type_id-1
AlertsLegal Holdmime_typemime_typeNone
AlertsLegal HoldpolicypolicyNone
AlertsLegal Holdmd5md5None
AlertsLegal Holdsha256sha2None
AlertsLegal Holdinstance_idinstance_uidNone
AlertsLegal Holdmodifiedmodified_timeNone
AlertsLegal Holdlh_original_filenamefile.nameNone
AlertsLegal Holdfile_pathfile.pathNone
AlertsLegal HoldNonefile.type_id-1
AlertsMalsitesrcipsrc_endpoint.ipNone
AlertsMalsitedstipdst_endpoint.ipNone
AlertsMalsiteappapp_nameNone
AlertsMalsiteuseruser.nameNone
AlertsMalsitetimestamp_timeNone
AlertsMalsitehostnamehostnameNone
AlertsMalsitedevicedevice.nameNone
AlertsMalsiteNonedevice.type_id-1
AlertsMalsiteosos.nameNone
AlertsMalsiteNoneos.type_id-1
AlertsMalsitepolicypolicyNone
AlertsMalsiteurltextNone
AlertsMalsiterefererreferrerNone
AlertsMalsiteapp_session_idsession_uidNone
Alertsmalwarelocal_md5md5None
Alertsmalwarelocal_sha256sha2None
Alertsmalwarelocal_sha1sha1None
Alertsmalwaresrcipsrc_endpoint.ipNone
Alertsmalwaredstipdst_endpoint.ipNone
Alertsmalwareappapp_nameNone
Alertsmalwareuseruser.nameNone
AlertsmalwareactivityactivityNone
Alertsmalwaretimestamp_timeNone
AlertsmalwarehostnamehostnameNone
Alertsmalwaredevicedevice.nameNone
AlertsmalwareNonedevice.type_id-1
Alertsmalwareosos.nameNone
AlertsmalwareNoneos.type_id-1
Alertsmalwarefile_sizesizeNone
AlertsmalwareurltextNone
AlertsmalwarerefererreferrerNone
Alertsmalwaremalware_iduidNone
Alertsdlpsrcipsrc_endpoint.ipNone
Alertsdlpdstipdst_endpoint.ipNone
Alertsdlpappapp_nameNone
Alertsdlpuseruser.nameNone
AlertsdlpactivityactivityNone
Alertsdlptimestamp_timeNone
AlertsdlphostnamehostnameNone
Alertsdlpdevicedevice.nameNone
AlertsdlpNonedevice.type_id-1
Alertsdlposos.nameNone
AlertsdlpNoneos.type_id-1
Alertsdlpmime_typemime_typeNone
AlertsdlppolicypolicyNone
Alertsdlpmd5md5None
Alertsdlpsha256sha2None
Alertsdlpfile_sizesizeNone
Alertsdlpinstance_idinstance_uidNone
AlertsdlpurltextNone
Alertsdlpdlp_rulerule.nameNone
AlertsSecurity Assessmentappapp_nameNone
AlertsSecurity Assessmentuseruser.nameNone
AlertsSecurity AssessmentactivityactivityNone
AlertsSecurity Assessmenttimestamp_timeNone
AlertsSecurity Assessmentosos.nameNone
AlertsSecurity AssessmentNoneos.type_id-1
AlertsSecurity AssessmentpolicypolicyNone
AlertsSecurity Assessmentinstance_idinstance_uidNone
AlertsWatchlistsrcipsrc_endpoint.ipNone
AlertsWatchlistdstipdst_endpoint.ipNone
AlertsWatchlistappapp_nameNone
AlertsWatchlistuseruser.nameNone
AlertsWatchlistactivityactivityNone
AlertsWatchlisttimestamp_timeNone
AlertsWatchlisthostnamehostnameNone
AlertsWatchlistdevicedevice.nameNone
AlertsWatchlistNonedevice.type_id-1
AlertsWatchlistosos.nameNone
AlertsWatchlistNoneos.type_id-1
AlertsQurantinequarantine_file_idquarantine_uidNone
AlertsQurantinesrcipsrc_endpoint.ipNone
AlertsQurantinedstipdst_endpoint.ipNone
AlertsQurantineappapp_nameNone
AlertsQurantineuseruser.nameNone
AlertsQurantineactivityactivityNone
AlertsQurantinetimestamp_timeNone
AlertsQurantinehostnamehostnameNone
AlertsQurantinedevicedevice.nameNone
AlertsQurantineNonedevice.type_id-1
AlertsQurantineosos.nameNone
AlertsQurantineNoneos.type_id-1
AlertsQurantinemime_typemime_typeNone
AlertsQurantinepolicypolicyNone
AlertsQurantinemd5md5None
AlertsQurantinefile_sizesizeNone
AlertsQurantinetransaction_idtransaction_uidNone
AlertsRemediationsrcipsrc_endpoint.ipNone
AlertsRemediationdstipdst_endpoint.ipNone
AlertsRemediationappapp_nameNone
AlertsRemediationuseruser.nameNone
AlertsRemediationactivityactivityNone
AlertsRemediationtimestamp_timeNone
AlertsRemediationhostnamehostnameNone
AlertsRemediationdevicedevice.nameNone
AlertsRemediationNonedevice.type_id-1
AlertsRemediationosos.nameNone
AlertsRemediationNoneos.type_id-1
AlertsRemediationpolicypolicyNone
AlertsRemediationmd5md5None
AlertsRemediationfile_sizesizeNone
AlertsRemediationurltextNone
AlertsRemediationapp_session_idsession_uidNone
Alertsubaevent_typeclass_nameNone
Alertsubasrcipsrc_endpoint.ipNone
Alertsubadstipdst_endpoint.ipNone
Alertsubaappapp_nameNone
Alertsubauseruser.nameNone
AlertsubaactivityactivityNone
Alertsubatimestamp_timeNone
AlertsubahostnamehostnameNone
Alertsubadevicedevice.nameNone
AlertsubaNonedevice.type_id-1
Alertsubaosos.nameNone
AlertsubaNoneos.type_id-1
AlertsubapolicypolicyNone
AlertsubaurltextNone
Eventsinfrastructuretimestamp_timeNone
Eventsinfrastructuredevicedevice.nameNone
EventsinfrastructureNonedevice.type_id-1
Eventsinfrastructureserialserial_numberNone
Eventspageappapp_nameNone
Eventspageuseruser.nameNone
Eventspagetimestamp_timeNone
Eventspagedevicedevice.nameNone
EventspageNonedevice.type_id-1
Eventspageosos.nameNone
EventspageNoneos.type_id-1
Eventspagetransaction_idtransaction_uidNone
Eventspageclient_bytesbytes_outNone
Eventspageserver_bytesbytes_inNone
EventspageurltextNone
Eventspagesiteservice.nameNone
Eventspagesrcipsrc_endpoint.ipNone
Eventspagedstipdst_endpoint.ipNone
Eventsapplicationappapp_nameNone
Eventsapplicationuseruser.nameNone
Eventsapplicationtimestamp_timeNone
Eventsapplicationdevicedevice.nameNone
EventsapplicationNonedevice.type_id-1
Eventsapplicationosos.nameNone
EventsapplicationNoneos.type_id-1
Eventsapplicationtransaction_idtransaction_uidNone
Eventsapplicationclient_bytesbytes_outNone
Eventsapplicationserver_bytesbytes_inNone
EventsapplicationurltextNone
Eventsapplicationsrcipsrc_endpoint.ipNone
Eventsapplicationdstipdst_endpoint.ipNone
EventsapplicationtypetypeNone
Eventsapplicationsiteservice.nameNone
Eventsaudituseruser.nameNone
Eventsaudittimestamp_timeNone
Eventsaudittransaction_idtransaction_uidNone
EventsaudittypetypeNone
Eventsnetworktransaction_idtransaction_uidNone
Eventsnetworkappapp_nameNone
Eventsnetworkuseruser.nameNone
EventsnetworkdomaindomainNone
Eventsnetworkstart_timestart_timeNone
Eventsnetworkend_timeend_timeNone
Eventsnetworktimestamp_timeNone
Eventsnetworkdevicedevice.nameNone
EventsnetworkNonedevice.type_id-1
Eventsnetworkosos.nameNone
EventsnetworkNoneos.type_id-1
EventsnetworkpolicypolicyNone
Eventsnetworkclient_bytesbytes_outNone
Eventsnetworkserver_bytesbytes_inNone
Eventsnetworkclient_packetspackets_outNone
Eventsnetworkserver_packetspackets_inNone
Eventsnetworkprotocolprotocol_nameNone
Eventsnetworkos_versioneditionNone
Eventsnetworksrcipsrc_endpoint.ipNone
Eventsnetworksrcportsrc_endpoint.portNone
Eventsnetworkdstipdst_endpoint.ipNone
Eventsnetworkdstipdst_endpoint.portNone
Eventsnetworksiteservice.nameNone
Share this Doc
In this topic ...