Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] download_sensor.py / find sensors even if the os is invalid #1188

Open
nesies opened this issue Jun 21, 2024 · 0 comments
Open

[BUG] download_sensor.py / find sensors even if the os is invalid #1188

nesies opened this issue Jun 21, 2024 · 0 comments
Labels
bug 🐛 Something isn't working code samples Functioning sample code to get you started

Comments

@nesies
Copy link

nesies commented Jun 21, 2024

Describe the bug
download_sensors.py find sensors to download even if the OS provided do not match

To Reproduce

$ ./download_sensor.py -o invalid-os   -v 9 -t tsv
Name                                            OS                                OS Version    Release Date                    Version
falcon-sensor-7.16.0-16903.el9.x86_64.rpm       RHEL/CentOS Stream/Oracle                  9    2024-06-11T23:09:23.885Z        7.16.16903
falcon-sensor-7.15.0-16803.el9.x86_64.rpm       RHEL/Oracle                                9    2024-05-09T22:18:56.575Z        7.15.16803
falcon-sensor-7.14.0-16703.el9.x86_64.rpm       RHEL/Oracle                                9    2024-04-17T22:38:16.904Z        7.14.16703
falcon-sensor-7.13.0-16604.el

Expected behavior
The script should find nothing and/or perhaps display "invalid OS"

Environment (please complete the following information):

  • OS: RHEL 9
  • Python: 3.9
  • FalconPy: 1.4.4
@nesies nesies added the bug 🐛 Something isn't working label Jun 21, 2024
@jshcodes jshcodes added the code samples Functioning sample code to get you started label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working code samples Functioning sample code to get you started
Projects
None yet
Development

No branches or pull requests

2 participants