From Blocks to Bots - Scaling SecOps with Modular Playbooks and Agentic Automation
Transcript
Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.
Welcome everyone. We are going to get started here in a minute. Let people trickle in and and and join us. Uh thanks for your patience. We're really excited to see everyone here today. Uh [music] we'll get started here momentarily.
[music]
>> [music]
[music] >> Baby,
[music]
feel [music]
>> [music]
>> You know, my first technical error. I have to admit it. I was muted while I was speaking. So, uh, let's start this process over. All right, we're get off to a good start. Welcome everyone to another Wednesday webinar on the Google Cloud Security Community. If you can't tell, I am laughing over here at myself. Uh, it's good to make these fun little mistakes as we go through life, right? Hey, thanks for joining us today. We are so excited to see everyone online. Introduce yourself, say hello, tell us where you're from. Uh, I'm coming live from Tmacula, California. So, that's where I'm located. Um, a huge thank you to everyone that has registered and shared their questions with us. We will try to answer as many as possible, but if we don't, we'll add a FAQ doc when we post the recording of this webinar in the community. And yes, you heard that correctly. This webinar is being recorded and will be posted to the community. You will get an email after the event with the recording and then we'll share everything from today, the slide deck, the recording, the FAQ doc with all your questions and answers from on the community webinars page. We actually have linked it at the top there. So, if you check out that link in the chat, you can see the previously recorded webinars. There's some other goodies in there, too, for you to look at. Uh, this is an interactive webinar, so please post your questions in the chat. We have folks that can help answer them, and we will get to them in the end of today's discussion. Okay, a few things from community before we get into the meat of the subject. The community is built for you. You probably already know this. This is your space to get the information you need for your enablement. Ask questions, solve answers together, connect, network, read articles, read guides. It's and a great place to start here is with John Stoner's new to Google sec blog series.
These are deep dives, practical training guides that break down technical operations into easy to follow instructional tutorials. They're designed to help you achieve the outcomes you're looking for. I highly suggest you go in there and go into the community, search the blog, search nuda, Google sec ops. It will give you a list and a library of all of his content. Another great resource in our is our library of adoption guides. These are a little more advanced instructional step-by-step blueprints, but they're designed to help you achieve specific workflows. Another great tool to add to your toolbox. We have a great lineup of webinars and workshops for you. you probably already know because you're here. But over the next few months, we have some exciting webinars and workshops. Check it out in the community. Sign up for the ones that are interest that interest you. I highly suggest signing up for all of them. Even if you can't attend once you've registered, you will get the recording at the end of every webinar and workshop. So, check it out.
We also have a new section in the community. You may have seen it already. It's called the weekly brief. This is going to be your resource for what's new from the previous week on everything related to Google Cloud Security and weekly tips on how you can get more out of your tools and the threat intelligence we're providing you. What's new in Google Secops? This is a high highlight reel of what's new in our Secops toolkits as well as other Google security products. Compliments of Chris Martin, Robert Parker, our Google threat intel specialist. He adds tips on how to leverage Google threats intel in the Google TI Monday section. And David Noda is posting his best practice tips for secops every Tuesday. Check out these use useful tips and sections. You can go in now and subscribe. So if you subscribe every time you uh every time
we post a new post, you will get something in your inbox. There's an exciting event I want to share with you to come check it out. This is an opportunity to get deep technical secops en enablement inperson. It's a three-day event in San Diego, hands-on labs, CTS, the works. You'll walk out of this event and expert in secops. Just go to our events page and click on the link secops symposium and then register for this event. There are limited seats and I think they're going pretty fast. So, you might you'll want to check this out if you're local to San Diego, California. All right. And with that, oh wait, one more thing. My apologies. User groups, you've heard me say before, it's a great opportunity to come meet in person. We have two user groups uh in Europe right now that are happening in September and October. If you're in London, if you're in Paris, come sign up for these events.
Just go click on the user group section in the community and you'll and you'll access our user group platform. Click the specific one that's located near you and you and sign up right away. you'll get you'll get access to a great agenda and a great meeting. If you don't have one in your in your region that's available for you today or coming soon, sign up for a chapter that's in your area and when we do host an event, you'll get alerted on the next one coming your way. So, a great opportunity for you to connect with people in person in real life solutions in real life problems. Um, especially with this AI world, it's be it's really important for us to meet in human and have that human connection.
Okay, with that, let's dive into the
main feature today. I'd like to welcome our guest presenter. You may have seen him in the community, writing guides, answering posts. Tal, thanks for joining us today. >> Hey, great to be here. Thanks for having me. >> Yeah, really excited about today's conversation. Um, so for those folks that may not know what we're talking about, what what is it that we're specifically going to discuss, what what should we be focusing on and and why is this so important? >> Absolutely. So applying abstraction in very simply put is what we're going to be talking about and the purpose of it is to save ourselves both our time and as well eventually token costs. um if you don't apply proper abstraction, you create a mess in the background and cleaning up that mess and maintaining that mess becomes a huge headache if you don't architect for success to begin with. So, we'll be talking about a little bit about how to architect for success as well as showing a sample of what a modular block might look like as well as the addition of AI to that block.
>> Great. Okay. Well, let's turn it over to you and go ahead and get started. >> Absolutely. All right. Welcome everyone. My name is Tal Resnikov. I'm one of the uh engineers on our deployment and integration team for customer success. Some of you have may may have worked with me and if you would like to work with me uh talk to your sales team. They know how to get access to me.
So a little bit about myself. Um I am uh
an engineer with about eight years of experience now. Um started in the MSSP world. So I've been a partner um to many many organizations helping them install their SIM and sore environments. Um and when I'm not doing that I ride motorcycles. So, um, that's just a quick little blurb about myself. So, a quick agenda. We'll be talking about the current state and the way that other people do, um, some of their scripting and automation. We'll talk about how we build our blueprint. The centaur model is a concept around how we'll be using AI. Um, blocks versus playbooks and the abstraction of uh, the those mechanisms. Um, abstraction via priorities. So, you can do a little bit further abstraction with how you build your playbooks. We'll talk about some best practices. We'll build a a small block together. We'll introduce the triage and investigation agent. We'll talk about error handling, any problems that you might run into in the playbook.
And then we will show a quick demo and have some time for Q&A at the end. Um, if you do have questions as you go, please throw them into the chat. I may not get to them immediately, but I promise I'll be answering them as best as I can. And as Matt mentioned, we'll have an FAQ at the end as well. So we'll be able to send that out for anybody to review. So before we start, um it would be beneficial to log into your own environment so that you can follow along when I get to the building portion. Um I mentioned this at the beginning just in case it takes you a second to get in there. Um but I'm going to go ahead and continue presenting and when we get to the building portion, um it'll be obvious.
So what is our current state? What is the problem? The problem is that we build a playbook and then we add a little bit more to it and then we add a little bit more to it and then we add another playbook. We add some more to that one and we do it over and over and over. And a lot of times we'll find the first five, maybe six, seven steps in a playbook are going to be the same. They're based on triage. They're based on enrichment. They're based on kind of a couple specific things to your organization that are going to be repeated each time. That means if something changes to one of those processes or if an API key changes or if
some other breaking change occurs, you're going to have several places that you have to go update things. You might potentially have to rearchitect the logic of certain uh flows. It's going to be particularly difficult because of the way that you've set things up for short-term wins. So that's where that monolithic playbook has its uh cons. It
doesn't handle long-term maintenance in
a efficient way. And if we think about how AI and MCP affect our systems, the
ability to modularize pieces of your workflow allows you to only need to process pieces of your workflow when you're talking to AI. So it decreases your token utilization. So rule number one, this is the basic foundation for anytime I'm building any kind of use case in sec ops. I don't touch sore or sim at all until I'm done designing and defining my use case. Now what is a use case? A use case is an endtoend set of instructions for how do I collect
the logs, parse them, normalize them, detect on them, and then respond and then provide feedback. I consider all of that the use case, the entire endto-end flow from when the event is created by the originating system all the way through to when our security engineer is completely okay with closing the incident and saying that this is resolved all the way through including the feedback mechanism at the end. And that's something I'll mention several times is that feedback is highly important. So my best practice is to always create this use case design document first. Now obviously I'm using AI a lot to be able to do this. I ask all the right questions. I make sure that I have the right tools available. I make sure that I have the right data available. I make sure that I have all of the API integrations and the change management handled. I might need to request permission from a system administrator to be able to make changes in their system. Well, that change management has to occur before my use case can be deployed. So, all of these pieces, we don't really think of them as technical, but I include them in my use case design document because they will be important for the reliability of our workflow. our technical design won't be reliable unless all of those little pieces fall into place. So, I try to map all of that out ahead of time. And again, I use AI to my advantage. If I have a detection rule and I don't I know I don't have a workflow to answer to it, I might have AI explain the detection logic to me as well as the abstract concept of how to start handling this in a playbook. Now, of course, I will then go to my specialists or my analysts or my incident responders and I will have them give me input about what I'm getting wrong. That might be you yourself, but that also might be a separate team. So, again, I try to make sure that all of those stakeholders are available and all of the data is available as we build our design. So, what is the centaur model?
This is something that I did not make up. Um, it came from uh other AI players. Um, but basically it's the humans on in charge. The human is the head and the AI is the body. It's what carries us further and faster than we were able to before. And the AI can mean so many different things nowadays. Some of us are using MCP. Some of us are using the built-in Gemini. It really depends on how your workflow works. So we focus entirely on making sure that the things that automation is already good at, it continues to be good at. We don't need to reinvent anything in order to do a deterministic process. That's where our human decision-making process has already been translated. We've already translated our existing algorithm into a deterministic process.
But now we can add non-determinism to it. We can add the AI element and we can do it in so many different ways. So I just like to think of it as a centaur just helps keep in my mind this idea that the human's in charge and that the AI is absolutely accelerating our ability to accomplish things.
So, foundational blocks. What is a foundational block? We're going to we're going to go over some of the basics here. So, playbooks are triggered based off of those playbook triggers that you guys have seen. Playbook triggers are not always necessary in order to run a flow. Blocks are able to be triggered by several different things, including playbooks. Uh, a user can also attach a block directly, but all a block really is, if you're familiar with software engineering, is a function. It is a
reusable piece of playbook logic and you
can use it in several playbooks. And that's the main concept of abstraction with blocks that I want to talk about is that if you have pieces that you're going to be repeating over and over and over in many places, you want to zoom out a little bit and see that you're going to be doing that and then make a block for multiple use cases. abstract
out from the specific use case that you're thinking about and think about how can I make this block repeatable? How can I make it less specific to the one use case and allow it to be used across many use cases. Again, this improves our ability to maintain these workflows in the future because if something changes across that repeatable workflow, you only have to change it in one place. You won't have to change it in several places.
The second way that I do abstraction in our tool is by using playbook priorities. Now, I won't be demonstrating this in the tool later. So, this is something to really pay attention to. Now, um priorities are how I ensure that we don't use our AI unnecessarily. This is how I currently use it. Now, I'm not saying this is the only way to use it, but this is this is one of the best practices I've found in order to increase my reliability of the entire platform. So priority one is our paved path. It's our deterministic event-specific existing end-to-end um requirements. These are
the specific events that you guys have already handled as an incident before. You know exactly where the process is supposed to end. You know exactly what kind of remediation to do. You know for sure that your true positive and your false positive paths are reliable and you're completely comfortable letting that run and letting those cases get closed. And that's the end state that we want to be in with everything. if if in a in an ideal world, but these are just the ones that we've actually successfully accomplished. Now, priority two is where I put my slightly more abstract concepts, something that might be based on a specific tool, for example, but not a specific event. So if
a tool has a couple specific fields that I know are unique to that tool, I might create a tool specific priority 2 playbook that will pull out those fields and allow the um automation to be able to uh read those fields and use those fields for further inference. Priority three is where I put my catchall playbooks. Now it's not necessarily going to be just one playbook, but generally I start with just one catchall playbook. And that playbook will absolutely not know what it's looking at. It has an event of some kind or a case of some kind. And that case will necessarily be some kind of potential problem. So how do we rely on an unknown? That's that's the big question. How does a security team rely on an unknown problem? We don't know what problems in front of us.
So that's where we use AI. That's where I think AI is most powerful. It creates a additional element of data for the
analyst to use. It also once we get to a certain level of reliability with our AI outputs, we can also start to make take actions based off of those outputs. Um, but again, I will show you how to step through and make sure that you are learning the reliability and improving the reliability as you go.
So short circuiting is another best practice. This is uh a specific skill that allows your playbooks to terminate faster. Um it's something that I've always recommended. If you have any kind of branches, any branching logic that allows you to immediately close a case or immediately escalate a case and get it to the right source, get it to the right resource immediately. Do that. Do that first. So, one of the things that I'll do um in our uh example here is we're going to be checking domains um in order to check them against uh our triage and investigation agent as well as um virus total. In order to save us a
couple steps first, I'm going to check to see if they're in an allowed list. We have an allowed list of domains. We can check to see if every domain that's part of the case is in the allowed list. Then we don't actually need to investigate any further. Everything's already been allowed. We can close it. Um, this is also useful for example with VIP users or with authorized scanners or known domain controllers, whatever it might be. If the issue would have been resolved by a human analyst knowing, oh, that's actually an exception. It's it's a specific case where that's actually expected behavior. Well, go ahead and include that at the beginning of the workflow. Close out that workflow quickly so that your system can focus on the next problem. That problem's not a real problem. We've already identified that it's not. So we can go ahead and close it. And again, this allows us to do resource control with our AI. We can make a point not to point AI at known good activity. Why would we want to analyze that? That's a waste of tokens.
So this is where we start building and
we need to make sure that we build our foundation very strongly. And that's why again I recommend that blueprint process first. You want to design how you're going to do things and what the needed components are going to be prior to starting to build. Otherwise, building is going to get significantly harder and you're going to have to change what you're trying to build as you go. Now, sometimes that's the only way forward. If we don't have a prescription for what we're going to try to do with our uh use case design, then we might start building the playbook and edit our use case design doc as we go. In some cases, that's just how it has to be. We run into unknown issues. we run into things we have to work around. Um, so I consider the use case document a live design document and I'll even consider it an SOP once we're done. I'll consider that our paper SOP and then the playbook itself is our technical SOP. It's what the computer is going to follow and eventually it's what the AI is going to follow as well. So we'll start by creating a new block. The plus button in the top right corner. We'll name the block something descriptive. Um, in this case we'll be calling it URL triage. I'm using URL as a entity that will be easy
to work with in order to make the demo a little bit simpler. But keep in mind that mo more than likely we won't be focusing on one entity type in a uh real world use case. In a real world use case, we'll probably want to handle all entity types in one block. [snorts] So, we'll add a description. And I often include my name in descriptions. This isn't required obviously, but I I keep it there so that the next engineer can come bother me if they can't figure out what I did. Um, it also creates a little bit of accountability for me so that I don't leave playbooks in the system that might not be completed. Um, and I'll let leave that in the in the notes if if they aren't completed.
So, our next step is going to be to add an action. Um, our URLs might have all sorts of extra noise at the end of them. They're not going to match string match against our custom lists. So, first we're going to extract our domain. Thankfully, we have an action for this. It's in our tools powerup. So, we're going to go grab that action, extract URL domain, and we're going to place it as our first step in this block.
We're going to then configure it to point to the URL uh entities. Now, it can run on all entities. If you actually look at the description of this action, um it very clearly states that this will run across all entities. And if an entity has a domain, it will add add a domain. if it doesn't have a domain, it just won't add one. Now, I'm pointing it specifically at all URLs because it'll save us time. This is another one of those quick little efficiency things. Um, our sore in the back end is Python. All of these checks are doing a Python algorithmic check. Does this string match this string? Does this entity have
this attribute, etc.? So in order to save computational time, I will pair down what I'm actually looking at um and giving to the system to process as much as possible as I go. And I do that each step of the way. This is just a built-in efficiency, a built-in tuning mechanism. So I'll separate out all URLs as the entities that I'm looking at. And then I'll use the entity.identifier placeholder in order to grab each individual URL and create a comma-epparated list out of them for extract URL domains to then pull from.
And in this specific instance, I've chosen not to extract subdomains again for just ease of the uh demo. However, you may want to take a closer look at whether or not you want to look at the subdomains and uh research those as well. Again, this is a this is a simple demo. So, um keep in mind this would need to be expanded for production use. Our next step is going to be to add the action for is string in custom list. And what we'll be checking is just to see do we have that entity result doommain um from the JSON result is that domain in our global allowed domains category for custom lists. Now custom lists are in settings of soore if you haven't seen those. Um great for keeping track of VIP
users or specific servers that need to be treated as uh high criticality etc. Um obviously there are other ways to do this. The SIM is capable of making some of these determinations as well. So keep in mind there are many ways to do certain things. Um it's not necessarily going to be um best practice to do it one way versus the other. Um you'll want to look at your actual full use case design and see where that logic should live. Sometimes that logic can live in the soar. Sometimes it can live in the sim. And oftentimes one is not better than the other. It's simply faster. Um I will say sim is generally faster at uh correlation and detection and parsing and those things. And that's why we have that separate system. um for those actions.
Next, we'll be adding a condition to check to see what the result of that custom list check was. What I'm doing here is a clever little trick. I'm checking to see if the number of entities we checked matches the number of entities that were found. If they match, then we're good. All entities were part of the domains that we consider allowed. We're good to go. we can go ahead and close the alert, mark it as a false positive, and move on with our day. Our false branch, however, is going to mean that we are not done. We have at least one URL in there that has a domain that we have not allowed. So, we're going to investigate it. We're going to check to see why that happened. Um, and we're going to ask virus total for that information. So on the false positive branch, we're just going to throw it in false positive and set the output to false and give the play give the um workstream back to whatever fired the block. So if it was a playbook that ran the block, then the playbook will take back over. It'll see that false output and you can add tagging and you can add more uh case closure or feedback mechanisms in that playbook. Um but that allows you to let this block be universal. It allows it to run in multiple playbooks because now we're not focusing on oh we need to update the name of the case or we need to update um who the owner of the case is. We might not know that for the specific case in the block but we'll know it in the playbook. So we're good to go. The block doesn't need to have that information.
That's what we mean by abstraction. The block is abstracted away from the specific use case by not having those actions. Sometimes those actions don't need to be in there um in order to make that more reusable. On the true branch, we're going to add another action for enrich URL. And enrich URL, we're going to set the engine threshold to five. I'm leaving all the other parameters as uh uh as they come. Um again, just for the ease of the demo. Remember, your risk tolerance will change all of these parameters. Separately, Google threat intelligence is going to have an even more robust system for pulling out information. So keep in mind your GTI integrations are going to be more effective than the virus total integrations of u of of uh the past. Um again using virus total because it's pretty straightforward and we're all familiar with it.
So next we're going to evaluate the virus total result.
So in the virus total result we've got our is risky is true. Now this is due to us setting that five uh that threshold of five in the previous slide. The reason I use a threshold of five is because sometimes some engines will find that there's a potential malicious or risky behavior. Um, and it's not necessarily true. Um, it's just that that specific uh resource, that specific engine found that there was some kind of issue. Um, oftentimes I'll find completely fine uh uh responses from
other tools, but one engine or two engines or maybe even three engines might throw an erroneous this is malicious. So, I usually set my engine threshold to five, but that's a personal preference. That's actually not a best practice. Um, it just gives me a little bit more of that um certainty. If it does fire off of more than five, saying that this is malicious, then I am certain I definitely need to come look at this. I can't just close it out myself or close it out automatically. So here we'll add the tag malicious and then we'll set the output to true so that again the playbook can take back over and handle remediation or if a user attached this they can go look at that output see that it says true malicious and they can continue doing their research.
Now here's a question. What if Virus Total hasn't seen this entity before? Or what if uh you're not getting a response on the entity or it's an internal entity even? Um what would you do? You can't get a response on an external uh resource from an internal or uh from an internal resource on an external system. That's not going to happen. So, what do we do? Introducing our triage and investigation agent. This is one of our newer features in the tool. Um it's fantastic if set up
correctly. And I will caveat that with if set up correctly. One of the things to note about our triage and investigation agent, it is currently dedicated to our SIM alerts and detections. If you receive an alert or a detection, you can set up your settings to be able to trigger the triage and investigation agent just based off of a specific field in the alert. That's one way. That's in settings. The second way, and the one that we're going to be talking about today, is adding the TINA to your playbook workflows and specifically to this triage block.
instead of doing a static reput reputation check which we have always been doing and we'll have available to us still through the Tina. Tina does check reputations and everything else but it also allows the TINA to do a full global check against of our resources that we have and check the available uh
detection logic as well as any fields that were passed over from the detection. Using playbooks allows us to use those playbook triggers as our logic for when to run the Tina. We've got the triage and investigation agent settings. Those have limited logic. They have some for sure and you can choose which which uh cases will receive that triage and investigation agent action. But in my mind, it is easier to use the logic and playbooks if you want to be very very granular with when it gets applied. So instead of running it immediately as the first step in the triage and investigation agent or in the in the triage playbook rather, um I'm running the same flow I was already running where I had my extraction of domains to check to see if they're in our allowed domains first because I don't need to run Tina if it's in our allowed domains.
So what are our uh lessons learned?
Our true positive from TINA is going to let us know that we need to escalate. Our false positive doesn't necessarily mean we can close it actually because remember this is a non-deterministic flow. We actually need to create a feedback loop. So that's one of the things that I mentioned earlier is that I'm going to be mentioning feedback loops. Feedback loops are how you improve your system on a continuous basis. If every time the triage and
investigation agent runs, you then just
use that information to close her to close the alert, either false positive or true positive, meaning remediation or not. Either way, the next time that that alert comes by, you're going to trigger Tina again. We don't want to necessarily do that. Instead, what I'll do is I'll create that feedback loop. I'll include
the flow and I'll always flag improvements to the flow as part of my automation. That's one of those ways where we can stay ahead of things if we also let our automation work for us. So
injecting that feedback block specifically for false positive tags might allow us to create better efficiency downstream. Maybe this is a false positive because we could have updated our detection logic. Maybe this is a false positive because we're collecting logs that are erroneous or aren't actually allowing us to uh get the answers that we need. Regardless, we're able to create these efficiencies by creating these feedback loops. So again, feedback loops are highly highly important. It's how we improve our automation and make sure that it's acting as efficiently as possible. Then the last step is error handling. Our tool includes several built-in error handling concepts as well as the ability to just check to see if things have failed with conditional statements. I often will include the uh skip
step option when I am configuring my
actions. So that settings um you can see
it's a little bit small here but when I when I pull up my actions I switch over to settings and I'll double check the if step fails parameter and usually I do skip step but then I'll include a condition afterwards that asks hey did this run and almost always there's a very simple field either in the JSON response or in the script response that will tell me the success or failure of that action and then I can make decisions in the conditional logic based off of that. Sometimes that might mean I will check a different system. I might ask the question of a of a different source. In other cases that might mean I need to submit a ticket uh to somebody.
Maybe uh a firewall didn't take a change that I sent over to it and I need to inform that system administrator that they need to go make that change manually. Just as an example. So again,
error handling allows us to create that certainty, that reliability of our of of our process. And it allows us to be able to trust that the outcomes that we're building, the outcomes that the automation is giving us are legitimate and are reliable. The other options that exist within our actions um allows you to also stop the
playbook. So, if something breaking is something that you want to have eyes on immediately, that's when I would say that you should stop the playbook. That way, the playbook stops, it throws a little red um uh error message into your UI, and then you can go and check and see in the UI, oh, this playbook failed. I need to go look at it and see why. Um, but in other cases, I need the playbook to continue running. I need I need that the rest of the playbook to finish. So, I'll have it skip that step and I'll just have a conditional statement in there to check if it failed and I'll either send a message to somebody or I'll leave a comment or I'll uh assign a task. There's a lot of options. Um but again, that error handling step is also very very important.
So, that um concludes our uh slide deck
presentation. Um and I will transition over to presenting my screen.
All
right. So, we'll be starting by doing pretty much the same thing that we discussed in our um slide deck. So, we'll start by pressing the plus button here. And that'll open up this uh dialogue here. This is our very simple
dialogue box for creating a playbook. And the only really important piece here is that we select the correct environment. In this case, I'm going to use our default environment. I will be cleaning this up at the end and I will show you how to clean this up so that you can delete whatever you created as well. Um, or conversely, you can also just add your own tools to it fully, uh,
include all of your specific integrations and then make it production if you need to. So, I'll go ahead and create my new block, and it'll pop up exactly like this. Now, optionally, I have the ability to create an input parameter. I'll create an input parameter if I need to be able to pass a string into the block. In this case, we're going to be working with entities, so that's actually not necessary, but you may find it necessary to include a string parameter so that sometimes a user can input a URL as a string and then that can be processed into an entity. So again, if you're doing that, your first step is just going to be create entity out of those inputs. Um, in our case, we're going to be extracting our uh domains. So I'm going to type in the word domain here.
And in tools, you'll see I've got this extract URL domain. So that's going to be my first step. I'm going to punch that in there. And for my URLs,
it's going to be pretty straightforward. I'm going to grab all URLs for my entities. My separator is going to stay a comma. Keep in mind, our system automatically commaepparates
um automatically commaepparates any placeholders that you use that have more than one result. So I'm going to use the entity.identifier identifier placeholder. And you can see here I'm typing it in manually. That is perfectly selectable uh or uh
allowable rather. Um you can type it in yourself and click outside. If you hit save and click back into it, you'll be able to see if it identified it as a placeholder. You can see it's now in blue. Now, something that you can note about our placeholder builder, if you need to escape the square brackets um for any reason, just make sure that what's between the square brackets doesn't match any existing placeholders. If it does not find a match to a placeholder at all, it will respond with just the placeholder itself as a string. So, you don't actually need to escape those square brackets. Um the other option of course is to click our entity builder or uh our um placeholder builder, go to our entity dropdown and find entity.identifier. You can see here we've actually got quite a bit of entity fields available. Um so I'll just go ahead and look for it. We've got a search box here for a reason. And this allows me to ensure that I grab the exact identifier. But you can see here they are exactly the same. So I'll go ahead and delete one.
Our [snorts] next step is going to be our enriched URL action or no sorry we're going to be checking our custom list first. So I'll do our custom list check. So in our lists powerup we'll have is string in custom list. So, that's going to be my next step. And I'll go ahead and set my identifier list. And I'll use my playbook drop down here. And I'll want the JSON result, but I'll actually want to go even further. I want the actual domains themselves.
I had a permission error. Um, so we've got our entity, we've got our entity result. I'll just select my domain and it'll create my JSON expression down
here.
That JSON expression is then going to be inserted when I click insert so that we get a commaepparated list of the domains that are in the response from the previous action. Then I'm going to change my category to my global allowed domains. Now, keep in mind these categories are handtyped. Um, so you need to match it exactly to what you've labeled your categories in your settings. Keep in mind that that syntax has to be identical.
Our next step is going to be our conditional statement.
And in this case, we don't care which branch is going to be the existing branch because we're we don't have any uh further logic yet.
So, I'll go ahead and take a look at our condition statement.
Not sure why I'm getting that error right now. This is a demo environment, so it might be related. Um, what we'll use is our output from the previous
action, our number of found results, and we're going to check to see if it is equal to [clears throat] not letting me select that right now. One second.
This is what happens when we demo things. Cool. One moment, please.
You never know what the demo gods will provide. >> Indeed.
All right. So,
now the system is not playing ball with me. All right. I'm going to have to demonstrate an existing playbook as opposed to one that we built together, unfortunately. Um, but I do have one prepared.
No, Brian. Unfortunately, I didn't do my offering. So, this must be the problem.
All right, let me share this screen instead. This is what people are here for anyway.
All right, so this is a Gemini response playbook. Um, reason I've pulled this up is because the end result of that playbook was going to be to add TINA um and include the triage and investigation agent response as our one of our conditional checks. So
to install the triage and investigation agent into our playbook, it's actually really straightforward. What we're going to do is we're going to do our AI agents drop down here and we're just going to drag and drop it like any other action. Once it's drag and dropped, it's actually pretty straightforward to double check. Um, it doesn't have that many configuration settings. Really just the what to do if something goes wrong. Um, and the sample output here is here for you to be able to then build your um, conditional statements and everything else based off of this output. Um, so let's take a look at the sample output and we'll be able to better understand why this triage and investigation agent is so powerful. It gives us several pieces of logic that or
rather uh data points that we can use to logically move fo





