package
Version:
v0.8.5
Opens a new window with list of versions in this module.
Published: Jun 23, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
shield
Usage
source:
type: shield
config:
host: shield.com:80
Key |
Value |
Example |
Description |
|
host |
string |
shield.com:80 |
Shield' GRPC host |
required |
Outputs
Field |
Sample Value |
resource.urn |
shield::https://shield-host.com/jonsnow |
resource.name |
Jon Snow |
resource.service |
shield |
resource.type |
user |
resource.description |
sample user description |
email |
snow.jon@gmail.com |
username |
jonsnow |
full_name |
Jon Snow |
status |
active |
memberships.group_urn |
grpname:grpId |
memberships.role |
rolename |
timestamp.create_time |
12432 |
timestamp.updatetime |
90242 |
Contributing
Refer to the contribution guidelines for information on contributing to this module.
Documentation
¶
type Config struct {
Host string `mapstructure:"host" validate:"required"`
}
Config holds the set of configuration for the shield extractor
type Extractor struct {
}
Extractor manages the communication with the shield service
Extract extracts the user information
Init initializes the extractor
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.