Comments (3)
That's an interesting question. I'm not a big Kubernetes expert and don't know much about creating pods, so I would have to do some more research on the subject. A few thoughts based on what little I know, & some experience with Docker:
-
It sounds like what you want to do is a reasonable approach. At present, OST needs to be in the same mount namespace as the files you want to monitor, which I understand pods will do for you w/o having to package OST in the same image as your app. (You could probably scan a container from the host level by using OST with nsenter, although I have never actually tried this.)
-
In your OST image, you'll want to include the program binaries, obviously, plus your key, config, and policy files. You'll probably also want to init your OST database when your pod is in a known-good state, and either add the db to your existing image, or to a new image derived from it. The latter might be useful if your app changes periodically. Having a pre-initialized database means you're able to detect changes as soon as your pod starts.
-
If you need to keep your OST report files around after the container goes away, you'll want to set REPORTFILE in tw.cfg to a path where this can happen, like a Docker data volume or bind mount. If you don't want to do that & just need readable results, OST can be configured to send email reports and/or write scan results to syslog.
-
One interesting thing you could do here with a little scripting would be, if OST detects an unwanted change, simply restart the app's container, or maybe delete the whole pod, if you're able to do that from inside the pod.
from tripwire-open-source.
Thanks for the detailed explanation, this helps. I will surely comment here if I am stuck.
from tripwire-open-source.
Closing this issue as it's been > 90 days without any further activity.
from tripwire-open-source.
Related Issues (20)
- Filename: /usr/local/etc/tw.cfg HOT 5
- Send report by mail HOT 3
- Tripwire Install in Kubernets
- Linux Policy No file detected ...bug?? HOT 3
- Issue with ecryptfs? HOT 4
- Compilation with static libraries fails HOT 5
- Unable to run Tripwire HOT 2
- tripwire --update --accept-all fails with file not found HOT 7
- Tripwire build problem HOT 2
- Modern hash support? HOT 1
- tripwire double HOT 1
- Tripwire reporting multiple errors on system date change HOT 5
- Windows Compilation, HOT 2
- Segmentation fault on Ubuntu 20.10 HOT 25
- Unable to init in FIPS mode HOT 3
- util_SignalHandler could signpost use of RESOLVE_IDS_TO_NAMES=false
- How to filter filenames by pattern/regex
- Malformed Date header in mails depending on systems locale settings
- Thank you!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tripwire-open-source.