AzSecPack - Table and Schema difference for ASM tables before GenevaMonitoringAgent 39.x.x
How is the table name and schema got changed for AzSecPack related tables after Geneva MA 39+? If so, how do we find those details? We have pipelines pulling data based on prior AzSecpack tables particularly the following 3 tables. Is there a documentation that we can look at if other tables can be used for our monitoring?
AsmSysSecurity$ AsmProcExec$ AsmSysMep$
See also questions close to this topic
How Can I Transfer The Same File To Multiple Servers With Minimal Bandwidth
I am copying the same file to about 50 Azure servers using the ansible copy task.
- copy: src: /home/myuser/project/build/fatboot.jar dest: /opt/project/fatboot.jar owner: foo group: foo mode: 0644
This uploads the same file 50 times to azure (once for each server).
Is it possible to upload it once to azure and then copy it from a remote place to the servers within azure?
Or some other way that reduces the network traffic (and hence time) from my PC?
Azure - VM snapshot restore
On hyper-v VM snapshots are easy to work with - you create it, make any changes you want, run a revert snapshot and that's it, VM is back to the snapshot state.
I want to understand if Azure has this as well? All I'm reading is around New-AzureRmSnapshot cmdlet, but I don't see a basic revert scenario. From what I found, it's all about restoring snapshot to a new vm and other scenarios, but I want a simply revert of an azure vm and be done.
Thank you for any pointers!
Azure Linux VM accessible only from our Sharepoint
We're using Sharepoint Online (Office 365). I would like to create a Linux VM on Azure to build an API that would only allow access from our Sharepoint sites through ajax requests.
Is there a way to restrict access to the Linux VM on Azure only from ajax requests from authenticated users on our Sharepoint site?
Converting SecureString stored in text file back to readable string
I'm having trouble converting a previously stored SecureString back to it's original string. I'm doing this because I believe there may have been a typo when originally entering the password.
The SecureString was initially created and stored in a text file using the following:
$SecurePassword = Read-Host -Prompt "Enter password" -AsSecureString $SecurePassword | ConvertFrom-SecureString > C:\TEMP\TEST_Secure.txt
For my application of choice (Veeam backup) I read the file containing the encrypted password and fed it back in to the application
$SecurePasswordPath = "C:\TEMP\TEST_Secure.txt" $EncryptionKey = cat $SecurePasswordPath | ConvertTo-SecureString
The Veeam backup script is actually reading it as follows:
$EncryptionKey = Add-VBREncryptionKey -Password (cat $SecurePasswordPath | ConvertTo-SecureString)
I've tried the following to try and recover the key:
$new1 = cat $SecurePasswordPath | ConvertTo-SecureString $Ptr = [System.Runtime.InteropServices.Marshal]::SecureStringToCoTaskMemUnicode($new1) $result = [System.Runtime.InteropServices.Marshal]::PtrToStringUni($Ptr) [System.Runtime.InteropServices.Marshal]::ZeroFreeCoTaskMemUnicode($Ptr)
The result of that usually is a blank field.
I've also tried the more recommended method:
$new1 = cat $SecurePasswordPath | ConvertTo-SecureString [System.Runtime.InteropServices.marshal]::PtrToStringAuto([System.Runtime.InteropServices.marshal]::SecureStringToBSTR($new1))
Each of these results in nothing being returned at all really.
My fear is that I did not follow proper syntax when creating and will not be able to recover the original key, thus not able to recover my backups.
Getting desperate here! Any help would be greatly appreciated!!
PHP - whitelist domains, know domain from which came a request
I want to build an API and need a method to authorize (not authenticate) a domain to access some informations. Like when you use a google API and you can restrict the use to a single domain, but with PHP.
Example: foo.php make a CURL poiting to bar.php bar.php check the requester (foo.php) domain and send a response accordingly.
If I wanted to use the IP, I would rely on REMOTE_ADDR server variable, but I need a domain.
I am developing an interactive chart visualisation for a consumer web portal. The graph style and functionality can be compared to the scatter plot of the fantastic https://d3js.org toolkit.
However, I am struggling with the design of the framework, especially how to securely download to the browser client any (sensitive) data feed, that should populate the chart. I definitively want to prevent that someone else is able to crawl/copy the raw data.
Is there any best practice method describing how to accomplish this ?