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

Provide man page for pki kra-audit #1997

Closed
pki-bot opened this issue Oct 3, 2020 · 3 comments
Closed

Provide man page for pki kra-audit #1997

pki-bot opened this issue Oct 3, 2020 · 3 comments
Milestone

Comments

@pki-bot
Copy link

pki-bot commented Oct 3, 2020

This issue was migrated from Pagure Issue #1437. Originally filed by mharmsen (@mharmsen) on 2015-06-22 18:25:41:


There is no man page for pki kra-audit command line.

Example: when i run kra-audit-mod i get the error No user principal provided

pki -d /opt/rhqa_pki/certs_db/ -u kra3admin -w Secret123 -h pki2.example.org -p
30490 kra-audit-mod --action enable

ForbiddenException: No user principal provided.

What does user principal mean here ?

Steps to Reproduce:

1.Install/Configure CA
2.Install/Configure KRA
3.man pki kra-audit

Actual results:

No Man page

Expected results:

Require man page for pki kra-audit
@pki-bot pki-bot added this to the 10.2.6 milestone Oct 3, 2020
@pki-bot pki-bot closed this as completed Oct 3, 2020
@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from edewata (@edewata) at 2015-06-30 17:27:39

The audit command was originally added to TPS (pki tps-audit) and it's fully functional. The man page will be added soon.

Ideally other subsystems should provide the same audit command and currently the CLI and REST service for audit have already been added to those subsystems too. However, currently it doesn't work because it's still missing the ACL in the database (hence the "No user principal provided" error message). Since database upgrade framework (710) is not implemented yet, the ACL cannot be added automatically to existing non-TPS instances.

Possible short term solutions:

  • Option 1: Ask admins to add the ACL to existing non-TPS subsystems manually.
  • Option 2: Remove the audit command from non-TPS subsystems until 710 is implemented.

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from edewata (@edewata) at 2015-07-18 16:36:09

Fixed in master:

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from mharmsen (@mharmsen) at 2017-02-27 14:11:26

Metadata Update from @mharmsen:

  • Issue assigned to edewata
  • Issue set to the milestone: 10.2.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant