Aquasec v0.8.27 published on Monday, Jan 29, 2024 by Pulumiverse
aquasec.getService
Explore with Pulumi AI
Using getService
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getService(args: GetServiceArgs, opts?: InvokeOptions): Promise<GetServiceResult>
function getServiceOutput(args: GetServiceOutputArgs, opts?: InvokeOptions): Output<GetServiceResult>
def get_service(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServiceResult
def get_service_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServiceResult]
func LookupService(ctx *Context, args *LookupServiceArgs, opts ...InvokeOption) (*LookupServiceResult, error)
func LookupServiceOutput(ctx *Context, args *LookupServiceOutputArgs, opts ...InvokeOption) LookupServiceResultOutput
> Note: This function is named LookupService
in the Go SDK.
public static class GetService
{
public static Task<GetServiceResult> InvokeAsync(GetServiceArgs args, InvokeOptions? opts = null)
public static Output<GetServiceResult> Invoke(GetServiceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aquasec:index/getService:getService
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Name string
- name String
- name string
- name str
- name String
getService Result
The following output properties are available:
- Application
Scopes List<string> - Indicates the application scope of the service.
- string
- Username of the account that created the service.
- Containers
Count int - The number of containers associated with the service.
- Description string
- A textual description of the service record; maximum 500 characters.
- Enforce bool
- Enforcement status of the service.
- Evaluated bool
- Whether the service has been evaluated for security vulnerabilities.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Registered bool - Indicates if registered or not.
- Lastupdate int
- Timestamp of the last update in Unix time format.
- Monitoring bool
- Indicates if monitoring is enabled or not
- Name string
- The name of the service. It is recommended not to use whitespace characters in the name.
- Not
Evaluated intCount - The number of container that are not evaluated.
- Policies List<string>
- The service's policies; an array of container firewall policy names.
- Priority int
- Rules priority, must be between 1-100.
- Scope
Expression string - Logical expression of how to compute the dependency of the scope variables.
- Scope
Variables List<Pulumiverse.Aquasec. Outputs. Get Service Scope Variable> - List of scope attributes.
- Target string
- Type of the workload. container or host.
- Unregistered
Count int - The number of containers allocated to the service that are not registered.
- Vulnerabilities
High int - Number of high severity vulnerabilities.
- Vulnerabilities
Low int - Number of low severity vulnerabilities.
- Vulnerabilities
Malware int - Number of malware.
- Vulnerabilities
Medium int - Number of medium severity vulnerabilities.
- Vulnerabilities
Negligible int - Number of negligible vulnerabilities.
- Vulnerabilities
Score intAverage - The CVSS average vulnerabilities score.
- Vulnerabilities
Sensitive int - Number of sensitive vulnerabilities.
- Vulnerabilities
Total int - Total number of vulnerabilities.
- Application
Scopes []string - Indicates the application scope of the service.
- string
- Username of the account that created the service.
- Containers
Count int - The number of containers associated with the service.
- Description string
- A textual description of the service record; maximum 500 characters.
- Enforce bool
- Enforcement status of the service.
- Evaluated bool
- Whether the service has been evaluated for security vulnerabilities.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Registered bool - Indicates if registered or not.
- Lastupdate int
- Timestamp of the last update in Unix time format.
- Monitoring bool
- Indicates if monitoring is enabled or not
- Name string
- The name of the service. It is recommended not to use whitespace characters in the name.
- Not
Evaluated intCount - The number of container that are not evaluated.
- Policies []string
- The service's policies; an array of container firewall policy names.
- Priority int
- Rules priority, must be between 1-100.
- Scope
Expression string - Logical expression of how to compute the dependency of the scope variables.
- Scope
Variables []GetService Scope Variable - List of scope attributes.
- Target string
- Type of the workload. container or host.
- Unregistered
Count int - The number of containers allocated to the service that are not registered.
- Vulnerabilities
High int - Number of high severity vulnerabilities.
- Vulnerabilities
Low int - Number of low severity vulnerabilities.
- Vulnerabilities
Malware int - Number of malware.
- Vulnerabilities
Medium int - Number of medium severity vulnerabilities.
- Vulnerabilities
Negligible int - Number of negligible vulnerabilities.
- Vulnerabilities
Score intAverage - The CVSS average vulnerabilities score.
- Vulnerabilities
Sensitive int - Number of sensitive vulnerabilities.
- Vulnerabilities
Total int - Total number of vulnerabilities.
- application
Scopes List<String> - Indicates the application scope of the service.
- String
- Username of the account that created the service.
- containers
Count Integer - The number of containers associated with the service.
- description String
- A textual description of the service record; maximum 500 characters.
- enforce Boolean
- Enforcement status of the service.
- evaluated Boolean
- Whether the service has been evaluated for security vulnerabilities.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Registered Boolean - Indicates if registered or not.
- lastupdate Integer
- Timestamp of the last update in Unix time format.
- monitoring Boolean
- Indicates if monitoring is enabled or not
- name String
- The name of the service. It is recommended not to use whitespace characters in the name.
- not
Evaluated IntegerCount - The number of container that are not evaluated.
- policies List<String>
- The service's policies; an array of container firewall policy names.
- priority Integer
- Rules priority, must be between 1-100.
- scope
Expression String - Logical expression of how to compute the dependency of the scope variables.
- scope
Variables List<GetService Scope Variable> - List of scope attributes.
- target String
- Type of the workload. container or host.
- unregistered
Count Integer - The number of containers allocated to the service that are not registered.
- vulnerabilities
High Integer - Number of high severity vulnerabilities.
- vulnerabilities
Low Integer - Number of low severity vulnerabilities.
- vulnerabilities
Malware Integer - Number of malware.
- vulnerabilities
Medium Integer - Number of medium severity vulnerabilities.
- vulnerabilities
Negligible Integer - Number of negligible vulnerabilities.
- vulnerabilities
Score IntegerAverage - The CVSS average vulnerabilities score.
- vulnerabilities
Sensitive Integer - Number of sensitive vulnerabilities.
- vulnerabilities
Total Integer - Total number of vulnerabilities.
- application
Scopes string[] - Indicates the application scope of the service.
- string
- Username of the account that created the service.
- containers
Count number - The number of containers associated with the service.
- description string
- A textual description of the service record; maximum 500 characters.
- enforce boolean
- Enforcement status of the service.
- evaluated boolean
- Whether the service has been evaluated for security vulnerabilities.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Registered boolean - Indicates if registered or not.
- lastupdate number
- Timestamp of the last update in Unix time format.
- monitoring boolean
- Indicates if monitoring is enabled or not
- name string
- The name of the service. It is recommended not to use whitespace characters in the name.
- not
Evaluated numberCount - The number of container that are not evaluated.
- policies string[]
- The service's policies; an array of container firewall policy names.
- priority number
- Rules priority, must be between 1-100.
- scope
Expression string - Logical expression of how to compute the dependency of the scope variables.
- scope
Variables GetService Scope Variable[] - List of scope attributes.
- target string
- Type of the workload. container or host.
- unregistered
Count number - The number of containers allocated to the service that are not registered.
- vulnerabilities
High number - Number of high severity vulnerabilities.
- vulnerabilities
Low number - Number of low severity vulnerabilities.
- vulnerabilities
Malware number - Number of malware.
- vulnerabilities
Medium number - Number of medium severity vulnerabilities.
- vulnerabilities
Negligible number - Number of negligible vulnerabilities.
- vulnerabilities
Score numberAverage - The CVSS average vulnerabilities score.
- vulnerabilities
Sensitive number - Number of sensitive vulnerabilities.
- vulnerabilities
Total number - Total number of vulnerabilities.
- application_
scopes Sequence[str] - Indicates the application scope of the service.
- str
- Username of the account that created the service.
- containers_
count int - The number of containers associated with the service.
- description str
- A textual description of the service record; maximum 500 characters.
- enforce bool
- Enforcement status of the service.
- evaluated bool
- Whether the service has been evaluated for security vulnerabilities.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
registered bool - Indicates if registered or not.
- lastupdate int
- Timestamp of the last update in Unix time format.
- monitoring bool
- Indicates if monitoring is enabled or not
- name str
- The name of the service. It is recommended not to use whitespace characters in the name.
- not_
evaluated_ intcount - The number of container that are not evaluated.
- policies Sequence[str]
- The service's policies; an array of container firewall policy names.
- priority int
- Rules priority, must be between 1-100.
- scope_
expression str - Logical expression of how to compute the dependency of the scope variables.
- scope_
variables Sequence[GetService Scope Variable] - List of scope attributes.
- target str
- Type of the workload. container or host.
- unregistered_
count int - The number of containers allocated to the service that are not registered.
- vulnerabilities_
high int - Number of high severity vulnerabilities.
- vulnerabilities_
low int - Number of low severity vulnerabilities.
- vulnerabilities_
malware int - Number of malware.
- vulnerabilities_
medium int - Number of medium severity vulnerabilities.
- vulnerabilities_
negligible int - Number of negligible vulnerabilities.
- vulnerabilities_
score_ intaverage - The CVSS average vulnerabilities score.
- vulnerabilities_
sensitive int - Number of sensitive vulnerabilities.
- vulnerabilities_
total int - Total number of vulnerabilities.
- application
Scopes List<String> - Indicates the application scope of the service.
- String
- Username of the account that created the service.
- containers
Count Number - The number of containers associated with the service.
- description String
- A textual description of the service record; maximum 500 characters.
- enforce Boolean
- Enforcement status of the service.
- evaluated Boolean
- Whether the service has been evaluated for security vulnerabilities.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Registered Boolean - Indicates if registered or not.
- lastupdate Number
- Timestamp of the last update in Unix time format.
- monitoring Boolean
- Indicates if monitoring is enabled or not
- name String
- The name of the service. It is recommended not to use whitespace characters in the name.
- not
Evaluated NumberCount - The number of container that are not evaluated.
- policies List<String>
- The service's policies; an array of container firewall policy names.
- priority Number
- Rules priority, must be between 1-100.
- scope
Expression String - Logical expression of how to compute the dependency of the scope variables.
- scope
Variables List<Property Map> - List of scope attributes.
- target String
- Type of the workload. container or host.
- unregistered
Count Number - The number of containers allocated to the service that are not registered.
- vulnerabilities
High Number - Number of high severity vulnerabilities.
- vulnerabilities
Low Number - Number of low severity vulnerabilities.
- vulnerabilities
Malware Number - Number of malware.
- vulnerabilities
Medium Number - Number of medium severity vulnerabilities.
- vulnerabilities
Negligible Number - Number of negligible vulnerabilities.
- vulnerabilities
Score NumberAverage - The CVSS average vulnerabilities score.
- vulnerabilities
Sensitive Number - Number of sensitive vulnerabilities.
- vulnerabilities
Total Number - Total number of vulnerabilities.
Supporting Types
GetServiceScopeVariable
Package Details
- Repository
- aquasec pulumiverse/pulumi-aquasec
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aquasec
Terraform Provider.