ovalproject / test-content Goto Github PK
View Code? Open in Web Editor NEWA set of OVAL Definitions that provides a simple way to test the capability of OVAL Definition Evaluators.
A set of OVAL Definitions that provides a simple way to test the capability of OVAL Definition Evaluators.
We should update the user and group test content to use case-insensitive operations since we recommend it in the schema documentation associated with those tests.
An incorrect state is used with test oval:org.mitre.oval.test:tst:1876 in the unix-def:file_test content for solaris. The test is incorrectly comparing /etc/profile to /bin/ls.
We need to add test cases to the registry-based test content to ensure that it can properly support registry keys containing special characters. Please see the following oval-developer-list post for more information.
Test oval:org.mitre.oval.test:tst:1087 (in Windows oval-def_time_difference_function.xml) compares object oval:org.mitre.oval.test:obj:405 to state oval:org.mitre.oval.test:ste:96.
Object oval:org.mitre.oval.test:obj:405 is the difference between the dates February 2, 2004 and April 4, 2009. That is 1884 days (including 2 leap days!), or 162777600 seconds. However, oval:org.mitre.oval.test:ste:96 is defined as 162774000 seconds, which is one hour short.
Therefore, this test should evaluate to false, or more likely the state value should be changed to 162777600.
There are also issues with oval:org.mitre.oval.test:tst:427 and oval:org.mitre.oval.test:tst:1066. Both of these tests measure the time difference between Jan 1, 1975 and May 5, 1975, which is 120 days, or 10368000 secs. Yet both states (oval:org.mitre.oval.test:ste:783 and oval:org.mitre.oval.test:ste:536 -- by the way, why are there two different states representing the same result?) are set to 10364400. Again, one hour short.
I am pretty much certain that there are analogous problems with the time difference test XML documents for Linux, Solaris and Mac OS X, because the automated jOVAL time_difference tests are failing for those platforms as well!
Note that both of these time spans involve changes from winter to spring, and both are one hour short. I believe the culprit is an unintentional use of daylight savings time in ovaldi's time_difference computation.
Can someone please provide me an oval test content to validate the registry hive HKEY_CURRENT_USER_LOCAL_SETTINGS
Thanks in advance
There have been multiple requests to develop test content that exercises the windows_view test content. Test content was added for the windows_view behavior in the win-def:file_test and the win-def:registry_test in a previous revision. It would be good to extend the content to other file-based tests.
We should add test cases that check for proper handling of dwords. Right now, we should add test cases for the win-def:registry_test/win-def:value and the win-def:passwordpolicy/win-def:max_passwd_age entities. At some point, we should add test cases wherever else it is applicable in the test content.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.