1. Packages
  2. Aquasec
  3. API Docs
  4. getService
Aquasec v0.8.27 published on Monday, Jan 29, 2024 by Pulumiverse

aquasec.getService

Explore with Pulumi AI

aquasec logo
Aquasec v0.8.27 published on Monday, Jan 29, 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>
    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:

    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 string
    Name string
    Value string
    Attribute string
    Name string
    Value string
    attribute String
    name String
    value String
    attribute string
    name string
    value string
    attribute str
    name str
    value str
    attribute String
    name String
    value String

    Package Details

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