mirror of https://github.com/MISP/misp-training
chg: [a.12-workflows] Added slide about debug mode
parent
5692baeeca
commit
d7ae68de73
|
@ -105,8 +105,7 @@
|
||||||
\vspace{0.5em}
|
\vspace{0.5em}
|
||||||
\item {\bf Non-blocking}: Workflow execution outcome has no impact
|
\item {\bf Non-blocking}: Workflow execution outcome has no impact
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item \textbf{Blocking modules} become \textbf{non-blocking}
|
\item \textbf{Blocking modules} can still stop the execution
|
||||||
\item Execution proceed unless on exception
|
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
@ -384,7 +383,7 @@ $ids = Hash::extract($users, $path_expression);
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
\begin{frame}
|
\begin{frame}
|
||||||
\frametitle{Debugging Workflows}
|
\frametitle{Debugging Workflows: Log Entries}
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item Workflow execution is logged in the application logs:
|
\item Workflow execution is logged in the application logs:
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
|
@ -394,12 +393,35 @@ $ids = Hash::extract($users, $path_expression);
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item \texttt{/app/tmp/logs/workflow-execution.log}
|
\item \texttt{/app/tmp/logs/workflow-execution.log}
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
\item Use the \texttt{webhook-listener.py} tool
|
||||||
|
\begin{itemize}
|
||||||
|
\item \texttt{/app/tools/misp-workflows/webhook-listener.py}
|
||||||
|
\end{itemize}
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
\begin{center}
|
\begin{center}
|
||||||
\includegraphics[width=1.0\linewidth]{pictures/workflow-debug.png}
|
\includegraphics[width=1.0\linewidth]{pictures/workflow-debug.png}
|
||||||
\end{center}
|
\end{center}
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
|
\begin{frame}
|
||||||
|
\frametitle{Debugging Workflows: Debug mode}
|
||||||
|
\begin{itemize}
|
||||||
|
\item The \includegraphics[width=70px]{pictures/debug-mode.png} can be turned on for each workflows
|
||||||
|
\item Each nodes will send data to the provided URL
|
||||||
|
\begin{itemize}
|
||||||
|
\item Configure the setting: \texttt{Plugin.Workflow\_debug\_url}
|
||||||
|
\end{itemize}
|
||||||
|
\item Result can be visualized In
|
||||||
|
\begin{itemize}
|
||||||
|
\item \textbf{offline}: \texttt{tools/misp-workflows/webhook-listener.py}
|
||||||
|
\item \textbf{online}: \url{requestbin.com}
|
||||||
|
\end{itemize}
|
||||||
|
\end{itemize}
|
||||||
|
\begin{center}
|
||||||
|
\includegraphics[width=0.6\linewidth]{pictures/request-bin.png}
|
||||||
|
\end{center}
|
||||||
|
\end{frame}
|
||||||
|
|
||||||
\section{Learning by examples}
|
\section{Learning by examples}
|
||||||
\begin{frame}
|
\begin{frame}
|
||||||
\frametitle{Workflow example 1}
|
\frametitle{Workflow example 1}
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 6.0 KiB |
Binary file not shown.
After Width: | Height: | Size: 29 KiB |
Loading…
Reference in New Issue