Coder Social home page Coder Social logo

playbooks's Introduction

Community Playbooks

This is the 6.2 branch of the Splunk SOAR Community Playbooks repository, which contains the default initial playbooks and custom functions for each Splunk SOAR instance. Splunk SOAR was previously known as Phantom. If you are using an older version of Splunk SOAR (or Phantom) then your instance will synchronize with an older branch of this repository such as 5.4 or 4.10

The Splunk SOAR platform automatically links to the branch of this repository that matches the running Splunk SOAR version. By default this repository is named community, which can be selected as the Repo filter to only display these playbooks and custom functions. You can update your content with the Update from source control button on the playbook listing page.

playbooks's People

Contributors

atif-phantom avatar davisshannon avatar dfederschmidt avatar dumardrake avatar ericli-splunk avatar govind-phantom avatar hl-tstrawbridge avatar josehelps avatar kelby-shelton avatar ljstella avatar mislavreversinglabs avatar p4t12ick avatar philroyer-phantom avatar pranav-phantom avatar ryanlrussell avatar ryanmeans-phantom avatar soumenchakraborty-endace avatar sourabhsatish avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

playbooks's Issues

咨询一下,谢谢

Good Job
在微信上看到你们的分享:
screenshot_20160425-180728-779

问几个问题哈,
Playbooks和ansible的playbook是一个吗?
Playbook的编排是针对主机的吗?
Playbook具体的执行是通过什么方式进行的?SSH到主机进行操作吗?
谢谢。

Case sensitivity issue with indicator_tag function

If you have two indicators with different cases (e.g., indicator1 and InDiCaToR1, and you call the indicator_tag function with the name of the indicator (as opposed to the ID), it fails.

This is because, when it is searching for the indicator to tag, it is using the case insensitive filter parameter _filter_value__iexact, which returns both indicators (they are stored case-sensitive in SOAR), and the custom function exits with an error if there is more than one indicator found. If you change it to _filter_value__exact then it will find just the one indicator and tag it.

IMO the function should either be fully case-insensitive, and tag all indicators that match a case-insensitive search, or be fully case-sensitive, and only tag the indicator that matches a case-sensitive search. Given that SOAR stores indicators in a case-sensitive manner, it makes sense to me to do the latter.

regex_filter_list Issue

I think I may have found a bug with the regex_filter_list custom function. I'm running Soar 5.4.0.x.
The action variable for this function is set to be a list. Creating my own version of that CF in SOAR and changing the data type to an item, for the action variable, seems to solve the problem.
Otherwise the community version of that gives this error:

CustomFunctionRun with id=69821 FAILED: The custom function run is being marked failed because all of its constituent results failed
Error: Encountered an unhandled exception in custom function "regex_filter_list" for the parameter dictionary at index=0: {'action': ['drop'], 'input_list': ['10.0.1.1', '10.90.0.1'], 'regex': '\b(?!10\.|192\.168\.|172\.(?:1[6-9]|2[0-9]|3[01])\.)(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}\b'}
Traceback (most recent call last):
File "regex_filter_list", line 73, in cfentry
File "lib3/phantom/decided/playbook_resource_score.py/playbook_resource_score.py", line 126, in _wrapper
File "lib3/phantom/decided/playbook_resource_score.py/playbook_resource_score.py", line 123, in _wrapper
File "regex_filter_list", line 25, in regex_filter_list
AttributeError: 'list' object has no attribute 'lower'

collect_by_cef_type issue

I see there was a rework on this custom function back in march. I think there is an issue w/ the change.

At this time :Input is cef types, all, no tags, current container.

if trying to use the values ouput field, it returns many duplicate values. Manual inspection of the artifacts show that there were only 2 items to be found. But the returned values are those two items repeated many many times. Havent dug that far in yet, but that's definitely seems like improper behavior. If I get some more time, I'll try to debug as well.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.