SqlVulnerabilityAssessmentBaselineRules interface

Interface representing a SqlVulnerabilityAssessmentBaselineRules.

Methods

add(string, string, SqlVulnerabilityAssessmentBaselineRulesAddOptionalParams)

Add a list of baseline rules. Will overwrite any previously existing results (for all rules).

createOrUpdate(string, string, string, SqlVulnerabilityAssessmentBaselineRulesCreateOrUpdateOptionalParams)

Creates a Baseline for a rule in a database. Will overwrite any previously existing results.

delete(string, string, string, SqlVulnerabilityAssessmentBaselineRulesDeleteOptionalParams)

Deletes a rule from the Baseline of a given database.

get(string, string, string, SqlVulnerabilityAssessmentBaselineRulesGetOptionalParams)

Gets the results for a given rule in the Baseline.

list(string, string, SqlVulnerabilityAssessmentBaselineRulesListOptionalParams)

Gets the results for all rules in the Baseline.

Method Details

add(string, string, SqlVulnerabilityAssessmentBaselineRulesAddOptionalParams)

Add a list of baseline rules. Will overwrite any previously existing results (for all rules).

function add(workspaceId: string, resourceId: string, options?: SqlVulnerabilityAssessmentBaselineRulesAddOptionalParams): Promise<RulesResults>

Parameters

workspaceId

string

The workspace Id.

resourceId

string

The identifier of the resource.

Returns

Promise<RulesResults>

createOrUpdate(string, string, string, SqlVulnerabilityAssessmentBaselineRulesCreateOrUpdateOptionalParams)

Creates a Baseline for a rule in a database. Will overwrite any previously existing results.

function createOrUpdate(ruleId: string, workspaceId: string, resourceId: string, options?: SqlVulnerabilityAssessmentBaselineRulesCreateOrUpdateOptionalParams): Promise<RuleResults>

Parameters

ruleId

string

The rule Id.

workspaceId

string

The workspace Id.

resourceId

string

The identifier of the resource.

Returns

Promise<RuleResults>

delete(string, string, string, SqlVulnerabilityAssessmentBaselineRulesDeleteOptionalParams)

Deletes a rule from the Baseline of a given database.

function delete(ruleId: string, workspaceId: string, resourceId: string, options?: SqlVulnerabilityAssessmentBaselineRulesDeleteOptionalParams): Promise<void>

Parameters

ruleId

string

The rule Id.

workspaceId

string

The workspace Id.

resourceId

string

The identifier of the resource.

Returns

Promise<void>

get(string, string, string, SqlVulnerabilityAssessmentBaselineRulesGetOptionalParams)

Gets the results for a given rule in the Baseline.

function get(ruleId: string, workspaceId: string, resourceId: string, options?: SqlVulnerabilityAssessmentBaselineRulesGetOptionalParams): Promise<RuleResults>

Parameters

ruleId

string

The rule Id.

workspaceId

string

The workspace Id.

resourceId

string

The identifier of the resource.

Returns

Promise<RuleResults>

list(string, string, SqlVulnerabilityAssessmentBaselineRulesListOptionalParams)

Gets the results for all rules in the Baseline.

function list(workspaceId: string, resourceId: string, options?: SqlVulnerabilityAssessmentBaselineRulesListOptionalParams): Promise<RulesResults>

Parameters

workspaceId

string

The workspace Id.

resourceId

string

The identifier of the resource.

Returns

Promise<RulesResults>