1. Packages
  2. Aquasec
  3. API Docs
  4. getService
Aquasec v0.8.29 published on Monday, Jul 22, 2024 by Pulumiverse

aquasec.getService

Explore with Pulumi AI

Aquasec v0.8.29 published on Monday, Jul 22, 2024 by Pulumiverse

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>
Copy
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]
Copy
func LookupService(ctx *Context, args *LookupServiceArgs, opts ...InvokeOption) (*LookupServiceResult, error)
func LookupServiceOutput(ctx *Context, args *LookupServiceOutputArgs, opts ...InvokeOption) LookupServiceResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
public static Output<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aquasec:index/getService:getService
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
The name of the service. It is recommended not to use whitespace characters in the name.
Name This property is required. string
The name of the service. It is recommended not to use whitespace characters in the name.
name This property is required. String
The name of the service. It is recommended not to use whitespace characters in the name.
name This property is required. string
The name of the service. It is recommended not to use whitespace characters in the name.
name This property is required. str
The name of the service. It is recommended not to use whitespace characters in the name.
name This property is required. String
The name of the service. It is recommended not to use whitespace characters in the name.

getService Result

The following output properties are available:

ApplicationScopes List<string>
Indicates the application scope of the service.
Author string
Username of the account that created the service.
ContainersCount 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.
IsRegistered 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.
NotEvaluatedCount int
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.
ScopeExpression string
Logical expression of how to compute the dependency of the scope variables.
ScopeVariables List<Pulumiverse.Aquasec.Outputs.GetServiceScopeVariable>
List of scope attributes.
Target string
Type of the workload. container or host.
UnregisteredCount int
The number of containers allocated to the service that are not registered.
VulnerabilitiesHigh int
Number of high severity vulnerabilities.
VulnerabilitiesLow int
Number of low severity vulnerabilities.
VulnerabilitiesMalware int
Number of malware.
VulnerabilitiesMedium int
Number of medium severity vulnerabilities.
VulnerabilitiesNegligible int
Number of negligible vulnerabilities.
VulnerabilitiesScoreAverage int
The CVSS average vulnerabilities score.
VulnerabilitiesSensitive int
Number of sensitive vulnerabilities.
VulnerabilitiesTotal int
Total number of vulnerabilities.
ApplicationScopes []string
Indicates the application scope of the service.
Author string
Username of the account that created the service.
ContainersCount 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.
IsRegistered 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.
NotEvaluatedCount int
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.
ScopeExpression string
Logical expression of how to compute the dependency of the scope variables.
ScopeVariables []GetServiceScopeVariable
List of scope attributes.
Target string
Type of the workload. container or host.
UnregisteredCount int
The number of containers allocated to the service that are not registered.
VulnerabilitiesHigh int
Number of high severity vulnerabilities.
VulnerabilitiesLow int
Number of low severity vulnerabilities.
VulnerabilitiesMalware int
Number of malware.
VulnerabilitiesMedium int
Number of medium severity vulnerabilities.
VulnerabilitiesNegligible int
Number of negligible vulnerabilities.
VulnerabilitiesScoreAverage int
The CVSS average vulnerabilities score.
VulnerabilitiesSensitive int
Number of sensitive vulnerabilities.
VulnerabilitiesTotal int
Total number of vulnerabilities.
applicationScopes List<String>
Indicates the application scope of the service.
author String
Username of the account that created the service.
containersCount 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.
isRegistered 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.
notEvaluatedCount Integer
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.
scopeExpression String
Logical expression of how to compute the dependency of the scope variables.
scopeVariables List<GetServiceScopeVariable>
List of scope attributes.
target String
Type of the workload. container or host.
unregisteredCount Integer
The number of containers allocated to the service that are not registered.
vulnerabilitiesHigh Integer
Number of high severity vulnerabilities.
vulnerabilitiesLow Integer
Number of low severity vulnerabilities.
vulnerabilitiesMalware Integer
Number of malware.
vulnerabilitiesMedium Integer
Number of medium severity vulnerabilities.
vulnerabilitiesNegligible Integer
Number of negligible vulnerabilities.
vulnerabilitiesScoreAverage Integer
The CVSS average vulnerabilities score.
vulnerabilitiesSensitive Integer
Number of sensitive vulnerabilities.
vulnerabilitiesTotal Integer
Total number of vulnerabilities.
applicationScopes string[]
Indicates the application scope of the service.
author string
Username of the account that created the service.
containersCount 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.
isRegistered 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.
notEvaluatedCount number
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.
scopeExpression string
Logical expression of how to compute the dependency of the scope variables.
scopeVariables GetServiceScopeVariable[]
List of scope attributes.
target string
Type of the workload. container or host.
unregisteredCount number
The number of containers allocated to the service that are not registered.
vulnerabilitiesHigh number
Number of high severity vulnerabilities.
vulnerabilitiesLow number
Number of low severity vulnerabilities.
vulnerabilitiesMalware number
Number of malware.
vulnerabilitiesMedium number
Number of medium severity vulnerabilities.
vulnerabilitiesNegligible number
Number of negligible vulnerabilities.
vulnerabilitiesScoreAverage number
The CVSS average vulnerabilities score.
vulnerabilitiesSensitive number
Number of sensitive vulnerabilities.
vulnerabilitiesTotal number
Total number of vulnerabilities.
application_scopes Sequence[str]
Indicates the application scope of the service.
author 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_count int
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[GetServiceScopeVariable]
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_average int
The CVSS average vulnerabilities score.
vulnerabilities_sensitive int
Number of sensitive vulnerabilities.
vulnerabilities_total int
Total number of vulnerabilities.
applicationScopes List<String>
Indicates the application scope of the service.
author String
Username of the account that created the service.
containersCount 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.
isRegistered 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.
notEvaluatedCount Number
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.
scopeExpression String
Logical expression of how to compute the dependency of the scope variables.
scopeVariables List<Property Map>
List of scope attributes.
target String
Type of the workload. container or host.
unregisteredCount Number
The number of containers allocated to the service that are not registered.
vulnerabilitiesHigh Number
Number of high severity vulnerabilities.
vulnerabilitiesLow Number
Number of low severity vulnerabilities.
vulnerabilitiesMalware Number
Number of malware.
vulnerabilitiesMedium Number
Number of medium severity vulnerabilities.
vulnerabilitiesNegligible Number
Number of negligible vulnerabilities.
vulnerabilitiesScoreAverage Number
The CVSS average vulnerabilities score.
vulnerabilitiesSensitive Number
Number of sensitive vulnerabilities.
vulnerabilitiesTotal Number
Total number of vulnerabilities.

Supporting Types

GetServiceScopeVariable

Attribute This property is required. string
Class of supported scope.
Name This property is required. string
Name assigned to the attribute.
Value This property is required. string
Value assigned to the attribute.
Attribute This property is required. string
Class of supported scope.
Name This property is required. string
Name assigned to the attribute.
Value This property is required. string
Value assigned to the attribute.
attribute This property is required. String
Class of supported scope.
name This property is required. String
Name assigned to the attribute.
value This property is required. String
Value assigned to the attribute.
attribute This property is required. string
Class of supported scope.
name This property is required. string
Name assigned to the attribute.
value This property is required. string
Value assigned to the attribute.
attribute This property is required. str
Class of supported scope.
name This property is required. str
Name assigned to the attribute.
value This property is required. str
Value assigned to the attribute.
attribute This property is required. String
Class of supported scope.
name This property is required. String
Name assigned to the attribute.
value This property is required. String
Value assigned to the attribute.

Package Details

Repository
aquasec pulumiverse/pulumi-aquasec
License
Apache-2.0
Notes
This Pulumi package is based on the aquasec Terraform Provider.
Aquasec v0.8.29 published on Monday, Jul 22, 2024 by Pulumiverse