1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins
reverendj1 e3f02cb161
Add Support to Bitwarden Lookup for Custom Fields (#5694)
* Add Support to Bitwarden Lookup for Custom Fields

This adds support to the Bitwarden lookup for retrieving values from
custom fields, such as api keys.

* Need to Return Whole Record if Field is Not Defined

* whitespace

* Add Changelog Fragment

* Need to Make Sure All Login Fields are Represented

We need to make sure that all login fields are accounted for, since
there will be no other way to retrieve them with this change, and we
don't want to break backwards compatibility. Looking at this code from
the official client,
https://github.com/bitwarden/clients/blob/master/libs/common/spec/models/domain/login.spec.ts,
autofillOnPageLoad might be another login field.

* Update changelogs/fragments/5694-add-custom-fields-to-bitwarden.yml

Clarify changelog fragment

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/lookup/bitwarden.py

Fix logic. Should only error if matches were found, but are missing the custom field.

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-01-07 10:28:05 +01:00
..
action Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
become Make pfexec become usable for illumos (#3889) 2022-10-05 08:26:40 +02:00
cache Normalize more booleans. (#5247) 2022-09-06 20:42:17 +02:00
callback Fix callback plugin types (#5761) 2023-01-04 22:06:57 +01:00
connection chroot plugin fix inventory_hostname var for remote_addr (#5570) 2022-11-17 06:53:46 +01:00
doc_fragments Document attributes (_info and _facts modules for now) (#5481) 2022-11-06 21:16:43 +01:00
filter Clarification to use underscores instead of dashes in parser name (#5500) 2022-11-08 20:06:59 +01:00
inventory Feature: Provide project field for LXD inventory plugin (#5658) 2022-12-23 08:00:17 +01:00
lookup Add Support to Bitwarden Lookup for Custom Fields (#5694) 2023-01-07 10:28:05 +01:00
module_utils ModuleHelper - lax handling of conflicting output (#5765) 2023-01-07 10:21:13 +01:00
modules terraform: bugfix: init command when default workspace doesn't exists (#5735) 2023-01-07 10:24:32 +01:00
test Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00