Skip to content

Commit

Permalink
Merge pull request #13 from microsoft/ianhelle_pivot_integ_and_fixes_…
Browse files Browse the repository at this point in the history
…2020-12-22

Ianhelle pivot integ and fixes 2020 12 22
  • Loading branch information
ianhelle authored Apr 3, 2021
2 parents 1d2cf20 + 58c8e60 commit cb49ec0
Show file tree
Hide file tree
Showing 65 changed files with 4,360 additions and 1,522 deletions.
28 changes: 23 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,31 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: check-json
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- repo: https://github.com/ambv/black
rev: stable
- repo: https://github.com/ambv/black
rev: 20.8b1
hooks:
- id: black
language: python
- id: black
language: python
args:
- -t
- py36
- repo: https://github.com/pre-commit/mirrors-pylint
rev: v2.6.0
hooks:
- id: pylint
args:
- --disable=E0401,W0511
- --ignore-patterns=test_
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
hooks:
- id: flake8
args:
- --extend-ignore=E0401,E501
- --max-line-length=90
- --exclude=tests,test*.py
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,13 +212,14 @@ Main operations:
- The alerts and bookmarks are browsable using the browse_alerts and
browse_bookmarks methods
- You can call the find_additional_data method to retrieve and display
more detailed activity information for the account.
more detailed activity information for the account (e.g. host logons,
Azure and Office 365 activity)

### EnrichAlerts

Alert Enrichment Notebooklet Class.

Enriches Azure Sentinel alerts with Threat Intelligence data.
Enriches Azure Sentinel alerts with Threat Intelligence and other data.

### HostLogonsSummary

Expand Down Expand Up @@ -257,6 +258,18 @@ Queries and displays Windows Security Events including:
Process (4688) and Account Logon (4624, 4625) are not included in the
event types processed by this module.

### IpAddressSummary

Retrieves common data about an IP Address including:

- Tries to determine IP address is external or internal (i.e. owned by the organization)
- Azure Heartbeat, Network Analytics or VMComputer records
- Geo-IP and Whois data
- Threat intel reports
- Related alerts and hunting bookmarks
- Network flows involving IP address
- Azure activity (e.g. sign-ins) originating from IP address

### NetworkFlowSummary

Network Flow Summary Notebooklet class.
Expand Down
12 changes: 6 additions & 6 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@
sys.path.insert(0, os.path.abspath("../.."))

# -- Project information -----------------------------------------------------

# pylint: disable=redefined-builtin, invalid-name
project = "msticnb"
# pylint: disable=redefined-builtin

copyright = "2020, (c) Microsoft Corporation."
author = "Ian Hellen"
author = "Ian Hellen, Pete Bryan"

# The short X.Y version
version = ""
# The full version, including alpha/beta/rc tags
release = "0.1.0"
release = "0.2.0"


# -- General configuration ---------------------------------------------------
Expand Down Expand Up @@ -78,7 +78,7 @@
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = []
exclude_patterns: list = []

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = None
Expand Down Expand Up @@ -127,7 +127,7 @@

# -- Options for LaTeX output ------------------------------------------------

latex_elements = {
latex_elements: dict = {
# The paper size ('letterpaper' or 'a4paper').
#
# 'papersize': 'letterpaper',
Expand Down
7 changes: 7 additions & 0 deletions docs/source/msticnb.nb.azsent.network.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Network notebooklets

.. autosummary::
msticnb.nb.azsent.network.network_flow_summary
msticnb.nb.azsent.network.ip_summary

Submodules
----------
Expand All @@ -15,4 +16,10 @@ msticnb.nb.azsent.network.network\_flow\_summary module
:undoc-members:
:show-inheritance:

msticnb.nb.azsent.network.ip\_summary module
-------------------------------------------------------

.. automodule:: msticnb.nb.azsent.network.ip_summary
:members:
:undoc-members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/source/msticnb.nblib.azsent.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,10 @@ msticnb.nblib.azsent.host module
:undoc-members:
:show-inheritance:

msticnb.nblib.azsent.alert module
---------------------------------

.. automodule:: msticnb.nblib.azsent.alert
:members:
:undoc-members:
:show-inheritance:
8 changes: 8 additions & 0 deletions docs/source/msticnb.nblib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,11 @@ Categories
:maxdepth: 4

msticnb.nblib.azsent

msticnb.nblib.iptools module
----------------------------

.. automodule:: msticnb.nblib.iptools
:members:
:undoc-members:
:show-inheritance:
16 changes: 16 additions & 0 deletions docs/source/msticnb.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@ msticnb.notebooklet module
:undoc-members:
:show-inheritance:

msticnb.notebooklet\_result module
----------------------------------

.. automodule:: msticnb.notebooklet_result
:members:
:undoc-members:
:show-inheritance:

msticnb.options module
----------------------

Expand All @@ -78,3 +86,11 @@ msticnb.read\_modules module
:undoc-members:
:show-inheritance:

msticnb.data\viewers module
---------------------------

.. automodule:: msticnb.data_viewers
:members:
:undoc-members:
:show-inheritance:

Loading

0 comments on commit cb49ec0

Please sign in to comment.