Commit Graph

66 Commits

Author SHA1 Message Date
Lukas Vrabec
5ac5425819 Merge #4 Run tests also with real selinux and semanage modules 2019-05-15 12:44:15 +00:00
Lukas Vrabec
7206c3348a Merge #3 [WIP] Add basic sanity integration tests 2019-05-15 12:43:18 +00:00
Jan Zarsky
05d2672bde Run tests with real selinux and semanage modules
The tests are by default using mock selinux and semanage modules. Rerun
the tests with real modules.
2019-05-07 11:52:54 +02:00
Jan Zarsky
f8f4c7531f Add an option for running tests with real modules
To simplify udica testing on Fedora, add an option that allows running
the tests with real system packages (selinux and semanage).
2019-05-07 11:52:54 +02:00
Lukas Vrabec
cc9c2dc124
* Tue Apr 30 2019 Lukas Vrabec <lvrabec@redhat.com> - 0.1.5-2
- Add allow rules for container_runtime_t to base_container.cil, Podman version 1.2.0 requires new allow rules.
2019-04-30 14:12:42 +02:00
Jan Zarsky
0037a4e5ec Add basic sanity integration tests
Check that udica can create policy for both podman and docker
containers. Check that generated policy can be loaded. Check that
generated policy provides required access.
2019-04-30 09:50:17 +02:00
Lukas Vrabec
94598a163f
Add basic sanity tests 2019-04-25 14:27:33 +02:00
Lukas Vrabec
4aea2395ce
* Fri Apr 19 2019 Lukas Vrabec <lvrabec@redhat.com> - 0.1.5-1
- Create mock selinux and semanage module
- Update testing section in README
- Add travis file for Travis CI
- Grammar fixes in the udica.8 manpage file
- Support port ranges (Resolves: #16)
- Test port ranges
2019-04-19 20:43:16 +02:00
Lukas Vrabec
003b3a8115
* Mon Mar 11 2019 Lukas Vrabec <lvrabec@redhat.com> - 0.1.4-1
- Fix minor problems reported by pylint #11
- Catch FileNotFoundError when inspecting containers #12
- Create basic tests #13
- Restore working directory #14
- udica cannot use the container ID once it is provided #10
2019-03-11 13:44:57 +01:00
Lukas Vrabec
3cee827b9e
* Mon Feb 25 2019 Lukas Vrabec <lvrabec@redhat.com> - 0.1.3-4
- Update manpage with the latest known bug described in https://github.com/containers/udica/issues/8
- Add check if runtimes are installed on the system
2019-02-25 23:08:35 +01:00
Lukas Vrabec
d575e66328
* Sun Feb 17 2019 Lukas Vrabec <lvrabec@redhat.com> - 0.1.3-3
- Improve capability parsing for docker containers
- Update small changes in manpage, like issue with mandatory option '-c' for docker containers
- Fix parsing Mountpoints in docker inspect JSON file
2019-02-17 22:59:23 +01:00
Fedora Release Engineering
979ba3e195 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 10:40:11 +00:00
Lukas Vrabec
c30c477009
* Wed Jan 23 2019 Lukas Vrabec <lvrabec@redhat.com> - 0.1.3-1
- Fix capability allow rules when capabilities are specified in JSON file
- Add additional SELinux allow rules to base container template to allow container to read proc_type types.
2019-01-23 17:13:07 +01:00
Lukas Vrabec
47068c8c1e
* Fri Jan 04 2019 Lukas Vrabec <lvrabec@redhat.com> - 0.1.2-0
- Fix invalid syntax output when policy is using just one template
Resolves: #6
2019-01-04 00:32:08 +01:00
Lukas Vrabec
9f1da7c228
Initial import (#1640695) 2018-10-23 15:11:59 +02:00
Gwyn Ciesla
5fb5468814 Added the README 2018-10-23 13:03:15 +00:00