Stories Tool

The Stories Tool can be accessed from the Optic Toolbar:

../../_images/icon_stories.png

Use the Stories Tool to create, edit, collaborate on, and publish reports directly from Synapse.

With the Stories Tool, you can:

  • Add and configure common report elements such as title blocks, prose, and images.

  • Embed Synapse data directly in your report using any of the Research Tool’s display modes (tabular, force graph, statistics, or geospatial).

  • Automatically refresh and update data in your report if the data in Synapse changes.

  • Collaborate with other users on a report.

  • Create, reply, and resolve comments directly within a report as part of your review process.

  • Create templates to automatically generate common reports.

Create a New Story

  1. In the Stories Tool, click the + NEW STORY card to create a new Story:

    ../../_images/newstory_01.png
  2. In the New Story dialog, provide a title and description for your Story. Click + CREATE to create the new Story.

    ../../_images/newstory_02.gif

Copy an Existing Story

  1. In the Stories Tool, locate the Story you want to copy. Click the copy icon to create a copy of the Story:

    ../../_images/copystory_01.gif

Open a Story

  1. In the Stories Tool, click on a Story card to open it:

    ../../_images/openstory_01.png

Set or Update a Story’s Type

Tip

Story Types are user-specified categories that can help organize your Stories. In the main Stories Tool, you can filter visible Story cards by Type (among other properties) to more easily locate and view existing Stories.

  1. Open the Story whose type you want to set (or update). (See Open a Story.)

  2. From the main Stories hamburger menu, select Story Settings:

    ../../_images/set_type_01.png
  3. In the Story Settings dialog, select the DETAILS tab:

    ../../_images/set_type_02.png
  4. In the type field, enter the type to use for this Story (or select an existing type from the drop down list:

    ../../_images/set_type_03.gif

    A green check mark will appear in the type field to indicate that the type has been set / saved.

    Click the X in the upper right corner to exit the Story Settings dialog.

Set or Update a Story’s Status

Tip

Story Statuses are user-specified categories that can help organize your Stories. In the main Stories Tool, you can filter visible Story cards by Status (among other properties) to more easily locate and view existing Stories.

  1. Open the Story whose status you want to set (or update). (See Open a Story.)

  2. From the main Stories hamburger menu, select Story Settings:

    ../../_images/set_status_01.png
  3. In the Story Settings dialog, select the DETAILS tab:

    ../../_images/set_status_02.png
  4. In the status field, enter the status to use for this Story (or select an existing status from the drop down list:

    ../../_images/set_status_03.gif

    A green check mark will appear in the status field to indicate that the status has been set / saved.

    Click the X in the upper right corner to exit the Story Settings dialog.

Add a Basic Element

  1. From the Stories Details Panel, on the PALETTE tab, click the element you want to add:

    ../../_images/addelement_01.gif

    Your element will be added to the Clipboard area of the PALETTE tab.

    Tip

    If you are adding an image, specify either:

    • the file to upload, or

    • the URL to download the file.

    Click the Submit button to add the image:

    ../../_images/addelement_02.gif

Add Data from Synapse

Note

When adding data to your Story from Synapse, you have two options:

  • Write a Storm query that generates the data you want; or

  • Use UI features (such as the Query Bar Lookup mode or the Explore button) to navigate to the data you need.

Using a Storm query gives you the greatest flexibility to review and revise your Story. With Storm, you can refresh either the nodes or the entire query within your Story at any time. Anyone reviewing your Story can see the exact Storm query that generated your data.

Using Synapse’s UI features will add the data “as is”, but in most cases you will be unable to refresh the data. Anyone reviewing your Story will see your original query (your “starting point”) but the navigation you performed to reach your data is not preserved with your Story element.

Add a Node

  1. In the Research Tool, identify the individual node that you want to add to your Story. Right-click the node and select add node to story from the context menu.

    ../../_images/addnode_01.gif

    Tip

    You can select a node from any of these display modes: Tabular, Force Graph, or Geospatial.

    The node will be added to the Clipboard of the currently open Story. If no Story is open, Synapse will prompt you to select one:

    ../../_images/addnode_02.png

    You can configure the appearance of the node (e.g., select which properties are displayed, and in what order) from the Stories Tool.

Add a Table

  1. In the Research Tool, Tabular display mode, identify the table that you want to add to your Story. From the table’s hamburger menu, select Add to story:

    ../../_images/addtable_01.gif

    The table will be added to the Clipboard of the currently open Story. If no Story is open, Synapse will prompt you to select one:

    ../../_images/addtable_02.png

    You can configure the appearance of the table (e.g., select which columns are displayed, and in what order) from the Stories Tool.

Add a Force Graph

  1. In the Research Tool, Force Graph display mode, generate the force graph that you want to include in your Story:

    ../../_images/addgraph_01.png
  2. From the Force Graph hamburger menu, select Add to story:

    ../../_images/addgraph_02.gif

    The force graph will be added to the Clipboard of the currently open Story. If no Story is open, Synapse will prompt you to select one:

    ../../_images/addgraph_03.png

Add a Statistics Chart or Graph

  1. In the Research Tool, Statistics display mode, generate the chart(s) that you want to include in your Story. From the hamburger menu of the chart or graph that you want to include, select Add to story:

    ../../_images/addchart_01.gif

    The chart or graph will be added to the Clipboard of the currently open Story. If no Story is open, Synapse will prompt you to select one:

    ../../_images/addchart_02.png

Add a Map Image

  1. In the Research Tool, Geospatial display mode, generate the map image that you want to include in your Story. From the display mode hamburger menu, select Add to story:

    ../../_images/addmap_01.gif

    The map image will be added to the Clipboard of the currently open Story. If no Story is open, Synapse will prompt you to select one:

    ../../_images/addmap_02.png

Add an Element to Your Story from the Clipboard

  1. In the Stories Details Panel, select the PALETTE tab. From the Clipboard, click and hold the element you want to add to your Story. Drag the element from the Clipboard to your Story body:

    ../../_images/clipbody_01.gif
  2. Move or resize the element as needed.

Edit a Data Element

To edit a data element, it must be in your Story body (see Add an Element to Your Story from the Clipboard).

  1. Locate the element and click the edit icon to open it for editing.

    ../../_images/edit_01.gif

    The element will be opened in the Details Panel, ELEMENT tab.

  2. To edit the element title, make your changes in the title field. Clicking anywhere outside the title field will save your changes:

    ../../_images/edit_02.gif

    Tip

    You can also edit the title by double clicking it on the element itself.

  3. To edit the Storm query associated with the element, click the Edit Query button to open a Storm editor window.

    ../../_images/edit_03.png
  4. In the Edit Query window, modify your query as needed. Click the Save button to save your changes and close the window.

    ../../_images/edit_04.gif
  5. When you are finished editing the element, click the edit icon to stop editing.

    ../../_images/edit_05.gif

Tip

For node or table elements, you can edit their layout in the ELEMENT tab (select or deselect columns for display, reorder columns, etc.)

For force graph elements, you can adjust the appearance of the element (focus, zoom, etc.) from within the element when it is selected for editing.

For chart and graph elements, you can modify the chart (e.g., specify the property used to generate a bar graph) from within the element when it is selected for editing.

For map image elements, you can adjust the appearance of the element (focus, zoom, background, etc.) from within the element when it is selected for editing.

Send an Element to the Clipboard

  1. In your Story body, locate the element to send to the Clipboard. From the element’s hamburger menu, select Send to Clipboard.

    ../../_images/bodyclip_01.gif

Give Others Access to Your Story

When you create a Story, you are the owner / admin of the Story. Modify the Story’s permissions to give others access.

  1. Open your Story. From the main Stories hamburger menu, select Story Settings:

    ../../_images/give_access_01.png
  2. From the Story Settings dialog, select either the USERS or ROLES tab, depending on the access you want to grant. Click the + Add Permission button to set a new permission.

    Use the drop down list to select the role (or user) to grant access.

    Use the perm drop down list to select the level of access.

    Add other permissions if needed. When you are finished, click the X to close the Story Settings dialog.

    ../../_images/give_access_02.gif

Create a Story Template

A Story template is a Story that uses one or more variables to generate the Story content. The template allows you to easily create custom content on demand, using the latest data in Synapse, by replacing the variables with specific values. Templates are ideal for common reports that you produce on a regular basis.

While the template is standardized, because the report is made up of multiple Story elements, you can still customize your final product by adding, removing, or rearranging elements as needed.

Note

Before you create your Story template:

  • Decide on the content you want to include in your report. In particular, identify the Storm queries you will run to generate your data.

  • For those Storm queries, identify one or more variables that will be used to generate similar content, based on the variable as input.

    For example, a threat group report could be based around a specific tag (e.g., #cno.threat.mythreat) or a node or property value (e.g., risk:threat:org:name='my threat') used as the basis for your queries.

Create the Template and Add Basic Elements

  1. Create a New Story

  2. Open your new Story.

  3. Add basic elements to your story such as a Title/Description, Markdown, etc. as needed (see Add a Basic Element).

Add Synapse Data Using Storm

  1. For each data element that you want to include in your Story, use the Research Tool to Add Data from Synapse.

    Note

    For a template, you must generate the template elements using Storm. Your queries should be based on the variables you defined above, but should use a specific value to generate the intital set of template data (i.e., as if you were creating a normal Story).

    In the example below, we are using ESET’s Sednit threat group (represented by the tag rep.eset.sednit) to obtain all of the DNS zones assocaited with Sednit’s FQDNs:

    ../../_images/template_data_01.png

Create Your Variables

  1. Open your Story template. From the main Stories hamburger menu, select Story Settings:

    ../../_images/template_vars_01.png
  2. In the Story Settings dialog, select the VARS tab. In the Edit vars as YAML window, list the name(s) of your variable(s). Each name should be followed by a colon (:). (When you use the template to generate a report, you will specify the value to use for the variable(s) here.)

    ../../_images/template_vars_02.png

    Click Save to save your changes. Click the X in the upper right to close the Story Settings dialog.

    ../../_images/template_vars_03.gif

Tip

A detailed knowledge of Storm variables is generally not required to create and use a Story template. However, users who wish to learn more can refer to the Storm reference, specifically the section on variables.

Edit Your Storm Queries

Note

Complete the following steps for each template element that is generated by a Storm query.

Add the element you want to edit to the main Story body if it is not already there (see Add an Element to Your Story from the Clipboard).

  1. Click the element’s edit icon to open it for editing. From the Story Details Panel, ELEMENT tab, click the Edit Query button to edit your Storm query (see Edit a Data Element).

    ../../_images/template_edit_01.png
  2. In the Edit Query dialog, replace the specific element you used to run the Storm query with the variable name you defined in the Story Settings dialog (see Create Your Variables). Be sure to include the dollar sign ( $ ) before your variable name.

    For example, if your data is generated from a Storm query that uses the threat group tag rep.eset.sedint and you defined the variable threattag to represent the tag name, replace the tag string with the variable:

    Before:

    ../../_images/template_edit_02.png

    After:

    ../../_images/template_edit_03.png

    Click the Save button to save your changes.

    ../../_images/template_edit_04.gif
  3. Click the edit icon icon on the element to stop editing.

    ../../_images/template_edit_05.gif

When you have finished editing all of your Storm queries to use your variable(s), your template is ready to use!

Tip

If you want others to be able to use your template, you will need to grant them access (see Give Others Access to Your Story). Granting read access (to users or roles) will allow them to view and copy the template, but not edit it. This can help prevent accidental changes to the template.

Use a Story Template to Create a Report

  1. In the Stories Tool, locate the template you want to use. create a copy of the template (see Copy an Existing Story) so you do not overwrite the template. Open the copy.

    ../../_images/template_run_01.gif
  2. Edit the title and description to reflect the Story you will create.

    ../../_images/template_run_02.gif
  3. From the main Stories hamburger menu, select Story Settings.

    ../../_images/template_run_03.png
  4. In the Story Settings dialog, on the VARS tab, enter the specific value(s) to use for your variable(s) in order to generate the report. Click Save to save your changes, and X to close the Story Settings dialog.

    ../../_images/template_run_04.gif
  5. From the Story hamburger menu, select Refresh All Element Queries to re-run all of the Storm queries using the value(s) you specified for your variables.

    ../../_images/template_run_05.png

    Tip

    Elements will be refreshed whether they are in the main Story body or the Clipboard. Depending on the number of Storm queries and the volume of data, it may take a bit of time to update all of the Story elements.

  6. Once the refresh is complete, arrange the Story to your liking by:

Export a Story as a PDF

  1. In the Stories Tool, open the Story you wish to export (see Open a Story).

    Tip

    Before exporting your Story, ensure the elements are arranged to your liking. The Stories Tool uses a fixed grid layout and page breaks. Story elements cannot cross page breaks, and elements that support horizontal or vertical scroll within Synapse will only display content that is visible when they are exported.

  2. Click the Export icon above the Details Panel in your Story.

    ../../_images/export_01.png
  3. Preview your Story. If you need to modify the layout, click Cancel to return to the Story.

../../_images/export_02.png
  1. Use your browser’s Print options to make any adjustments. Select Save as PDF as the destination for the Story and click Save to export the Story as a PDF.

    ../../_images/export_03.png

    Note

    Your print options may vary based on your specific browser and browser version.