Story #4553
closedStory #7427: [Epic] As a user, I can audit actions taken by Pulp users
As a user, I can query for task parameter information
0%
Description
Problem¶
Plugin writers and users want to query tasks by data used as their RQ task parameters. For example, tasks that use base_version as an argument would be useful to query on later.
Solution¶
Have RQ tasks store the keyword, value pairs in a separate Table that foreign key relate to the Task model. Serialize these for the Task complete serialization.
The attribute can be called kwargs
that shows a list of <key, value> tuples.
Security¶
We should have a decorators available for plugin writers to ensure this feature doesn't leak information it shouldn't. Specifically make a decorator called no_kwargs_recording
that will disable the kwargs recording for a task.
Additionally it should take a list of kwarg names that will specifically be not recorded. For example:
no_kwargs_recording('password')
def myfunc(username, password):
pass
This example would record the 'username' key and its value, but never the 'password' key.
Updated by daviddavis about 5 years ago
- Tracker changed from Issue to Task
- % Done set to 0
Updated by bmbouter about 5 years ago
- Tracker changed from Task to Story
- Subject changed from Store task parameter information to As a user, I can query for task parameter information
- Sprint/Milestone deleted (
3.0.0)
Removing the 3.0 milestone because this would be a new feature and so it can't go into the GA since it's not already in the RC. Also converting it to a story.
Updated by daviddavis over 3 years ago
- Status changed from NEW to CLOSED - WONTFIX