All of lore.kernel.org
 help / color / mirror / Atom feed
* Announcing SPAN: SELinux Policy Analysis Notebook
@ 2017-05-05 18:27 Karl MacMillan
  2017-05-06 14:03 ` Dominick Grift
  0 siblings, 1 reply; 28+ messages in thread
From: Karl MacMillan @ 2017-05-05 18:27 UTC (permalink / raw)
  To: selinux; +Cc: Brandon Whalen, Spencer Shimko, Chris PeBenito, dac

[-- Attachment #1: Type: text/plain, Size: 2125 bytes --]

I’d like to announce SPAN - SELinux Policy Analysis Notebook (https://github.com/QuarkSecurity/SPAN/ <https://github.com/QuarkSecurity/SPAN/>). This is a Jupyter notebook based environment for SELinux policy analysis that let’s you mix queries, Python code, and Markdown formatted notes into an executable document. It’s an extension of SETools 4.

Using SPAN within Jupyter notebook is an amazingly productive way to do policy analysis. I really think that this is the most productive environment that I’ve seen for real policy analysis (and I’ve been working on SELinux policy analysis and tools for almost 15 years). The ability to quickly create custom tools to answer hard questions combined inline with well-formatted documentation makes a huge difference.

SPAN has been used so far to analyze 3 large, complex, custom systems with very large policies (hundreds of custom domains). The analysis was of much better quality and it took much less time because of SPAN.

If you just want to see what this looks like, you can see an example online (though the code is not executable):

https://nbviewer.jupyter.org/github/QuarkSecurity/SPAN/blob/master/examples/Span%20Example.ipynb# <https://nbviewer.jupyter.org/github/QuarkSecurity/SPAN/blob/master/examples/Span%20Example.ipynb#>

If you’ve not seen Jupyter notebooks, they are a very popular tool for data science. Jupyter notebooks are an interactive environment that let you write text (in Markdown) and code together. You can get a feel for what's possible in this awesome notebook on Regex Golf from XKCD: http://nbviewer.jupyter.org/url/norvig.com/ipython/xkcd1313.ipynb <http://nbviewer.jupyter.org/url/norvig.com/ipython/xkcd1313.ipynb>. There is also the more official (and boring) introduction: https://jupyter-notebook-beginner-guide.readthedocs.io/en/latest/ <https://jupyter-notebook-beginner-guide.readthedocs.io/en/latest/>.

SPAN was written by me (Karl MacMillan) along with Spencer Shimko and Brandon Whalen from Quark Security. And, of course, this is built on SETools 4 which is maintained by Chris PeBinito.

Thanks - Karl

[-- Attachment #2: Type: text/html, Size: 2662 bytes --]

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2017-05-09 17:45 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-05 18:27 Announcing SPAN: SELinux Policy Analysis Notebook Karl MacMillan
2017-05-06 14:03 ` Dominick Grift
2017-05-06 16:19   ` Dominick Grift
2017-05-06 17:19     ` Dominick Grift
2017-05-07  9:39       ` Dominick Grift
2017-05-08 19:23         ` Karl MacMillan
2017-05-08 19:32           ` Dominick Grift
2017-05-08 19:40             ` Karl MacMillan
2017-05-07 15:22       ` Joshua Brindle
2017-05-07 15:47         ` Dominick Grift
2017-05-07 19:42           ` Joshua Brindle
2017-05-07 19:53             ` Dominick Grift
2017-05-08 19:41               ` Karl MacMillan
2017-05-08  8:55             ` Dominick Grift
2017-05-08  9:32               ` Dominick Grift
2017-05-08 19:36                 ` Karl MacMillan
2017-05-08 19:49                   ` Dominick Grift
2017-05-08 20:09                     ` Karl MacMillan
2017-05-08 20:40                       ` Dominick Grift
2017-05-08 21:47                         ` Dominick Grift
2017-05-08 22:01                           ` Dominick Grift
2017-05-09 15:25                           ` Karl MacMillan
2017-05-09 16:12                             ` Joshua Brindle
2017-05-09 15:21                         ` Karl MacMillan
2017-05-09 16:15                           ` Dominick Grift
2017-05-09 16:47                             ` Dominick Grift
2017-05-09 17:45                               ` Dominick Grift
2017-05-07 16:24         ` Dominick Grift

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.