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

Proposal to add new constructs to AIX schema #126

Merged
merged 4 commits into from
Oct 1, 2024
Merged

Conversation

wmunyan
Copy link
Contributor

@wmunyan wmunyan commented Jun 3, 2021

A number of recommendations in CIS benchmarks deal with the collection and evaluation of AIX security parameters. This proposal adds the lssec_(test|object|state|item) constructs, allowing for the collection and evaluation of these parameter values.

This construct is based on the invocation and evaluation of the lssec command for AIX, documented HERE.

@wmunyan wmunyan added Add to Existing Schema A proposal for the addition of a new Test/Object/State to an existing OVAL schema IBM AIX Issue related to the AIX schema. labels Jun 3, 2021
…, inittab_test, useraccount_test, and nfso_test
@wmunyan
Copy link
Contributor Author

wmunyan commented Jun 10, 2021

UPDATES:

  • Renamed the lssec_test to securitystanza_test so as to not name the test after the command being executed and hopefully help be more descriptive.
  • Added new tests to aid in implementation (pretty much in line with what would be needed to implement CIS AIX benchmark):
    • deviceattribute_test: Displays attribute characteristics and possible values of attributes for devices in the system
    • inittab_test: Lists records in the /etc/inittab file.
    • useraccount_test: Displays user account attributes
    • nfso_test: Manages Network File System (NFS) tuning parameters

@wmunyan wmunyan changed the title Proposal to add lssec_test construct to AIX schema Proposal to add new constructs to AIX schema Jun 10, 2021
@solind
Copy link

solind commented Jun 22, 2021

Hi @wmunyan , the diff isn't very clean -- for example, it looks like the no_test was deleted and re-added (possibly changed?). Are your changes really limited to the new nsfo, useraccount, inittab, deviceattribute and securitystanza tests?

@wmunyan
Copy link
Contributor Author

wmunyan commented Jun 22, 2021

@solind that IS weird... Yes my changes are limited to the new tests. I didn't alter any existing stuff.

@solind
Copy link

solind commented Jun 24, 2021

Hi @wmunyan , do you have any content using these new tests? "Test" content (like, meaningless except to determine whether the check works correctly) is fine.

@wmunyan
Copy link
Contributor Author

wmunyan commented Jun 25, 2021

@solind I attached some test content to the proposal. Hopefully its correct :)

@wmunyan wmunyan requested review from johnulmer-oval and solind July 19, 2021 13:04
@wmunyan wmunyan self-assigned this Jul 19, 2021
@johnulmer-oval
Copy link
Contributor

Having read through the schema and example content, these new tests (securitystanza, deviceattribute, inittab, useraccount, and nfso) look good. I concur with the splitting the lssec approach into more targeted single use tests. This helps avoid complications and ambiguity in implementations (OVAL content authoring and SCAP processor coding).

@wmunyan
Copy link
Contributor Author

wmunyan commented Sep 13, 2021

@johnulmer-oval I just wanted to get some clarification on your comment above. You mention:

I concur with the splitting the lssec approach into more targeted single use tests

I was curious what you meant there. I had a couple of bad comments in there (cut/paste issues, admittedly) where the term lssec was used in some of the other tests, but the lssec command should only be used in the securitystanza test, and hasnt been split into multiple tests. There's just the one that maps to usage of lssec.

I could be overthinking, so if you are simply good with the proposal as-is, let me know of that and I can get it merged into the development branch.

@johnulmer-oval
Copy link
Contributor

johnulmer-oval commented Sep 13, 2021 via email

@wmunyan
Copy link
Contributor Author

wmunyan commented Sep 13, 2021

@johnulmer-oval so then just for confirmation, you're OK for us to merge this PR into the development branch?

@slarchacki22
Copy link
Contributor

Hi, I think with the need to have to change the meeting invite for the bi-weekly Area Supervisors meeting, today's meeting was very light. We plan to table the discussion on this until the next meeting. Thanks!

@vanderpol
Copy link
Member

@solind or @johnulmer-oval , just checking on the status of this PR, should it be pulled into the develop branch, and included in OVAL 5.12? Thanks!

@solind
Copy link

solind commented Sep 30, 2024

I'm pretty sure these changes were actually implemented in Joval, but someone at AWN should verify. @maxullman @A-Biggs

@maxullman
Copy link

@solind I don't think Joval has implemented them, I don't see them. Joval implemented the other AIX tests including some which this PR removes. I don't think AWN has much of an interest in AIX but I will say having worked on an AIX Benchmark the stanza test would have been nice to have compared to the convoluted tfc test we used instead.

@solind
Copy link

solind commented Oct 1, 2024

Yeah, @maxullman , it's been a while, maybe I didn't implement the object collectors. But I did pull those changes into the schema Joval used to use:
https://github.com/joval/jOVAL/blob/master/scap/schemas/oval/unofficial/aix-def-schema.xsd

@vanderpol
Copy link
Member

Given the ever dwindling usage of AIX in the wild, I feel like we are adding new tests that we are likely going to mark as deprecated in the very near future, but I'll proceed with the pull request. We dropped support for AIX 5+ years ago and have never had anyone ask for the sunset version of SCC for AIX.

@vanderpol vanderpol merged commit 2326d4d into develop Oct 1, 2024
@vanderpol vanderpol deleted the AIX-LSSEC branch October 1, 2024 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Add to Existing Schema A proposal for the addition of a new Test/Object/State to an existing OVAL schema IBM AIX Issue related to the AIX schema.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants