PostCodeSecurityCreateConfigurationForEnterprise

Struct PostCodeSecurityCreateConfigurationForEnterprise 

Source
pub struct PostCodeSecurityCreateConfigurationForEnterprise {
Show 22 fields pub name: Option<String>, pub description: Option<String>, pub advanced_security: Option<String>, pub code_security: Option<String>, pub dependency_graph: Option<String>, pub dependency_graph_autosubmit_action: Option<String>, pub dependency_graph_autosubmit_action_options: Option<EnterprisesenterprisecodesecurityconfigurationsDependencyGraphAutosubmitActionOptions>, pub dependabot_alerts: Option<String>, pub dependabot_security_updates: Option<String>, pub code_scanning_options: Option<CodeScanningOptions>, pub code_scanning_default_setup: Option<String>, pub code_scanning_default_setup_options: Option<CodeScanningDefaultSetupOptions>, pub code_scanning_delegated_alert_dismissal: Option<String>, pub secret_protection: Option<String>, pub secret_scanning: Option<String>, pub secret_scanning_push_protection: Option<String>, pub secret_scanning_validity_checks: Option<String>, pub secret_scanning_non_provider_patterns: Option<String>, pub secret_scanning_generic_secrets: Option<String>, pub secret_scanning_delegated_alert_dismissal: Option<String>, pub private_vulnerability_reporting: Option<String>, pub enforcement: Option<String>,
}

Fields§

§name: Option<String>

The name of the code security configuration. Must be unique within the enterprise.

§description: Option<String>

A description of the code security configuration

§advanced_security: Option<String>

The enablement status of GitHub Advanced Security features. enabled will enable both Code Security and Secret Protection features. > [!WARNING] > code_security and secret_protection are deprecated values for this field. Prefer the individual code_security and secret_protection fields to set the status of these features.

§code_security: Option<String>

The enablement status of GitHub Code Security features.

§dependency_graph: Option<String>

The enablement status of Dependency Graph

§dependency_graph_autosubmit_action: Option<String>

The enablement status of Automatic dependency submission

§dependency_graph_autosubmit_action_options: Option<EnterprisesenterprisecodesecurityconfigurationsDependencyGraphAutosubmitActionOptions>§dependabot_alerts: Option<String>

The enablement status of Dependabot alerts

§dependabot_security_updates: Option<String>

The enablement status of Dependabot security updates

§code_scanning_options: Option<CodeScanningOptions>§code_scanning_default_setup: Option<String>

The enablement status of code scanning default setup

§code_scanning_default_setup_options: Option<CodeScanningDefaultSetupOptions>§code_scanning_delegated_alert_dismissal: Option<String>

The enablement status of code scanning delegated alert dismissal

§secret_protection: Option<String>

The enablement status of GitHub Secret Protection features.

§secret_scanning: Option<String>

The enablement status of secret scanning

§secret_scanning_push_protection: Option<String>

The enablement status of secret scanning push protection

§secret_scanning_validity_checks: Option<String>

The enablement status of secret scanning validity checks

§secret_scanning_non_provider_patterns: Option<String>

The enablement status of secret scanning non provider patterns

§secret_scanning_generic_secrets: Option<String>

The enablement status of Copilot secret scanning

§secret_scanning_delegated_alert_dismissal: Option<String>

The enablement status of secret scanning delegated alert dismissal

§private_vulnerability_reporting: Option<String>

The enablement status of private vulnerability reporting

§enforcement: Option<String>

The enforcement status for a security configuration

Trait Implementations§

Source§

impl Clone for PostCodeSecurityCreateConfigurationForEnterprise

Source§

fn clone(&self) -> PostCodeSecurityCreateConfigurationForEnterprise

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PostCodeSecurityCreateConfigurationForEnterprise

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for PostCodeSecurityCreateConfigurationForEnterprise

Source§

fn default() -> PostCodeSecurityCreateConfigurationForEnterprise

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for PostCodeSecurityCreateConfigurationForEnterprise

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for PostCodeSecurityCreateConfigurationForEnterprise

Source§

fn eq(&self, other: &PostCodeSecurityCreateConfigurationForEnterprise) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for PostCodeSecurityCreateConfigurationForEnterprise

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for PostCodeSecurityCreateConfigurationForEnterprise

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,