GithubHelp home page GithubHelp logo

Comments (5)

traut avatar traut commented on June 18, 2024

@nickwallen default SQL backend does not support any clean-up procedures at the moment.

What would be your requirements here?

from opentaxii.

nickwallen avatar nickwallen commented on June 18, 2024

I am looking at integrating OpenTAXII as a source of threat intel data for the default deployment of Apache Metron. In most cases, I envision Metron users leveraging their own existing aggregator platform that would be used instead. Although if none exists, I am hoping that OpenTAXII can fill that role.

I have some logic that will likely be added to Metron that deploys OpenTAXII and can sync with some external 3rd party feeds. If I setup a mechanism that continually syncs external threat intel feeds, I need to ensure that the data store size doesn't grow without bound. That's what I need.

from opentaxii.

code040 avatar code040 commented on June 18, 2024

Are you planning of running this using the SQLite database? Then all you can do is implement a cleanup routine inside the persistence layer (and possible in the manager), which runs periodically any cleanup task. As @traut mentioned, this is currently not the case.

from opentaxii.

traut avatar traut commented on June 18, 2024

@nickwallen another option would be to implement another OpenTAXII CLI command to clean-up DB. Something as simple as "delete content blocks older than X in collections A and B". Host admin can use this inside scheduled cron jobs // @code040

from opentaxii.

nickwallen avatar nickwallen commented on June 18, 2024

Yes, I like that idea. Ideally, it would work the same no matter what persistence API (sqlite, mysql, etc) is used.

from opentaxii.

Related Issues (20)

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.