-
Notifications
You must be signed in to change notification settings - Fork 19
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
Temporality - time args #347
Comments
OK, I see the point being made, and by the way I am NOT agreeing or disagreeing with the notion of periodic at this point, but a couple of things to consider: Good topic, looking forward to the discussion |
Good points Joe. I was mainly focusing on point 3. I guess we could solve many of our issues if we had a "sophisticated" orchestrator but this is not the scope of our work. granular temporality for fw rules would be beneficial. The simplest example is: Dont ask me to use openc2 to respond to an incident but CLI and manual config when I'm supposed to submit a rule that provides additional security (periodic) but is not an action for an incident. Maybe I need to find better a better use case. Another simple example for EDR. In the light of CTI for an attack campaign targeting national critical infrastructure, i have some IOCs that i want to inspect if exist in my infrastructure periodically (it may be a command directly into a SIEM or EDR technology). Scan for this * periodically in the following systems. Let's wait for more concrete use cases. |
This topic just touches on time, and in particular human-centric time (in which days of week and time of day matter) and further into schedules (maintain security posture from close of business to opening of business), and tightening down on the M2M aspects of schedule. |
Ahh, and I left out the references. See the relatively abstract "WS-Calendar Platform Independent Model (PIM) for M2M schedule negotiation. It is an ASHRAE recommendation, for example, that it be built into HVAC systems. It is at the heart of communications of the smart grid. It appears that some very small devices are learning to understand it. http://docs.oasis-open.org/ws-calendar/ws-calendar-pim/v1.0/ws-calendar-pim-v1.0.html |
A reminder that 32-bit representations of Unix epoch time are kaput in 2038: https://en.wikipedia.org/wiki/Year_2038_problem While machines can easily communicate in epoch time, and convert it to/from human-readable form for HMIs, I get a clear sense from @Vasileios-Mavroeidis's and @TobyConsidine's messages that the needs are more complicated than just representing time values, so something more than epoch time seems worth incorporating into OpenC2. I don't know enough about any aspect of this to actually suggest which of a number of available time standards actually makes sense to adopt, however, so I'll have to trust to people more informed than I to make good choices. |
I believe this remains a valid issue, and one it is probably desirable to resolve for v1.1 in order to reduce the potential need for future breaking changes. |
Discussed at triage, defer to future, needs use case & proposal. |
A suggestion for more refined time args that we may consider. Temporal arguments make sense for a wide range of actuators/technologies. The current state of the time args is limited.
Currently, we support start_time, stop_time, and duration
even though they make sense to have, a different categorization would be more useful.
Suggestion:
Parent classes:
-absolute_time
-periodic_time
Absolute_time can include start_time, stop_time, duration
Periodic, it is what it sounds, and it can support the following:
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
daily
weekdays
weekend
start_time (without defined date)
stop_time (without defined date)
or duration (instead of using stop time)
After bringing this topic up to the actuator profiles subcommittee, Patrick Maroney suggested also to reference the time ontology https://www.w3.org/TR/owl-time/ for suggestions.
The text was updated successfully, but these errors were encountered: