https://tines.com/ logo
Join Slack
Powered by
# community-help
  • m

    modern-farmer-99434

    04/21/2022, 6:03 PM
    Can you share the file though @thankful-potato-8143 ? I’d love to see if there’s something up with it!
    t
    • 2
    • 2
  • t

    thankful-potato-8143

    04/21/2022, 6:17 PM
    I’m trying to write a trigger that checks if a value is “Critical”, “High”, or “Medium”
    m
    • 2
    • 6
  • n

    numerous-kitchen-49366

    04/21/2022, 8:19 PM
    Question: Trying to use HTTP action to send data to a splunk HEC. Collector is configured and test with cURL in my CLI shows that the HEC token is valid and works...however, when posting from Tines, I continually get a 403 error. Any insight or experience that might help me troubleshoot my issue?
    m
    • 2
    • 1
  • c

    cuddly-architect-37695

    04/22/2022, 2:47 PM
    Hi all, does anyone use any.run for uploading files to be analyzed? It seems that the current templated action is not working anymore. It gives me this error “ValidationError: “value” must contain at least one of [obj_url, file]“. It worked fine until a few days ago. Thank you!!
    m
    • 2
    • 4
  • r

    red-caravan-3691

    04/27/2022, 5:36 PM
    Hey community!! A bit specific, but looking for a potential example I can build on. Has anyone built/engineered any part of a playbook for Google G-Suite Audits? I want to build a story that audits all Google SaaS-related documents (I.E online documents/sheets etc) that have been shared with contacts outside of my organization… where
    organization!=<http://mycompany.com|mycompany.com>
    m
    • 2
    • 7
  • t

    thankful-potato-8143

    04/28/2022, 9:10 PM
    So I copied the bearer token from the API client and copied it into the Tines body, and it was successfully able to interrogate the MSGraph URL
    a
    b
    m
    • 4
    • 21
  • r

    ripe-tailor-83334

    04/29/2022, 7:38 PM
    Howdy! Hopefully someone can help guide me or point me to a similar sample. I'm sending a SIEM alert to slack, and then separately subscribing to a reaction on that message to add additional alert context in the thread. The problem is I can't figure out how to reference that alert context from the reaction flow (the alert context is part of the original alert webhook from SIEM).
    b
    r
    • 3
    • 10
  • t

    thankful-potato-8143

    05/03/2022, 2:17 PM
    Concerning OAuth2, is Tines considered a Single Page Application?
    a
    • 2
    • 6
  • m

    miniature-teacher-65329

    05/09/2022, 8:59 PM
    anybody have a nice trick for appending a query parameter value if a value exists? Liquid formatting causes the URL parser for the HTTP agent to die. I could do this with a pre-formatter but I would like to avoid that if possible
    m
    • 2
    • 14
  • g

    great-daybreak-70417

    05/11/2022, 9:32 AM
    Hi, I’m hoping i might be able to get some pointers on how i could achieve the following. I'm looking to loop over some json, searching for a string value on the key ‘team’ & its value within 'tags' , if it exists add a new key named ‘teams’ and assign the team name as the value, if there’s no match then a value of ‘unknown’. Hope that makes sense 😊. Example input object, and the result I’m looking to achieve: Input array object:
    Copy code
    [
     {
       "account_name": "Account-A",
       "asset_type": "Type1",
       "Name": "foo1",
       "Category": "bar",
       "SubCategory": "1",
       "tags": "{\"value\": \"ateam\", \"key\": \"team\"}"
     },
     {
       "account_name": "Account-A",
       "asset_type": "Type1",
       "Name": "foo3",
       "Category": "bar2",
       "SubCategory": "1",
       "tags": "{\"value\": \"bteam\", \"key\": \"team\"}"
     },
     {
       "account_name": "Account-A",
       "asset_type": "Type1",
       "Name": "foo2",
       "Category": "bar1",
       "SubCategory": "1",
       "tags": "{\"value\": \"bteam\", \"key\": \"team\"}"
     },
     {
       "account_name": "Account-B",
       "asset_type": "Type3",
       "Name": "foo3",
       "Category": "bar",
       "SubCategory": "3",
       "tags": ""
     }
    ]
    Output object:
    Copy code
    [
     {
       "account_name": "Account-A",
       "asset_type": "Type1",
       "Name": "foo1",
       "Category": "bar",
       "SubCategory": "1",
       "tags": "{\"value\": \"ateam\", \"key\": \"team\"}",
       "team": "ateam"
     },
     {
       "account_name": "Account-A",
       "asset_type": "Type1",
       "Name": "foo3",
       "Category": "bar2",
       "SubCategory": "1",
       "tags": "{\"value\": \"bteam\", \"key\": \"team\"}"
       "team": "bteam"
     },
     {
       "account_name": "Account-A",
       "asset_type": "Type1",
       "Name": "foo2",
       "Category": "bar1",
       "SubCategory": "1",
       "tags": "{\"value\": \"bteam\", \"key\": \"team\"}",
       "team": "bteam"
     },
     {
       "account_name": "Account-B",
       "asset_type": "Type3",
       "Name": "foo3",
       "Category": "bar",
       "SubCategory": "3",
       "tags": "",
       "team": "unknown"
     }
    ]
    Thanks 🙏
    c
    • 2
    • 4
  • g

    great-daybreak-70417

    05/13/2022, 12:35 PM
    Hey, Has anyone got a slick way of using an event transform to concat multiple API response into a single array (object), basically attempting to get all the responses from API pagnation calls into a single json object. cheers
    m
    • 2
    • 5
  • g

    green-architect-4647

    05/13/2022, 7:51 PM
    Maybe a simple one, I have a list of X length, each entry containing a JSON dict with the same keys and a list of values. Any pointers on merging (collapsing?) these on the key, and concatenating the values. So the end result would be:
    Copy code
    {
      "events": [...], 
      "entities": [...]
    }
    m
    • 2
    • 9
  • g

    green-architect-4647

    05/14/2022, 1:46 PM
    Asking here as others may benefit from the answer. (No rush on this as it's not blocking) What implementation of JSONPath does Tines use? The basics are largely the same, but filters/scripts seem to differ (I had this problem with Python libraries). Or is there some other quirk going on here? I'm trying to extract the value associated with the severity key to no avail. This works fine on jsonpath.com (minus escaping the quotes) (See thread)
    m
    • 2
    • 3
  • t

    thankful-potato-8143

    05/16/2022, 3:49 PM
    Is there a tutorial for using the gmail api to send emails?
    a
    • 2
    • 4
  • g

    great-daybreak-70417

    05/19/2022, 3:44 PM
    Hey, Is it possible to achieve the 'Where Not' equivalent of this
    WHERE(compile_assets.array, "asset_type", LOOP.value)
    in a single event transform? Where the loop value is a resource with a dictionary of 'asset_types' that i want to remove from the 'assets.array'. The
    WHERE
    works, but as the list of types im not interested in is smaller, it's easier to maintain the resource for those i don't want to keep. Thanks
    m
    • 2
    • 3
  • e

    early-vegetable-9315

    05/20/2022, 2:03 PM
    Hello everyone! I am trying to iterate over array RESOURCE (an array of json blobs) pull out a specific value in the json, and then get the average of values. I am struggling with the liquid formula (output is “” regardless of what I try. Any suggestions (formula in thread)?
    r
    • 2
    • 5
  • m

    mysterious-winter-58499

    05/25/2022, 1:03 PM
    Hiya, working on a crowdstrike story and I get the following error. Has anyone experienced this before?
    b
    m
    • 3
    • 39
  • g

    green-architect-4647

    05/25/2022, 3:35 PM
    Hey folks, I think I deleted a story containing a webhook, so created a new story and replicated the path/secret and whilst it works, it's complaining that the webhook path is duplicated with another event. Changing the URL to the event in question doesn't show me the event, will it be deleted in the background at some point?
    m
    • 2
    • 6
  • t

    thankful-potato-8143

    05/25/2022, 10:09 PM
    Hi, I had an msgraph integration that was working but now I'm getting a 401. I checked the credentials and I got a log-in prompt. I entered my creds and got this
    a
    • 2
    • 5
  • r

    red-caravan-3691

    05/25/2022, 10:52 PM
    Hey Community! https://www.tines.com/blog/chatbots-for-security-and-it-teams-part-3-creating-a-slack-chatbot in this example (Slash Commands), is the Slack Webhook URL entry corresponding to the Tines Story Webhook Action (I assume/99% certain)?
    g
    • 2
    • 1
  • g

    gray-wall-69994

    05/26/2022, 6:41 PM
    Hey all, anyone know what the size limit is for a resource list?
    m
    • 2
    • 1
  • s

    straight-judge-35557

    05/27/2022, 7:46 AM
    how to access the value in a dictionary object with one of the key special character {“addr.local”“ip 172 16 1 188"}” in tines? tried |>get(%,[“addr.local”]) with no luck?
    m
    b
    • 3
    • 23
  • g

    green-architect-4647

    05/27/2022, 3:15 PM
    Is there an easy way to take an existing action and create a template from it? Currently I'm copying the action, extracting the
    options
    with some find/replace to unescape the `"`s and then pasting into the template UI.
    g
    a
    • 3
    • 6
  • m

    miniature-crayon-82650

    06/02/2022, 2:31 PM
    I am brand-new to Tines. I’m not a programmer. I think there might be opportunities to incorporate logic into my stories with triggers and event transforms but I am not skilled in how to edit them. I have accessed Tines documentation but I cannot seem to find anything that resonates with me. I am attempting to write stories for a non-security related use case. My goal is to use my stories to enroll customers in fictious training from Contoso Education. I’m wondering how to incorporate logic into my stories. For example, how to get user name, course name, course date added to automated emails. A second example would be redacting user passwords when emails are sent to the operations team. Annotations for each of my stories are described below: New Contoso Education Account The goal of this story is to establish a new Contoso Education account. To enroll in a course, students that want to take Contoso training must have an account in the LMS in order to enroll in a course. To establish an account, prospective students must complete the form associated with this story. The new account story should generate a unique user ID and a confirmation email with login credentials (which are captured in the form associated with this story.) The registration email, with a redacted user password, would also be sent to the fictional Contoso Education Operations team. Contoso Education Enrollment Form This story aims to enroll a person in a training course. To enroll in a course, you must have an account in the LMS. If this is the first time the student is enrolling in a Contoso course, the new account story should run, then redirect the student back to the course enrollment story. To complete enrollment in a course, the student must complete the form associated with this story. After enrolling in a course, students will be sent a confirmation email. The fictional Contoso Education Operations team will also receive a copy of the enrollment email. (Presumably, another story preparing the student's training materials and lab access credentials would run and be sent to the student on the start date for their training.) Am I being too ambitious? Thanks for your insights!
    g
    g
    • 3
    • 9
  • a

    ancient-flower-50991

    06/02/2022, 5:59 PM
    Hi all! I've been tinkering with google automation and keep on getting 401 responses with our service account; I figure there's a simple thing I'm overlooking. Are there any pages or reference material I could look to for configuring and referencing credentials such as with google?
    g
    • 2
    • 2
  • r

    red-caravan-3691

    06/03/2022, 10:10 PM
    Hey all! Has anyone pulled Sumo Logic User lists and used Event Transformations to Explode the content? Getting:
    Value at <X> is not an array or does not exist
    As the return output is a huge list which is sub-divided into Arrays containing JSON, kinda like:
    Copy code
    {
    "get_a_list_of_users_in_sumo_logic":
    {
    "body":
    {
    "data":
    [
    
    {
    "firstName":"X",
    "lastName":"X",
    "email":"X",
    "roleIds":
    [
    ],
    "createdAt":"X",
    "createdBy":"X",
    "modifiedAt":"X",
    "modifiedBy":"X",
    "id":"X",
    "isActive":true,
    "isLocked":false,
    "isMfaEnabled":false,
    "lastLoginTimestamp":"X"
    },
    Followed by the next user etc.. Im not sure if I am using Explode correctly here
    m
    • 2
    • 10
  • r

    red-daybreak-70524

    06/04/2022, 2:03 PM
    Is there a native way to generate a UUID? Could this be a custom formula? Currently using
    <https://www.uuidgenerator.net/api>
    m
    a
    b
    • 4
    • 7
  • m

    millions-market-59432

    06/10/2022, 4:47 PM
    Simple question here: for failed actions, is there an easy way to see the outgoing payload? Many APIs do not give friendly responses when payloads are malformed
    m
    • 2
    • 5
  • t

    thankful-potato-8143

    06/13/2022, 4:23 PM
    Adding some error handling - are triggers the best way to handle error codes?
    f
    m
    • 3
    • 6
  • r

    red-caravan-3691

    06/14/2022, 3:31 PM
    Hey Gang! Does anyone have any experience with getting OAUTH tokens from JamF API?
    a
    • 2
    • 16
12Latest