Pass cookie information to NetBoxFakeRequest for use in custom scripts #5576

Closed
opened 2025-12-29 19:29:40 +01:00 by adam · 2 comments
Owner

Originally created by @cybarox on GitHub (Oct 28, 2021).

NetBox version

v3.0.8

Feature type

Data model extension

Proposed functionality

extend the kwargs on NetBoxFakeRequest by cookie data, so cookie values can be accessed via custom scripts.

Use case

I want to use the session_key value data of netbox_secretstore from the cookie to decrypt secrets for router configuration creation via custom scripts.

Database changes

none

External dependencies

none

Originally created by @cybarox on GitHub (Oct 28, 2021). ### NetBox version v3.0.8 ### Feature type Data model extension ### Proposed functionality extend the kwargs on NetBoxFakeRequest by cookie data, so cookie values can be accessed via custom scripts. ### Use case I want to use the session_key value data of netbox_secretstore from the cookie to decrypt secrets for router configuration creation via custom scripts. ### Database changes none ### External dependencies none
adam added the type: featurestatus: needs ownerpending closure labels 2025-12-29 19:29:40 +01:00
adam closed this issue 2025-12-29 19:29:41 +01:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 11, 2022):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Jan 11, 2022): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Author
Owner

@github-actions[bot] commented on GitHub (Feb 10, 2022):

This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.

@github-actions[bot] commented on GitHub (Feb 10, 2022): This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5576