Discover Packages
github.com/raystack/meteor
plugins
extractors
shield
package
Version:
v0.9.0
Opens a new window with list of versions in this module.
Published: Jul 26, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 17
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
README
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.
Expand ▾
Collapse ▴
Documentation
¶
View Source
const (
GRPCMaxClientSendSize = 45 << 20
GRPCMaxClientRecvSize = 45 << 20
GRPCMaxRetry uint = 3
)
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
¶
Click to show internal directories.
Click to hide internal directories.