checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw
checkpoint.getManagementGaiaBestPractice
Explore with Pulumi AI
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw
Use this data source to get information on an existing Check Point Host.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";
const gaiaBestPractice = new checkpoint.ManagementGaiaBestPractice("gaiaBestPractice", {
actionItem: "Validate that the Telnet settings are disabled on the configuration set on the GAIA OS.",
description: "This Gaia Best Practice makes sure that the network access, via Telnet, is disabled.",
expectedOutputText: "Success",
practiceScriptBase64: "IyEvYmluL2Jhc2gKCnRlbG5ldF9vZmY9JChjbGlzaCAtYyAic2hvdyBjb25maWd1cmF0aW9uIiB8IGdyZXAgInNldCBuZXQtYWNjZXNzIHRlbG5ldCIgfCBncmVwICJvZmYiKQppZiBbICEgLXogIiR0ZWxuZXRfb2ZmIiBdOyB0aGVuCgllY2hvIFN1Y2Nlc3MKZWxzZQoJZWNobyBGYWlsCmZp",
});
const dataGaiaBestPractice = checkpoint.getManagementGaiaBestPracticeOutput({
name: gaiaBestPractice.name,
});
import pulumi
import pulumi_checkpoint as checkpoint
gaia_best_practice = checkpoint.ManagementGaiaBestPractice("gaiaBestPractice",
action_item="Validate that the Telnet settings are disabled on the configuration set on the GAIA OS.",
description="This Gaia Best Practice makes sure that the network access, via Telnet, is disabled.",
expected_output_text="Success",
practice_script_base64="IyEvYmluL2Jhc2gKCnRlbG5ldF9vZmY9JChjbGlzaCAtYyAic2hvdyBjb25maWd1cmF0aW9uIiB8IGdyZXAgInNldCBuZXQtYWNjZXNzIHRlbG5ldCIgfCBncmVwICJvZmYiKQppZiBbICEgLXogIiR0ZWxuZXRfb2ZmIiBdOyB0aGVuCgllY2hvIFN1Y2Nlc3MKZWxzZQoJZWNobyBGYWlsCmZp")
data_gaia_best_practice = checkpoint.get_management_gaia_best_practice_output(name=gaia_best_practice.name)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/checkpoint/v2/checkpoint"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
gaiaBestPractice, err := checkpoint.NewManagementGaiaBestPractice(ctx, "gaiaBestPractice", &checkpoint.ManagementGaiaBestPracticeArgs{
ActionItem: pulumi.String("Validate that the Telnet settings are disabled on the configuration set on the GAIA OS."),
Description: pulumi.String("This Gaia Best Practice makes sure that the network access, via Telnet, is disabled."),
ExpectedOutputText: pulumi.String("Success"),
PracticeScriptBase64: pulumi.String("IyEvYmluL2Jhc2gKCnRlbG5ldF9vZmY9JChjbGlzaCAtYyAic2hvdyBjb25maWd1cmF0aW9uIiB8IGdyZXAgInNldCBuZXQtYWNjZXNzIHRlbG5ldCIgfCBncmVwICJvZmYiKQppZiBbICEgLXogIiR0ZWxuZXRfb2ZmIiBdOyB0aGVuCgllY2hvIFN1Y2Nlc3MKZWxzZQoJZWNobyBGYWlsCmZp"),
})
if err != nil {
return err
}
_ = checkpoint.LookupManagementGaiaBestPracticeOutput(ctx, checkpoint.GetManagementGaiaBestPracticeOutputArgs{
Name: gaiaBestPractice.Name,
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Checkpoint = Pulumi.Checkpoint;
return await Deployment.RunAsync(() =>
{
var gaiaBestPractice = new Checkpoint.ManagementGaiaBestPractice("gaiaBestPractice", new()
{
ActionItem = "Validate that the Telnet settings are disabled on the configuration set on the GAIA OS.",
Description = "This Gaia Best Practice makes sure that the network access, via Telnet, is disabled.",
ExpectedOutputText = "Success",
PracticeScriptBase64 = "IyEvYmluL2Jhc2gKCnRlbG5ldF9vZmY9JChjbGlzaCAtYyAic2hvdyBjb25maWd1cmF0aW9uIiB8IGdyZXAgInNldCBuZXQtYWNjZXNzIHRlbG5ldCIgfCBncmVwICJvZmYiKQppZiBbICEgLXogIiR0ZWxuZXRfb2ZmIiBdOyB0aGVuCgllY2hvIFN1Y2Nlc3MKZWxzZQoJZWNobyBGYWlsCmZp",
});
var dataGaiaBestPractice = Checkpoint.GetManagementGaiaBestPractice.Invoke(new()
{
Name = gaiaBestPractice.Name,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementGaiaBestPractice;
import com.pulumi.checkpoint.ManagementGaiaBestPracticeArgs;
import com.pulumi.checkpoint.CheckpointFunctions;
import com.pulumi.checkpoint.inputs.GetManagementGaiaBestPracticeArgs;
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) {
var gaiaBestPractice = new ManagementGaiaBestPractice("gaiaBestPractice", ManagementGaiaBestPracticeArgs.builder()
.actionItem("Validate that the Telnet settings are disabled on the configuration set on the GAIA OS.")
.description("This Gaia Best Practice makes sure that the network access, via Telnet, is disabled.")
.expectedOutputText("Success")
.practiceScriptBase64("IyEvYmluL2Jhc2gKCnRlbG5ldF9vZmY9JChjbGlzaCAtYyAic2hvdyBjb25maWd1cmF0aW9uIiB8IGdyZXAgInNldCBuZXQtYWNjZXNzIHRlbG5ldCIgfCBncmVwICJvZmYiKQppZiBbICEgLXogIiR0ZWxuZXRfb2ZmIiBdOyB0aGVuCgllY2hvIFN1Y2Nlc3MKZWxzZQoJZWNobyBGYWlsCmZp")
.build());
final var dataGaiaBestPractice = CheckpointFunctions.getManagementGaiaBestPractice(GetManagementGaiaBestPracticeArgs.builder()
.name(gaiaBestPractice.name())
.build());
}
}
resources:
gaiaBestPractice:
type: checkpoint:ManagementGaiaBestPractice
properties:
actionItem: Validate that the Telnet settings are disabled on the configuration set on the GAIA OS.
description: This Gaia Best Practice makes sure that the network access, via Telnet, is disabled.
expectedOutputText: Success
practiceScriptBase64: IyEvYmluL2Jhc2gKCnRlbG5ldF9vZmY9JChjbGlzaCAtYyAic2hvdyBjb25maWd1cmF0aW9uIiB8IGdyZXAgInNldCBuZXQtYWNjZXNzIHRlbG5ldCIgfCBncmVwICJvZmYiKQppZiBbICEgLXogIiR0ZWxuZXRfb2ZmIiBdOyB0aGVuCgllY2hvIFN1Y2Nlc3MKZWxzZQoJZWNobyBGYWlsCmZp
variables:
dataGaiaBestPractice:
fn::invoke:
function: checkpoint:getManagementGaiaBestPractice
arguments:
name: ${gaiaBestPractice.name}
Using getManagementGaiaBestPractice
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 getManagementGaiaBestPractice(args: GetManagementGaiaBestPracticeArgs, opts?: InvokeOptions): Promise<GetManagementGaiaBestPracticeResult>
function getManagementGaiaBestPracticeOutput(args: GetManagementGaiaBestPracticeOutputArgs, opts?: InvokeOptions): Output<GetManagementGaiaBestPracticeResult>
def get_management_gaia_best_practice(best_practice_id: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
uid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagementGaiaBestPracticeResult
def get_management_gaia_best_practice_output(best_practice_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
uid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagementGaiaBestPracticeResult]
func LookupManagementGaiaBestPractice(ctx *Context, args *LookupManagementGaiaBestPracticeArgs, opts ...InvokeOption) (*LookupManagementGaiaBestPracticeResult, error)
func LookupManagementGaiaBestPracticeOutput(ctx *Context, args *LookupManagementGaiaBestPracticeOutputArgs, opts ...InvokeOption) LookupManagementGaiaBestPracticeResultOutput
> Note: This function is named LookupManagementGaiaBestPractice
in the Go SDK.
public static class GetManagementGaiaBestPractice
{
public static Task<GetManagementGaiaBestPracticeResult> InvokeAsync(GetManagementGaiaBestPracticeArgs args, InvokeOptions? opts = null)
public static Output<GetManagementGaiaBestPracticeResult> Invoke(GetManagementGaiaBestPracticeInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetManagementGaiaBestPracticeResult> getManagementGaiaBestPractice(GetManagementGaiaBestPracticeArgs args, InvokeOptions options)
public static Output<GetManagementGaiaBestPracticeResult> getManagementGaiaBestPractice(GetManagementGaiaBestPracticeArgs args, InvokeOptions options)
fn::invoke:
function: checkpoint:index/getManagementGaiaBestPractice:getManagementGaiaBestPractice
arguments:
# arguments dictionary
The following arguments are supported:
- Best
Practice stringId - Best Practice ID.
- Id string
- Name string
- Best Practice Name.
- Uid string
- Best Practice UID.
- Best
Practice stringId - Best Practice ID.
- Id string
- Name string
- Best Practice Name.
- Uid string
- Best Practice UID.
- best
Practice StringId - Best Practice ID.
- id String
- name String
- Best Practice Name.
- uid String
- Best Practice UID.
- best
Practice stringId - Best Practice ID.
- id string
- name string
- Best Practice Name.
- uid string
- Best Practice UID.
- best_
practice_ strid - Best Practice ID.
- id str
- name str
- Best Practice Name.
- uid str
- Best Practice UID.
- best
Practice StringId - Best Practice ID.
- id String
- name String
- Best Practice Name.
- uid String
- Best Practice UID.
getManagementGaiaBestPractice Result
The following output properties are available:
- Action
Item string - Description string
- Expected
Output stringBase64 - Id string
- Practice
Script stringBase64 - Regulations
List<Get
Management Gaia Best Practice Regulation> - Relevant
Objects List<GetManagement Gaia Best Practice Relevant Object> - Status string
- User
Defined bool - Best
Practice stringId - Name string
- Uid string
- Action
Item string - Description string
- Expected
Output stringBase64 - Id string
- Practice
Script stringBase64 - Regulations
[]Get
Management Gaia Best Practice Regulation - Relevant
Objects []GetManagement Gaia Best Practice Relevant Object - Status string
- User
Defined bool - Best
Practice stringId - Name string
- Uid string
- action
Item String - description String
- expected
Output StringBase64 - id String
- practice
Script StringBase64 - regulations
List<Get
Management Gaia Best Practice Regulation> - relevant
Objects List<GetManagement Gaia Best Practice Relevant Object> - status String
- user
Defined Boolean - best
Practice StringId - name String
- uid String
- action
Item string - description string
- expected
Output stringBase64 - id string
- practice
Script stringBase64 - regulations
Get
Management Gaia Best Practice Regulation[] - relevant
Objects GetManagement Gaia Best Practice Relevant Object[] - status string
- user
Defined boolean - best
Practice stringId - name string
- uid string
- action
Item String - description String
- expected
Output StringBase64 - id String
- practice
Script StringBase64 - regulations List<Property Map>
- relevant
Objects List<Property Map> - status String
- user
Defined Boolean - best
Practice StringId - name String
- uid String
Supporting Types
GetManagementGaiaBestPracticeRegulation
- Regulation
Name string - The name of the regulation.
- Requirement
Description string - The description of the requirement.
- Requirement
Id string - The id of the requirement.
- Requirement
Status string - The status of the requirement.
- Regulation
Name string - The name of the regulation.
- Requirement
Description string - The description of the requirement.
- Requirement
Id string - The id of the requirement.
- Requirement
Status string - The status of the requirement.
- regulation
Name String - The name of the regulation.
- requirement
Description String - The description of the requirement.
- requirement
Id String - The id of the requirement.
- requirement
Status String - The status of the requirement.
- regulation
Name string - The name of the regulation.
- requirement
Description string - The description of the requirement.
- requirement
Id string - The id of the requirement.
- requirement
Status string - The status of the requirement.
- regulation_
name str - The name of the regulation.
- requirement_
description str - The description of the requirement.
- requirement_
id str - The id of the requirement.
- requirement_
status str - The status of the requirement.
- regulation
Name String - The name of the regulation.
- requirement
Description String - The description of the requirement.
- requirement
Id String - The id of the requirement.
- requirement
Status String - The status of the requirement.
GetManagementGaiaBestPracticeRelevantObject
Package Details
- Repository
- checkpoint checkpointsw/terraform-provider-checkpoint
- License
- Notes
- This Pulumi package is based on the
checkpoint
Terraform Provider.
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw