Skip to content

Commit

Permalink
Generated from f4907b7e1be317fb2fb85e868f0a5f79381eb01b
Browse files Browse the repository at this point in the history
dataSource
  • Loading branch information
SDK Automation committed Jun 28, 2020
1 parent 2d98dbe commit 60d0117
Show file tree
Hide file tree
Showing 37 changed files with 950 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export {
InformationProtectionPolicy,
InformationType,
IotAlertType,
IotRecommendationType,
IoTSecurityAlertedDevice,
IoTSecurityDeviceAlert,
IoTSecurityDeviceRecommendation,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export {
InformationProtectionPolicy,
InformationType,
IotAlertType,
IotRecommendationType,
IoTSecurityAlertedDevice,
IoTSecurityDeviceAlert,
IoTSecurityDeviceRecommendation,
Expand Down
1 change: 1 addition & 0 deletions sdk/security/arm-security/src/models/alertsMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export {
InformationProtectionPolicy,
InformationType,
IotAlertType,
IotRecommendationType,
IoTSecurityAlertedDevice,
IoTSecurityDeviceAlert,
IoTSecurityDeviceRecommendation,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export {
InformationProtectionPolicy,
InformationType,
IotAlertType,
IotRecommendationType,
IoTSecurityAlertedDevice,
IoTSecurityDeviceAlert,
IoTSecurityDeviceRecommendation,
Expand Down
1 change: 1 addition & 0 deletions sdk/security/arm-security/src/models/assessmentsMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export {
InformationProtectionPolicy,
InformationType,
IotAlertType,
IotRecommendationType,
IoTSecurityAlertedDevice,
IoTSecurityDeviceAlert,
IoTSecurityDeviceRecommendation,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export {
InformationProtectionPolicy,
InformationType,
IotAlertType,
IotRecommendationType,
IoTSecurityAlertedDevice,
IoTSecurityDeviceAlert,
IoTSecurityDeviceRecommendation,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export {
InformationProtectionPolicy,
InformationType,
IotAlertType,
IotRecommendationType,
IoTSecurityAlertedDevice,
IoTSecurityDeviceAlert,
IoTSecurityDeviceRecommendation,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export {
InformationProtectionPolicy,
InformationType,
IotAlertType,
IotRecommendationType,
IoTSecurityAlertedDevice,
IoTSecurityDeviceAlert,
IoTSecurityDeviceRecommendation,
Expand Down
1 change: 1 addition & 0 deletions sdk/security/arm-security/src/models/compliancesMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export {
InformationProtectionPolicy,
InformationType,
IotAlertType,
IotRecommendationType,
IoTSecurityAlertedDevice,
IoTSecurityDeviceAlert,
IoTSecurityDeviceRecommendation,
Expand Down
1 change: 1 addition & 0 deletions sdk/security/arm-security/src/models/connectorsMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export {
InformationProtectionPolicy,
InformationType,
IotAlertType,
IotRecommendationType,
IoTSecurityAlertedDevice,
IoTSecurityDeviceAlert,
IoTSecurityDeviceRecommendation,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export {
InformationProtectionPolicy,
InformationType,
IotAlertType,
IotRecommendationType,
IoTSecurityAlertedDevice,
IoTSecurityDeviceAlert,
IoTSecurityDeviceRecommendation,
Expand Down
228 changes: 228 additions & 0 deletions sdk/security/arm-security/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1865,6 +1865,88 @@ export interface IotAlert {
extendedProperties?: any;
}

/**
* IoT recommendation type.
*/
export interface IotRecommendationType extends Resource {
/**
* The display name of the recommendation
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly recommendationDisplayName?: string;
/**
* The severity of the recommendation. Possible values include: 'Unknown', 'NotApplicable',
* 'Healthy', 'OffByPolicy', 'Low', 'Medium', 'High'
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly severity?: RecommendationSeverity;
/**
* Description of the suspected vulnerability and meaning.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly description?: string;
/**
* The name of the recommendation provider or internal partner
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly providerName?: string;
/**
* The name of the vendor that raised the recommendation
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly vendorName?: string;
/**
* The name of the recommendation's category
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly category?: string;
/**
* Manual action items to take to resolve the recommendation
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly remediationSteps?: string[];
/**
* The alert's data source
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly dataSource?: string;
}

/**
* List of recommendation types
*/
export interface IotRecommendationTypeList {
/**
* List data
*/
value?: IotRecommendationType[];
}

/**
* IoT recommendation
*/
export interface IotRecommendation {
/**
* Identifier of the device being reported on
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly deviceId?: string;
/**
* The type name of the recommendation
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly recommendationType?: string;
/**
* The discovery time of the recommendation
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly discoveredTimeUtc?: string;
/**
* A bag of fields which extends the recommendation information
*/
recommendationAdditionalData?: any;
}

/**
* Security operation display
*/
Expand Down Expand Up @@ -4434,6 +4516,24 @@ export interface IotAlertsListOptionalParams extends msRest.RequestOptionsBase {
skipToken?: string;
}

/**
* Optional Parameters.
*/
export interface IotRecommendationsListOptionalParams extends msRest.RequestOptionsBase {
/**
* Filter by recommendation type
*/
recommendationType?: string;
/**
* Limit the number of items returned in a single page
*/
limit?: number;
/**
* Skip token used for pagination
*/
skipToken?: string;
}

/**
* Optional Parameters.
*/
Expand Down Expand Up @@ -4664,6 +4764,25 @@ export interface IotAlertList extends Array<IotAlert> {
readonly totalCount?: number;
}

/**
* @interface
* List of IoT recommendations
* @extends Array<IotRecommendation>
*/
export interface IotRecommendationList extends Array<IotRecommendation> {
/**
* When available, follow the URI to get the next page of data
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly nextLink?: string;
/**
* Total count of recommendations that conforms with the given filter options (not affected by
* page size)
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly totalCount?: number;
}

/**
* @interface
* List of locations where ASC saves your data
Expand Down Expand Up @@ -5105,6 +5224,15 @@ export type AlertSeverity = 'Informational' | 'Low' | 'Medium' | 'High';
*/
export type AlertIntent = 'Unknown' | 'PreAttack' | 'InitialAccess' | 'Persistence' | 'PrivilegeEscalation' | 'DefenseEvasion' | 'CredentialAccess' | 'Discovery' | 'LateralMovement' | 'Execution' | 'Collection' | 'Exfiltration' | 'CommandAndControl' | 'Impact' | 'Probing' | 'Exploitation';

/**
* Defines values for RecommendationSeverity.
* Possible values include: 'Unknown', 'NotApplicable', 'Healthy', 'OffByPolicy', 'Low', 'Medium',
* 'High'
* @readonly
* @enum {string}
*/
export type RecommendationSeverity = 'Unknown' | 'NotApplicable' | 'Healthy' | 'OffByPolicy' | 'Low' | 'Medium' | 'High';

/**
* Defines values for AutoProvision.
* Possible values include: 'On', 'Off'
Expand Down Expand Up @@ -6481,6 +6609,106 @@ export type IotAlertsListNextResponse = IotAlertList & {
};
};

/**
* Contains response data for the list operation.
*/
export type IotRecommendationTypesListResponse = IotRecommendationTypeList & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: IotRecommendationTypeList;
};
};

/**
* Contains response data for the get operation.
*/
export type IotRecommendationTypesGetResponse = IotRecommendationType & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: IotRecommendationType;
};
};

/**
* Contains response data for the list operation.
*/
export type IotRecommendationsListResponse = IotRecommendationList & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: IotRecommendationList;
};
};

/**
* Contains response data for the get operation.
*/
export type IotRecommendationsGetResponse = IotRecommendation & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: IotRecommendation;
};
};

/**
* Contains response data for the listNext operation.
*/
export type IotRecommendationsListNextResponse = IotRecommendationList & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: IotRecommendationList;
};
};

/**
* Contains response data for the list operation.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export {
InformationProtectionPolicyList,
InformationType,
IotAlertType,
IotRecommendationType,
IoTSecurityAlertedDevice,
IoTSecurityDeviceAlert,
IoTSecurityDeviceRecommendation,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export {
InformationType,
IotAlertType,
IotAlertTypeList,
IotRecommendationType,
IoTSecurityAlertedDevice,
IoTSecurityDeviceAlert,
IoTSecurityDeviceRecommendation,
Expand Down
Loading

0 comments on commit 60d0117

Please sign in to comment.