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

aquasec.getAcknowledges

Explore with Pulumi AI

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

    The data source aquasec.getAcknowledges provides a method to query all acknowledges within the Aqua

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aquasec from "@pulumi/aquasec";
    
    const acknowledgesAcknowledges = aquasec.getAcknowledges({});
    export const acknowledges = acknowledgesAcknowledges;
    
    import pulumi
    import pulumi_aquasec as aquasec
    
    acknowledges_acknowledges = aquasec.get_acknowledges()
    pulumi.export("acknowledges", acknowledges_acknowledges)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-aquasec/sdk/go/aquasec"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		acknowledgesAcknowledges, err := aquasec.GetAcknowledges(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("acknowledges", acknowledgesAcknowledges)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aquasec = Pulumi.Aquasec;
    
    return await Deployment.RunAsync(() => 
    {
        var acknowledgesAcknowledges = Aquasec.GetAcknowledges.Invoke();
    
        return new Dictionary<string, object?>
        {
            ["acknowledges"] = acknowledgesAcknowledges,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aquasec.AquasecFunctions;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var acknowledgesAcknowledges = AquasecFunctions.getAcknowledges();
    
            ctx.export("acknowledges", acknowledgesAcknowledges.applyValue(getAcknowledgesResult -> getAcknowledgesResult));
        }
    }
    
    variables:
      acknowledgesAcknowledges:
        fn::invoke:
          Function: aquasec:getAcknowledges
          Arguments: {}
    outputs:
      acknowledges: ${acknowledgesAcknowledges}
    

    Using getAcknowledges

    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 getAcknowledges(opts?: InvokeOptions): Promise<GetAcknowledgesResult>
    function getAcknowledgesOutput(opts?: InvokeOptions): Output<GetAcknowledgesResult>
    def get_acknowledges(opts: Optional[InvokeOptions] = None) -> GetAcknowledgesResult
    def get_acknowledges_output(opts: Optional[InvokeOptions] = None) -> Output[GetAcknowledgesResult]
    func GetAcknowledges(ctx *Context, opts ...InvokeOption) (*GetAcknowledgesResult, error)
    func GetAcknowledgesOutput(ctx *Context, opts ...InvokeOption) GetAcknowledgesResultOutput

    > Note: This function is named GetAcknowledges in the Go SDK.

    public static class GetAcknowledges 
    {
        public static Task<GetAcknowledgesResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetAcknowledgesResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAcknowledgesResult> getAcknowledges(InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aquasec:index/getAcknowledges:getAcknowledges
      arguments:
        # arguments dictionary

    getAcknowledges Result

    The following output properties are available:

    Acknowledges List<Pulumiverse.Aquasec.Outputs.GetAcknowledgesAcknowledge>
    A list of existing security acknowledges.
    Id string
    The provider-assigned unique ID for this managed resource.
    Acknowledges []GetAcknowledgesAcknowledge
    A list of existing security acknowledges.
    Id string
    The provider-assigned unique ID for this managed resource.
    acknowledges List<GetAcknowledgesAcknowledge>
    A list of existing security acknowledges.
    id String
    The provider-assigned unique ID for this managed resource.
    acknowledges GetAcknowledgesAcknowledge[]
    A list of existing security acknowledges.
    id string
    The provider-assigned unique ID for this managed resource.
    acknowledges Sequence[GetAcknowledgesAcknowledge]
    A list of existing security acknowledges.
    id str
    The provider-assigned unique ID for this managed resource.
    acknowledges List<Property Map>
    A list of existing security acknowledges.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    GetAcknowledgesAcknowledge

    Author string
    The user who acknowledged the issue.
    Comment string
    A comment describing the reason for the acknowledgment
    Date string
    The date and time of the acknowledgment.
    DockerId string
    ExpirationConfiguredAt string
    The current dat and time when the expiration was set
    ExpirationConfiguredBy string
    The user who set the expiration of the issue.
    ExpirationDays int
    Number of days until expiration of the acknowledgement. The value must be integer from 1 to 999, inclusive.
    FixVersion string
    The version of the package that having a fix for the issue.
    ImageName string
    Only acknowledge the issue in the context of the specified image (also requires 'registry_name')
    IssueName string
    The name of the security issue (the CVE or security advisory for vulnerabilities, name of malware or type of sensitive data)
    IssueType string
    The type of the security issue (either 'vulnerability', 'sensitive_data' or 'malware')
    Os string
    When the resource_type is 'package', the operating system is required (e.g., 'ubuntu', 'alpine').
    OsVersion string
    When the resource_type is 'package', the operating system version is required.
    Permission string
    The permissions of the user who acknowledged the issue.
    RegistryName string
    Only acknowledge the issue in the context of the specified repository (also requires 'registry_name').
    ResourceCpe string
    The CPE of the resource as listed in the issue by the Aqua API. This is required for resources of type 'executable'. For packages and files, the next parameters can be specified instead.
    ResourceFormat string
    The format of the resource.
    ResourceHash string
    When the resource_type is 'file', the hash of the file is required
    ResourceName string
    When the resource_type is 'package', the name of the package is required.
    ResourcePath string
    The path of the resource. This is required for resources of type 'file' and 'executable'.
    ResourceType string
    The type of the resource where the issue was detected (either 'package', 'file' or 'executable')
    ResourceVersion string
    When the resource_type is 'package', the version of the package is required
    Author string
    The user who acknowledged the issue.
    Comment string
    A comment describing the reason for the acknowledgment
    Date string
    The date and time of the acknowledgment.
    DockerId string
    ExpirationConfiguredAt string
    The current dat and time when the expiration was set
    ExpirationConfiguredBy string
    The user who set the expiration of the issue.
    ExpirationDays int
    Number of days until expiration of the acknowledgement. The value must be integer from 1 to 999, inclusive.
    FixVersion string
    The version of the package that having a fix for the issue.
    ImageName string
    Only acknowledge the issue in the context of the specified image (also requires 'registry_name')
    IssueName string
    The name of the security issue (the CVE or security advisory for vulnerabilities, name of malware or type of sensitive data)
    IssueType string
    The type of the security issue (either 'vulnerability', 'sensitive_data' or 'malware')
    Os string
    When the resource_type is 'package', the operating system is required (e.g., 'ubuntu', 'alpine').
    OsVersion string
    When the resource_type is 'package', the operating system version is required.
    Permission string
    The permissions of the user who acknowledged the issue.
    RegistryName string
    Only acknowledge the issue in the context of the specified repository (also requires 'registry_name').
    ResourceCpe string
    The CPE of the resource as listed in the issue by the Aqua API. This is required for resources of type 'executable'. For packages and files, the next parameters can be specified instead.
    ResourceFormat string
    The format of the resource.
    ResourceHash string
    When the resource_type is 'file', the hash of the file is required
    ResourceName string
    When the resource_type is 'package', the name of the package is required.
    ResourcePath string
    The path of the resource. This is required for resources of type 'file' and 'executable'.
    ResourceType string
    The type of the resource where the issue was detected (either 'package', 'file' or 'executable')
    ResourceVersion string
    When the resource_type is 'package', the version of the package is required
    author String
    The user who acknowledged the issue.
    comment String
    A comment describing the reason for the acknowledgment
    date String
    The date and time of the acknowledgment.
    dockerId String
    expirationConfiguredAt String
    The current dat and time when the expiration was set
    expirationConfiguredBy String
    The user who set the expiration of the issue.
    expirationDays Integer
    Number of days until expiration of the acknowledgement. The value must be integer from 1 to 999, inclusive.
    fixVersion String
    The version of the package that having a fix for the issue.
    imageName String
    Only acknowledge the issue in the context of the specified image (also requires 'registry_name')
    issueName String
    The name of the security issue (the CVE or security advisory for vulnerabilities, name of malware or type of sensitive data)
    issueType String
    The type of the security issue (either 'vulnerability', 'sensitive_data' or 'malware')
    os String
    When the resource_type is 'package', the operating system is required (e.g., 'ubuntu', 'alpine').
    osVersion String
    When the resource_type is 'package', the operating system version is required.
    permission String
    The permissions of the user who acknowledged the issue.
    registryName String
    Only acknowledge the issue in the context of the specified repository (also requires 'registry_name').
    resourceCpe String
    The CPE of the resource as listed in the issue by the Aqua API. This is required for resources of type 'executable'. For packages and files, the next parameters can be specified instead.
    resourceFormat String
    The format of the resource.
    resourceHash String
    When the resource_type is 'file', the hash of the file is required
    resourceName String
    When the resource_type is 'package', the name of the package is required.
    resourcePath String
    The path of the resource. This is required for resources of type 'file' and 'executable'.
    resourceType String
    The type of the resource where the issue was detected (either 'package', 'file' or 'executable')
    resourceVersion String
    When the resource_type is 'package', the version of the package is required
    author string
    The user who acknowledged the issue.
    comment string
    A comment describing the reason for the acknowledgment
    date string
    The date and time of the acknowledgment.
    dockerId string
    expirationConfiguredAt string
    The current dat and time when the expiration was set
    expirationConfiguredBy string
    The user who set the expiration of the issue.
    expirationDays number
    Number of days until expiration of the acknowledgement. The value must be integer from 1 to 999, inclusive.
    fixVersion string
    The version of the package that having a fix for the issue.
    imageName string
    Only acknowledge the issue in the context of the specified image (also requires 'registry_name')
    issueName string
    The name of the security issue (the CVE or security advisory for vulnerabilities, name of malware or type of sensitive data)
    issueType string
    The type of the security issue (either 'vulnerability', 'sensitive_data' or 'malware')
    os string
    When the resource_type is 'package', the operating system is required (e.g., 'ubuntu', 'alpine').
    osVersion string
    When the resource_type is 'package', the operating system version is required.
    permission string
    The permissions of the user who acknowledged the issue.
    registryName string
    Only acknowledge the issue in the context of the specified repository (also requires 'registry_name').
    resourceCpe string
    The CPE of the resource as listed in the issue by the Aqua API. This is required for resources of type 'executable'. For packages and files, the next parameters can be specified instead.
    resourceFormat string
    The format of the resource.
    resourceHash string
    When the resource_type is 'file', the hash of the file is required
    resourceName string
    When the resource_type is 'package', the name of the package is required.
    resourcePath string
    The path of the resource. This is required for resources of type 'file' and 'executable'.
    resourceType string
    The type of the resource where the issue was detected (either 'package', 'file' or 'executable')
    resourceVersion string
    When the resource_type is 'package', the version of the package is required
    author str
    The user who acknowledged the issue.
    comment str
    A comment describing the reason for the acknowledgment
    date str
    The date and time of the acknowledgment.
    docker_id str
    expiration_configured_at str
    The current dat and time when the expiration was set
    expiration_configured_by str
    The user who set the expiration of the issue.
    expiration_days int
    Number of days until expiration of the acknowledgement. The value must be integer from 1 to 999, inclusive.
    fix_version str
    The version of the package that having a fix for the issue.
    image_name str
    Only acknowledge the issue in the context of the specified image (also requires 'registry_name')
    issue_name str
    The name of the security issue (the CVE or security advisory for vulnerabilities, name of malware or type of sensitive data)
    issue_type str
    The type of the security issue (either 'vulnerability', 'sensitive_data' or 'malware')
    os str
    When the resource_type is 'package', the operating system is required (e.g., 'ubuntu', 'alpine').
    os_version str
    When the resource_type is 'package', the operating system version is required.
    permission str
    The permissions of the user who acknowledged the issue.
    registry_name str
    Only acknowledge the issue in the context of the specified repository (also requires 'registry_name').
    resource_cpe str
    The CPE of the resource as listed in the issue by the Aqua API. This is required for resources of type 'executable'. For packages and files, the next parameters can be specified instead.
    resource_format str
    The format of the resource.
    resource_hash str
    When the resource_type is 'file', the hash of the file is required
    resource_name str
    When the resource_type is 'package', the name of the package is required.
    resource_path str
    The path of the resource. This is required for resources of type 'file' and 'executable'.
    resource_type str
    The type of the resource where the issue was detected (either 'package', 'file' or 'executable')
    resource_version str
    When the resource_type is 'package', the version of the package is required
    author String
    The user who acknowledged the issue.
    comment String
    A comment describing the reason for the acknowledgment
    date String
    The date and time of the acknowledgment.
    dockerId String
    expirationConfiguredAt String
    The current dat and time when the expiration was set
    expirationConfiguredBy String
    The user who set the expiration of the issue.
    expirationDays Number
    Number of days until expiration of the acknowledgement. The value must be integer from 1 to 999, inclusive.
    fixVersion String
    The version of the package that having a fix for the issue.
    imageName String
    Only acknowledge the issue in the context of the specified image (also requires 'registry_name')
    issueName String
    The name of the security issue (the CVE or security advisory for vulnerabilities, name of malware or type of sensitive data)
    issueType String
    The type of the security issue (either 'vulnerability', 'sensitive_data' or 'malware')
    os String
    When the resource_type is 'package', the operating system is required (e.g., 'ubuntu', 'alpine').
    osVersion String
    When the resource_type is 'package', the operating system version is required.
    permission String
    The permissions of the user who acknowledged the issue.
    registryName String
    Only acknowledge the issue in the context of the specified repository (also requires 'registry_name').
    resourceCpe String
    The CPE of the resource as listed in the issue by the Aqua API. This is required for resources of type 'executable'. For packages and files, the next parameters can be specified instead.
    resourceFormat String
    The format of the resource.
    resourceHash String
    When the resource_type is 'file', the hash of the file is required
    resourceName String
    When the resource_type is 'package', the name of the package is required.
    resourcePath String
    The path of the resource. This is required for resources of type 'file' and 'executable'.
    resourceType String
    The type of the resource where the issue was detected (either 'package', 'file' or 'executable')
    resourceVersion String
    When the resource_type is 'package', the version of the package is required

    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.29 published on Monday, Jul 22, 2024 by Pulumiverse