Comments (3)
The sys_
prefix was added inadvertently by an upstream update to our scanning tool. The prefix will not appear going forward from 2022-08-02.
from intelmq.
Another solution if value type preservation is preferred:
Include an additional definition that extracts sys_
:
def convert_jitter_float(value: str) -> Optional[float]:
"""
Returns an float or None for empty strings.
Used to preserve float value type for jitter
field in ntp_version reports.
"""
if re.match(r'^sys_', value):
return float(value[4:]) if value else None
return float(value) if value else None
and use it:
('extra.', 'jitter', convert_jitter_float),
from intelmq.
I don't know the intent of Shadowserver changing the type/content here, but removing the prefix sys_
looks cleaner to me. Except if there will be other prefixes in the future.
@elsif2 do you know more on this?
from intelmq.
Related Issues (20)
- Twitter API changes
- BUG: Several bots have bad hardcoded default parameters HOT 1
- Use LSB configuration variant by default HOT 7
- Changing IntelMQ to Namespace Package HOT 1
- Shadowserver 0 reports downloaded HOT 3
- intelmqsetup changes the root directory ownership HOT 1
- Install in persistent mode the Stomp library in a intelMQ-Manager docker compose instance HOT 2
- (docs) finalize docs.intelmq.org HOT 5
- Shadowserver parser may fail to autodetect report type after reload HOT 2
- gethostbyname: Only returns one IPv4 address per domain, no IPv6
- Stomp Collector failed HOT 8
- Needed in the IDF (intelmq data format): severity HOT 10
- Needed for the future: SOAR output bots HOT 1
- Breaking changes in 'rt' 3.0 library
- intelmqctl and intelmqdump tests require an installed IntelMQ instance
- Regression due to Python change in urllib
- Reuse breaks in CI - upstream issue HOT 1
- Regression on parsing invalid URLs
- IntelMQ deb build on Debian 12 fails because of wrong installation path HOT 6
- Automate beta/nightly releases to PyPI
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 intelmq.